Chameleon Applications

Chameleon Applications Commit Details

Date:2011-11-16 07:46:22 (12 years 5 months ago)
Author:Rekursor
Commit:347
Parents: 346
Message:fixed set api no impl.
Changes:
M/trunk/ChameleonPrefPane/Sources/PartitionInfoElement.h
M/trunk/ChameleonPrefPane/Sources/PartitionInfoElement.mm

File differences

trunk/ChameleonPrefPane/Sources/PartitionInfoElement.h
5353
5454
5555
56
57
5658
5759
5860
-(int) diskNumber;
-(int) partitionNumber;
-(void) setDiskNumber:(int) d;
-(void) setPartitionNumber:(int)p;
-(NSString*) hdString;
-(NSString*) description;
trunk/ChameleonPrefPane/Sources/PartitionInfoElement.mm
6565
6666
6767
68
69
70
71
72
73
74
75
76
6877
6978
7079
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
{

Archive Download the corresponding diff file

Revision: 347