"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "include/GParted_Core.h" between
gparted-1.2.0.tar.gz and gparted-1.3.0.tar.gz

About: GParted is a graphical partition editor for creating, reorganizing, and deleting disk partitions (using GNU libparted).

GParted_Core.h  (gparted-1.2.0):GParted_Core.h  (gparted-1.3.0)
skipping to change at line 84 skipping to change at line 84
static void insert_unallocated( const Glib::ustring & device_path, static void insert_unallocated( const Glib::ustring & device_path,
PartitionVector & partitions, PartitionVector & partitions,
Sector start, Sector start,
Sector end, Sector end,
Byte_Value sector_size, Byte_Value sector_size,
bool inside_extended ); bool inside_extended );
private: private:
//detectionstuff.. //detectionstuff..
void set_thread_status_message( Glib::ustring msg ) ; void set_thread_status_message( Glib::ustring msg ) ;
static Glib::ustring get_partition_path( PedPartition * lp_partition ); static Glib::ustring get_partition_path(const PedPartition *lp_partition) ;
void set_device_from_disk( Device & device, const Glib::ustring & device_ path ); void set_device_from_disk( Device & device, const Glib::ustring & device_ path );
void set_device_serial_number( Device & device ); void set_device_serial_number( Device & device );
void set_device_partitions( Device & device, PedDevice* lp_device, PedDis k* lp_disk ) ; void set_device_partitions( Device & device, PedDevice* lp_device, PedDis k* lp_disk ) ;
void set_device_one_partition( Device & device, PedDevice * lp_device, FS Type fstype, void set_device_one_partition( Device & device, PedDevice * lp_device, FS Type fstype,
std::vector<Glib::ustring> & messages ); std::vector<Glib::ustring> & messages );
void set_luks_partition( PartitionLUKS & partition ); void set_luks_partition( PartitionLUKS & partition );
void set_partition_label_and_uuid( Partition & partition ); void set_partition_label_and_uuid( Partition & partition );
static FSType detect_filesystem_in_encryption_mapping(const Glib::ustring
& path,
std::vector<Glib::u
string>& messages);
static FSType detect_filesystem_internal(const Glib::ustring& path, Byte_ Value sector_size); static FSType detect_filesystem_internal(const Glib::ustring& path, Byte_ Value sector_size);
static FSType detect_filesystem( PedDevice * lp_device, PedPartition * lp static FSType detect_filesystem(const PedDevice *lp_device, const PedPart
_partition, ition *lp_partition,
std::vector<Glib::ustring> & messages ); std::vector<Glib::ustring> &messages);
void read_label( Partition & partition ) ; void read_label( Partition & partition ) ;
void read_uuid( Partition & partition ) ; void read_uuid( Partition & partition ) ;
void set_mountpoints( Partition & partition ); void set_mountpoints( Partition & partition );
bool set_mountpoints_helper( Partition & partition, const Glib::ustring & path ); bool set_mountpoints_helper( Partition & partition, const Glib::ustring & path );
bool is_busy( FSType fstype, const Glib::ustring & path ); bool is_busy( FSType fstype, const Glib::ustring & path );
void set_used_sectors( Partition & partition, PedDisk* lp_disk ); void set_used_sectors( Partition & partition, PedDisk* lp_disk );
void mounted_fs_set_used_sectors(Partition& partition); void mounted_fs_set_used_sectors(Partition& partition);
#ifdef HAVE_LIBPARTED_FS_RESIZE #ifdef HAVE_LIBPARTED_FS_RESIZE
void LP_set_used_sectors( Partition & partition, PedDisk* lp_disk ) ; void LP_set_used_sectors( Partition & partition, PedDisk* lp_disk ) ;
#endif #endif
skipping to change at line 222 skipping to change at line 224
OperationDetail & operationdetail ) ; OperationDetail & operationdetail ) ;
bool update_dmraid_entry( const Partition & partition_new, OperationDetai l & operationdetail ); bool update_dmraid_entry( const Partition & partition_new, OperationDetai l & operationdetail );
bool erase_filesystem_signatures( const Partition & partition, OperationD etail & operationdetail ) ; bool erase_filesystem_signatures( const Partition & partition, OperationD etail & operationdetail ) ;
bool update_bootsector( const Partition & partition, OperationDetail & op erationdetail ) ; bool update_bootsector( const Partition & partition, OperationDetail & op erationdetail ) ;
//general.. //general..
void capture_libparted_messages( OperationDetail & operationdetail, bool success ); void capture_libparted_messages( OperationDetail & operationdetail, bool success );
static bool flush_device( PedDevice * lp_device ); static bool flush_device( PedDevice * lp_device );
static bool get_device( const Glib::ustring & device_path, PedDevice *& l p_device, bool flush = false ); static bool get_device( const Glib::ustring & device_path, PedDevice *& l p_device, bool flush = false );
static bool get_disk( PedDevice *& lp_device, PedDisk *& lp_disk, bool st static bool get_disk(PedDevice *lp_device, PedDisk*& lp_disk);
rict = true ); static bool get_device_and_disk(const Glib::ustring& device_path,
static bool get_device_and_disk( const Glib::ustring & device_path, PedDevice*& lp_device, PedDisk*& lp_disk,
PedDevice*& lp_device, PedDisk*& lp_disk bool flush = false);
, bool strict = true, bool flush = false );
static void destroy_device_and_disk( PedDevice*& lp_device, PedDisk*& lp_ disk ); static void destroy_device_and_disk( PedDevice*& lp_device, PedDisk*& lp_ disk );
static bool commit( PedDisk* lp_disk ); static bool commit( PedDisk* lp_disk );
static bool commit_to_os( PedDisk* lp_disk, std::time_t timeout ); static bool commit_to_os( PedDisk* lp_disk, std::time_t timeout );
static void settle_device( std::time_t timeout ); static void settle_device( std::time_t timeout );
static bool useable_device(const PedDevice* lp_device); static bool useable_device(const PedDevice* lp_device);
static PedPartition* get_lp_partition( const PedDisk* lp_disk, const Part ition & partition ); static PedPartition* get_lp_partition( const PedDisk* lp_disk, const Part ition & partition );
static PedExceptionOption ped_exception_handler( PedException * e ) ; static PedExceptionOption ped_exception_handler( PedException * e ) ;
std::vector<PedPartitionFlag> flags; std::vector<PedPartitionFlag> flags;
 End of changes. 4 change blocks. 
9 lines changed or deleted 12 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)