1 | //␊ |
2 | // SmbiosExtractor.h␊ |
3 | // ChameleonPrefPane␊ |
4 | //␊ |
5 | // Created by Rekursor on 11-11-27.␊ |
6 | //␊ |
7 | ␊ |
8 | #import <Foundation/Foundation.h>␊ |
9 | ␊ |
10 | ␊ |
11 | @interface SmbiosExtractor : NSObject {␊ |
12 | ␉UInt8* buffer;␉␊ |
13 | ␉NSUInteger bufSize;␊ |
14 | ␉NSString* smString;␊ |
15 | ␉NSMutableDictionary* content;␊ |
16 | }␊ |
17 | ␊ |
18 | @property (retain) NSMutableDictionary* content;␊ |
19 | @property (retain) NSString* smString;␊ |
20 | @property NSUInteger bufSize;␊ |
21 | ␊ |
22 | -(NSUInteger) extractSmBios;␊ |
23 | -(void) decodeSMBIOSTableFrom:(uint8_t *) ptr to: (uint8_t*) end;␊ |
24 | ␊ |
25 | -(NSString*) stringFrom:(NSUInteger) start withLen:(NSUInteger) len;␊ |
26 | -(UInt8) ByteFrom:(NSUInteger) position;␊ |
27 | -(BOOL) save:(NSString*) path;␊ |
28 | @end␊ |
29 | |