source: trunk/Cocoa/F-Script Anywhere/Source/SCPatch/Common/SCPatchMessages.h@ 330

Last change on this file since 330 was 153, checked in by Nicholas Riley, 21 years ago

Integrates SCPatch and mach_inject; unfinished, buggy.

File size: 841 bytes
RevLine 
[153]1#pragma once
2
3// Messages sent by SCPatch components must all be of type kSCMessageClass.
4// All lowercase message ID's are reserved for internal library use. Define
5// any messages of your own using upper or mixed case AE ID's.
6#define kSCMessageClass 'SCmg'
7
8
9// Ping:
10// controller -> client to test for existence of patch
11#define kSCPing 'ping'
12// no params
13
14
15// LoadResult:
16// loader -> controller to notify of status of patch loading
17#define kSCLoadResult 'load'
18#define keyBundleID 'bndl' // typeChar - bundleID of patch
19#define keyError 'err ' // typeInteger - error code (mach_error_t)
20
21
22// PatchSuccess:
23// client -> controller to notify it of successful patch installation
24// and initialization.
25#define kSCPatchSuccess 'p_ok'
26// keyBundleID 'bndl' // typeChar
27#define keyPSN 'proc' // typeProcessSerialNumber
Note: See TracBrowser for help on using the repository browser.