Last change
on this file since 221 was 153, checked in by Nicholas Riley, 21 years ago |
Integrates SCPatch and mach_inject; unfinished, buggy.
|
File size:
629 bytes
|
Rev | Line | |
---|
[153] | 1 | #pragma once
|
---|
| 2 | #include <Carbon/Carbon.h>
|
---|
| 3 |
|
---|
| 4 | class SCPatchRecord
|
---|
| 5 | {
|
---|
| 6 | public:
|
---|
| 7 | SCPatchRecord(CFBundleRef ownerBundle, CFStringRef bundleIdentifier, CFStringRef subPath, CFStringRef name);
|
---|
| 8 | SCPatchRecord(SCPatchRecord const ©Me);
|
---|
| 9 | ~SCPatchRecord(void);
|
---|
| 10 |
|
---|
| 11 | CFStringRef GetIdentifier(void) { return mBundleIdentifier; }
|
---|
| 12 | CFStringRef GetName(void) { return mName; }
|
---|
| 13 | CFStringRef GetPath(void) { return mPath; }
|
---|
| 14 | CFURLRef GetURL(void) { return mURL; }
|
---|
| 15 |
|
---|
| 16 | private:
|
---|
| 17 | CFStringRef mBundleIdentifier;
|
---|
| 18 | CFStringRef mSubPath;
|
---|
| 19 | CFStringRef mName;
|
---|
| 20 | CFStringRef mPath;
|
---|
| 21 | CFURLRef mURL;
|
---|
| 22 |
|
---|
| 23 | };
|
---|
| 24 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.