InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
AppFrameworkID.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner:
6 //
7 // $Author$
8 //
9 // $DateTime$
10 //
11 // $Revision$
12 //
13 // $Change$
14 //
15 // Copyright 1997-2010 Adobe Systems Incorporated. All rights reserved.
16 //
17 // NOTICE: Adobe permits you to use, modify, and distribute this file in accordance
18 // with the terms of the Adobe license agreement accompanying it. If you have received
19 // this file from a source other than Adobe, then your use, modification, or
20 // distribution of it requires the prior written permission of Adobe.
21 //
22 //========================================================================================
23 
24 #ifndef __AppFrameworkID__
25 #define __AppFrameworkID__
26 
27 #include "CrossPlatformTypes.h"
28 #include "GUID.h"
29 #include "IDFactory.h"
30 
31 #define kAppFrameworkPrefix RezLong(0x16100) // see AdobePrefix.h
32 
33 
34 // PluginID
35 #define kAppFrameworkPluginName "AppFramework"
36 
37 
38 // <Class ID>
39 // ClassIDs
40 
41 // <Interface ID>
42 // IIDs
43 #ifdef DEBUG
44 #endif // DEBUG
45 // -- The ID for this interface is defined here but there two separate implementations.
46 // -- One is in AppUI for the client and the other is in SoapServer for the server.
47 // <Implementation ID>
48 // ImplementationIDs
49 #ifdef DEBUG
50 #endif // DEBUG
51 //gap
52 // <Message ID>
53 
54 // <Service ID>
55 
56 // Service IDs
57 // Error Codes
58 
59 // <Error ID>
60 
61 // InvalHandlerTypeID
62 
63 // <Ignore>
64 
65 
66 // <Global ID>
67 // ActionIDs
68 
69 // <ViewPortAttr ID>
70 // ViewPortAttrIDs
71 
72 //
73 //Script Element IDs
74 //
75 
76 //Suites
77 
78 //Objects
79 
80 //Events
81 
82 //Methods
83 
84 
85 //Functions
86 
87 //Metadata
88 
89 //Properties
90 //gap
91 
92 //Enums
93 
94 //ScriptIDs
95 enum AppFrameworkScriptIDs
96 {
97  c_BackgroundTask = 'cBKT',
98  c_BackgroundTasks = 'cBTs',
99  e_FindKeyStrings = 'eFKS',
100  e_TranslateKeyString = 'eTKS',
101  e_ResolveSpecifier = 'RSpc',
102  e_CancelBackgroundTask = 'TCbt',
103  e_CancelAllBackgroundTasks = 'TCAt',
104  e_WaitForBackgroundTask = 'TWbt',
105  e_WaitForAllBackgroundTasks = 'TWAt',
106  e_QueryBackgroundTaskInfo = 'TQin',
107  e_SetApplicationPreferences = 'sApp',
108 
109  e_BeforeQuit = 'eBQu',
110  e_AfterQuit = 'eAQu',
111 
112  p_SerialNumber = 'SeNu',
113  p_PercentDone = 'pDon',
114  p_DocumentName = 'pDcN',
115  p_OpenOption = 'pOpp',
116  p_Alerts = 'pAlr',
117  p_ApplicationPreferencesSet = 'pApp',
118 
119  p_ServerAdminPort = 'pSaP',
120  p_ServerHostName = 'pShN',
121 
122  en_OpenOptions = 'OpOp',
123  en_OpenOriginal = 'OpOr',
124  en_OpenCopy = 'OpCp',
125 
126  en_TaskState = 'enTS',
127  en_Queued = 'eQue',
128  en_Running = 'eTru',
129  en_Waiting = 'eWat',
130  en_Cancelling = 'eTca',
131  en_Completed = 'eTcp',
132  en_Cancelled = 'eTcl',
133 
134  en_TaskAlertType = 'enTA',
135  en_InformationMsg = 'eIMs',
136  en_WarningMsg = 'eWMs',
137  en_ErrorMsg = 'eEMs',
138  en_LanguageRegion = 'eLnR',
139 
140  // InDesign Server
141  e_ConsoleOut = 'cnso',
142  e_ConsoleErr = 'cnse',
143  p_Message = 'MSge',
144  e_ClearAllErrors = 'clae',
145  p_recoveryParam = 'rcvp',
146 } ;
147 
148 //GUIDS
149 // {ABD4CBB2-0CFE-11d1-801D-0060B03C02E4}
150 #define k_Application_CLSID { 0xabd4cbb2, 0xcfe, 0x11d1, { 0x80, 0x1d, 0x0, 0x60, 0xb0, 0x3c, 0x2, 0xe4 } }
151 DECLARE_GUID( _Application_CLSID, k_Application_CLSID ) ; //Use DECLARE_GUID for any GUID that is referenced in C++ code
152 // {296CAEB5-C99C-4b3e-9359-6E7D6EAE71FC}
153 #define kIDApplication_CLSID { 0x296caeb5, 0xc99c, 0x4b3e, { 0x93, 0x59, 0x6e, 0x7d, 0x6e, 0xae, 0x71, 0xfc } }
154 DECLARE_GUID( IDApplication_CLSID, kIDApplication_CLSID ) ; //Use DECLARE_GUID for any GUID that is referenced in C++ code
155 // {CAC1EF5D-EFF1-4f16-B67D-54E603F31FAE}
156 #define kICApplication_CLSID { 0xcac1ef5d, 0xeff1, 0x4f16, { 0xb6, 0x7d, 0x54, 0xe6, 0x3, 0xf3, 0x1f, 0xae } }
157 DECLARE_GUID( ICApplication_CLSID, kICApplication_CLSID ) ; //Use DECLARE_GUID for any GUID that is referenced in C++ code
158 
159 // {D5F580C2-0126-4256-87EA-06444945B78E}
160 #define kBackgroundTask_CLSID { 0xd5f580c2, 0x126, 0x4256, { 0x87, 0xea, 0x6, 0x44, 0x49, 0x45, 0xb7, 0x8e } }
161 // {381D8C13-E90F-4b4b-9A2D-30DAEF628D05}
162 #define kBackgroundTasks_CLSID { 0x381d8c13, 0xe90f, 0x4b4b, { 0x9a, 0x2d, 0x30, 0xda, 0xef, 0x62, 0x8d, 0x5 } }
163 
164 #endif //__AppFrameworkID__