InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
SCID.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Timothy Brand-Spencer
6 //
7 // $Author$
8 //
9 // $DateTime$
10 //
11 // $Revision$
12 //
13 // $Change$
14 //
15 // Copyright 1997-2012 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 
25 #ifndef __SCID_h__
26 #define __SCID_h__
27 
28 #include "SDKDef.h"
29 
30 // Company:
31 #define kSCCompanyKey kSDKDefPlugInCompanyKey // Company name used internally for menu paths and the like. Must be globally unique, only A-Z, 0-9, space and "_".
32 #define kSCCompanyValue kSDKDefPlugInCompanyValue // Company name displayed externally.
33 
34 // Plug-in:
35 #define kSCPluginName "ScriptingComms.sdk" // Name of this plug-in.
36 #define kSCPrefixNumber 0x1D7900 // Unique prefix number for this plug-in(*Must* be obtained from Adobe Developer Support).
37 #define kSCVersion kSDKDefPluginVersionString // Version of this plug-in (for the About Box).
38 #define kSCAuthor "Timothy Brand-Spencer" // Author of this plug-in (for the About Box).
39 
40 // Plug-in Prefix: (please change kSCPrefixNumber above to modify the prefix.)
41 #define kSCPrefix RezLong(kSCPrefixNumber) // The unique numeric prefix for all object model IDs for this plug-in.
42 #define kSCStringPrefix SDK_DEF_STRINGIZE(kSCPrefixNumber) // The string equivalent of the unique prefix number for this plug-in.
43 
44 // Missing plug-in: (see ExtraPluginInfo resource)
45 #define kSCMissingPluginURLValue kSDKDefPartnersStandardValue_enUS // URL displayed in Missing Plug-in dialog
46 #define kSCMissingPluginAlertValue kSDKDefMissingPluginAlertValue // Message displayed in Missing Plug-in dialog - provide a string that instructs user how to solve their missing plug-in problem
47 
48 // PluginID:
49 
50 // ClassIDs:
51 
52 // InterfaceIDs:
53 
54 // ImplementationIDs:
55 
56 // ActionIDs:
57 
58 // WidgetIDs:
59 
60 //Script Element IDs
61 
62 // "About Plug-ins" sub-menu:
63 #define kSCAboutMenuKey kSCStringPrefix "kSCAboutMenuKey"
64 #define kSCAboutMenuPath kSDKDefStandardAboutMenuPath kSCCompanyKey
65 
66 // "Plug-ins" sub-menu:
67 #define kSCPluginsMenuKey kSCStringPrefix "kSCPluginsMenuKey"
68 #define kSCPluginsMenuPath kSDKDefPlugInsStandardMenuPath kSCCompanyKey kSDKDefDelimitMenuPath kSCPluginsMenuKey
69 
70 // Menu item keys:
71 
72 // Other StringKeys:
73 #define kSCAboutBoxStringKey kSCStringPrefix "kSCAboutBoxStringKey"
74 #define kSCTargetMenuPath kSCPluginsMenuPath
75 #define kSCMessageStringKey kSCStringPrefix "kSCMessageStringKey"
76 
77 // Initial data format version numbers
78 #define kSCFirstMajorFormatNumber RezLong(1)
79 #define kSCFirstMinorFormatNumber RezLong(0)
80 
81 // Data format version numbers for the PluginVersion resource
82 #define kSCCurrentMajorFormatNumber kSCFirstMajorFormatNumber
83 #define kSCCurrentMinorFormatNumber kSCFirstMinorFormatNumber
84 
85 #endif // __SCID_h__