LOSoftPatch.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036 #import <Cocoa/Cocoa.h>
00037 @class LOHWBridge;
00038 @class LOHWChannelProxy;
00039
00040
00054 @interface LOSoftPatch : NSObject
00055 {
00056 NSMutableArray *hwBridges;
00057 unsigned count;
00058 LOHWChannelProxy **proxyArray;
00059 }
00060
00061
00072 - (id)initUniverseWithHWBridge:(LOHWBridge *)aHWBridge;
00073
00074
00082 - (id)initWithCapacity:(unsigned)theCapacity;
00083
00084
00100 - (NSXMLElement *)XMLForOffset:(unsigned)anOffset;
00101
00102
00110 - (unsigned)count;
00111
00112
00120 - (NSArray *)hwBridges;
00121
00122
00134 - (NSString *)identifierForOffset:(unsigned)anOffset;
00135
00136
00150 - (NSString *)identifierWithPhysicalForOffset:(unsigned)anOffset;
00151
00152
00165 - (NSString *)physicalAddressForOffset:(unsigned)anOffset;
00166
00167
00180 - (unsigned)physicalForOffset:(unsigned)anOffset;
00181
00182
00192 - (void)setProxy:(LOHWChannelProxy *)aProxy forOffset:(unsigned)anOffset;
00193
00194
00204 - (void)addProxy:(LOHWChannelProxy *)aProxy forOffset:(unsigned)anOffset;
00205
00206
00216 - (LOHWChannelProxy *)proxyForOffset:(unsigned)anOffset;
00217
00218
00232 - (void)setPatchForOffset:(unsigned)anOffset toPhysicalChannel:(unsigned)aChannel onHWBridge:(LOHWBridge *)aHWBridge;
00233
00234
00249 - (void)addPatchForOffset:(unsigned)anOffset toPhysicalChannel:(unsigned)aChannel onHWBridge:(LOHWBridge *)aHWBridge;
00250
00251
00262 - (void)updateOffset:(unsigned)anOffset withValue:(unsigned char)theValue;
00263
00264
00279 - (void)removeProxy:(LOHWChannelProxy *)proxy atOffset:(unsigned)anOffset;
00280
00281
00291 - (void)unpatchForOffset:(unsigned)anOffset;
00292
00293
00301 - (void)unpatch;
00302
00303
00312 - (BOOL)isPatchedAtOffset:(unsigned)anOffset;
00313
00314
00315 #pragma mark Deprecated Functions
00316
00322 - (NSString *)serialNumberForOffset:(unsigned)anOffset;
00323
00324
00330 - (NSString *)serialNumberWithPhysicalForOffset:(unsigned)anOffset;
00331
00332
00333 @end
00334
00335
00336
00337
00338
00339
00340
00341
00342
00343
00344
00345
00346
00347
00348