Index: trunk/ChameleonPrefPane/Sources/PartitionInfoElement.h =================================================================== --- trunk/ChameleonPrefPane/Sources/PartitionInfoElement.h (revision 346) +++ trunk/ChameleonPrefPane/Sources/PartitionInfoElement.h (revision 347) @@ -53,6 +53,8 @@ -(int) diskNumber; -(int) partitionNumber; +-(void) setDiskNumber:(int) d; +-(void) setPartitionNumber:(int)p; -(NSString*) hdString; -(NSString*) description; Index: trunk/ChameleonPrefPane/Sources/PartitionInfoElement.mm =================================================================== --- trunk/ChameleonPrefPane/Sources/PartitionInfoElement.mm (revision 346) +++ trunk/ChameleonPrefPane/Sources/PartitionInfoElement.mm (revision 347) @@ -65,6 +65,15 @@ return [NSString stringWithFormat:@"hd(%d,%d)", diskNum, partNum]; } +-(void) setDiskNumber: (int) d +{ + diskNum = d; +} + +-(void) setPartitionNumber:(int) p +{ + partNum = p; +} /// return true if partition extraction successfully executed, false otherwise -(bool) isValid {