gparted r1069 - in trunk: . include src



Author: gedakc
Date: Mon Feb 16 19:37:27 2009
New Revision: 1069
URL: http://svn.gnome.org/viewvc/gparted?rev=1069&view=rev

Log:
Added strict_start indicator

Modified:
   trunk/ChangeLog
   trunk/include/Partition.h
   trunk/src/Partition.cc

Modified: trunk/include/Partition.h
==============================================================================
--- trunk/include/Partition.h	(original)
+++ trunk/include/Partition.h	Mon Feb 16 19:37:27 2009
@@ -1,4 +1,4 @@
-/* Copyright (C) 2004, 2005, 2006, 2007, 2008 Bart Hakvoort
+/* Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Bart Hakvoort
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
@@ -112,7 +112,8 @@
 	
 	std::vector<Partition> logicals ;
 
-	bool strict ;
+	bool strict ;		//Indicator if start and end sectors must stay unchanged
+	bool strict_start ;	//Indicator if start sector must stay unchanged
 	
 private:
 	void sort_paths_and_remove_duplicates() ;

Modified: trunk/src/Partition.cc
==============================================================================
--- trunk/src/Partition.cc	(original)
+++ trunk/src/Partition.cc	Mon Feb 16 19:37:27 2009
@@ -1,4 +1,4 @@
-/* Copyright (C) 2004, 2005, 2006, 2007, 2008 Bart Hakvoort
+/* Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Bart Hakvoort
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
@@ -43,7 +43,7 @@
 	uuid .clear() ;
 	partition_number = sector_start = sector_end = sectors_used = sectors_unused = -1;
 	color .set( "black" ) ;
-	inside_extended = busy = strict = false ;
+	inside_extended = busy = strict = strict_start = false ;
 	logicals .clear() ;
 	flags .clear() ;
 	mountpoints .clear() ;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]