Added strict_start indicator

svn path=/trunk/; revision=1069
This commit is contained in:
Curtis Gedak 2009-02-16 19:37:27 +00:00
parent 8ecd83cd0a
commit ad078627d5
3 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2009-02-16 Curtis Gedak <gedakc@gmail.com>
* include/Partition.h,
src/Partition.cc: Added strict_start indicator.
2009-02-13 Curtis Gedak <gedakc@gmail.com> 2009-02-13 Curtis Gedak <gedakc@gmail.com>
* configure.in: Append -svn to version for continuing development * configure.in: Append -svn to version for continuing development

View File

@ -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 * 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 * it under the terms of the GNU General Public License as published by
@ -112,7 +112,8 @@ public:
std::vector<Partition> logicals ; 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: private:
void sort_paths_and_remove_duplicates() ; void sort_paths_and_remove_duplicates() ;

View File

@ -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 * 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 * it under the terms of the GNU General Public License as published by
@ -43,7 +43,7 @@ void Partition::Reset()
uuid .clear() ; uuid .clear() ;
partition_number = sector_start = sector_end = sectors_used = sectors_unused = -1; partition_number = sector_start = sector_end = sectors_used = sectors_unused = -1;
color .set( "black" ) ; color .set( "black" ) ;
inside_extended = busy = strict = false ; inside_extended = busy = strict = strict_start = false ;
logicals .clear() ; logicals .clear() ;
flags .clear() ; flags .clear() ;
mountpoints .clear() ; mountpoints .clear() ;