~ubuntu-branches/ubuntu/intrepid/gparted/intrepid

« back to all changes in this revision

Viewing changes to include/FileSystem.h

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Holbach
  • Date: 2007-05-18 09:24:46 UTC
  • mfrom: (1.2.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20070518092446-qog6ipxs9ah78q0c
Tags: 0.3.3-2ubuntu1
* Resynchronized with Debian, remaining Ubuntu changes:
  - debian/control:
    - Maintainer: Ubuntu Core Developers
      <ubuntu-devel-discuss@lists.ubuntu.com> 
    - don't depend on menu.

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
        virtual ~FileSystem() {}
35
35
 
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 ;
46
 
        
47
 
        Sector cylinder_size ; //see GParted_Core::resize()
 
45
                           OperationDetail & operationdetail ) = 0 ;
 
46
        virtual bool check_repair( const Partition & partition, OperationDetail & operationdetail ) = 0 ;
48
47
        
49
48
protected:
50
 
        int execute_command( const Glib::ustring & command, std::vector<OperationDetails> & operation_details ) ;
 
49
        int execute_command( const Glib::ustring & command, OperationDetail & operationdetail ) ;
51
50
 
52
51
        //those are used in several places..
53
52
        Glib::ustring output, error ;