source: trunk/appswitch/appswitch/CPS.h@ 345

Last change on this file since 345 was 345, checked in by Nicholas Riley, 17 years ago

VERSION: Updated for 1.1d2.

CPS.h: Remove unused definitions. typedef ProcessSerialNumber CPSProcessSerNum to eliminate warnings.

main.c: Updated for 1.1d2. Remove getInfoCString because it depends on undocumented C behavior that broke in Leopard; replace with ugly CFString code because CFStringCreateWithFormat is stupid. Add Radar references.

README: Updated for 1.1d2 and new compiler. Add Radar references.

File size: 634 bytes
Line 
1// CPS.h
2
3#pragma once
4
5#include <ApplicationServices/ApplicationServices.h>
6
7
8#ifdef __cplusplus
9extern "C" {
10#endif
11
12#if PRAGMA_STRUCT_ALIGN
13 #pragma options align=mac68k
14#elif PRAGMA_STRUCT_PACKPUSH
15 #pragma pack(push, 2)
16#elif PRAGMA_STRUCT_PACK
17 #pragma pack(2)
18#endif
19
20
21typedef ProcessSerialNumber CPSProcessSerNum;
22
23extern OSErr CPSPostHideMostReq( CPSProcessSerNum *psn);
24
25extern OSErr CPSPostShowAllReq( CPSProcessSerNum *psn);
26
27#if PRAGMA_STRUCT_ALIGN
28 #pragma options align=reset
29#elif PRAGMA_STRUCT_PACKPUSH
30 #pragma pack(pop)
31#elif PRAGMA_STRUCT_PACK
32 #pragma pack()
33#endif
34
35#ifdef __cplusplus
36}
37#endif
Note: See TracBrowser for help on using the repository browser.