34
34
virtual ~FileSystem() {}
36
36
virtual FS get_filesystem_support() = 0 ;
37
virtual void Set_Used_Sectors( Partition & partition ) = 0 ;
38
virtual bool Create( const Partition & new_partition, std::vector<OperationDetails> & operation_details ) = 0 ;
39
virtual bool Resize( const Partition & partition_new,
40
std::vector<OperationDetails> & operation_details,
37
virtual void set_used_sectors( Partition & partition ) = 0 ;
38
virtual void get_label( Partition & partition ) = 0 ;
39
virtual bool create( const Partition & new_partition, OperationDetail & operationdetail ) = 0 ;
40
virtual bool resize( const Partition & partition_new,
41
OperationDetail & operationdetail,
41
42
bool fill_partition = false ) = 0 ;
42
virtual bool Copy( const Glib::ustring & src_part_path,
43
virtual bool copy( const Glib::ustring & src_part_path,
43
44
const Glib::ustring & dest_part_path,
44
std::vector<OperationDetails> & operation_details ) = 0 ;
45
virtual bool Check_Repair( const Partition & partition, std::vector<OperationDetails> & operation_details ) = 0 ;
47
Sector cylinder_size ; //see GParted_Core::resize()
45
OperationDetail & operationdetail ) = 0 ;
46
virtual bool check_repair( const Partition & partition, OperationDetail & operationdetail ) = 0 ;
50
int execute_command( const Glib::ustring & command, std::vector<OperationDetails> & operation_details ) ;
49
int execute_command( const Glib::ustring & command, OperationDetail & operationdetail ) ;
52
51
//those are used in several places..
53
52
Glib::ustring output, error ;