InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
BscMnuID.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Adobe Developer Technologies
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 // Defines IDs used by the BscMnu plug-in.
24 //
25 //========================================================================================
26 
27 #ifndef __BscMnuID_h__
28 #define __BscMnuID_h__
29 
30 #include "SDKDef.h"
31 
32 // Company:
33 #define kBscMnuCompanyKey kSDKDefPlugInCompanyKey // Company name used internally for menu paths and the like. Must be globally unique, only A-Z, 0-9, space and "_".
34 #define kBscMnuCompanyValue kSDKDefPlugInCompanyValue // Company name displayed externally.
35 
36 // Plug-in:
37 #define kBscMnuPluginName "BasicMenu" // Name of this plug-in.
38 #define kBscMnuPrefixNumber 0x57200 // Unique prefix number for this plug-in(*Must* be obtained from Adobe Developer Support).
39 #define kBscMnuVersion kSDKDefPluginVersionString // Version of this plug-in (for the About Box).
40 #define kBscMnuAuthor "Adobe Developer Technologies" // Author of this plug-in (for the About Box).
41 
42 // Plug-in Prefix: (please change kBscMnuPrefixNumber above to modify the prefix.)
43 #define kBscMnuPrefix RezLong(kBscMnuPrefixNumber) // The unique numeric prefix for all object model IDs for this plug-in.
44 #define kBscMnuStringPrefix SDK_DEF_STRINGIZE(kBscMnuPrefixNumber) // The string equivalent of the unique prefix number for this plug-in.
45 
46 // PluginID:
47 
48 // ClassIDs:
49 
50 // InterfaceIDs:
51 
52 // ImplementationIDs:
53 
54 // ActionIDs:
55 // WidgetIDs:
56 
57 // "About Plug-ins" sub-menu:
58 #define kBscMnuAboutMenuKey kBscMnuStringPrefix "kBscMnuAboutMenuKey"
59 #define kBscMnuAboutMenuPath kSDKDefStandardAboutMenuPath kBscMnuCompanyKey
60 
61 // "Plug-ins" sub-menu:
62 #define kBscMnuPluginsMenuKey kBscMnuStringPrefix "kBscMnuPluginsMenuKey"
63 #define kBscMnuPluginsMenuPath kSDKDefPlugInsStandardMenuPath kBscMnuCompanyKey kSDKDefDelimitMenuPath kBscMnuPluginsMenuKey
64 
65 // Menu item keys:
66 #define kBscMnuAlwaysOnMenuItemKey kBscMnuStringPrefix "kBscMnuAlwaysOnMenuItemKey"
67 #define kBscMnuOnIfFrontDocMenuItemKey kBscMnuStringPrefix "kBscMnuOnIfFrontDocMenuItemKey"
68 #define kBscMnuNeedsSelectionMenuItemKey kBscMnuStringPrefix "kBscMnuNeedsSelectionMenuItemKey"
69 
70 // Other StringKeys:
71 #define kBscMnuAboutBoxStringKey kBscMnuStringPrefix "kBscMnuAboutBoxStringKey"
72 #define kBscMnuAlwaysOnStringKey kBscMnuStringPrefix "kBscMnuAlwaysOnStringKey"
73 #define kBscMnuOnIfFrontDocStringKey kBscMnuStringPrefix "kBscMnuOnIfFrontDocStringKey"
74 #define kBscMnuNeedsSelectionStringKey kBscMnuStringPrefix "kBscMnuNeedsSelectionStringKey_"
75 
76 #define kBscMnuTargetMenuPath kBscMnuPluginsMenuPath
77 
78 // Menu item positions:
79 #define kBscMnuAlwaysOnMenuItemPosition 1.0
80 #define kBscMnuOnIfFrontDocMenuItemPosition 2.0
81 #define kBscMnuNeedsSelectionMenuItemPosition 3.0
82 
83 // Initial data format version numbers
84 #define kBscMnuFirstMajorFormatNumber kSDKDef_30_PersistMajorVersionNumber
85 #define kBscMnuFirstMinorFormatNumber kSDKDef_30_PersistMinorVersionNumber
86 
87 // Data format version numbers for the PluginVersion resource
88 #define kBscMnuCurrentMajorFormatNumber kBscMnuFirstMajorFormatNumber // most recent major format change
89 #define kBscMnuCurrentMinorFormatNumber kBscMnuFirstMinorFormatNumber // most recent minor format change
90 
91 #endif // __BscMnuID_h__
92 
93 // End, BscMnuID.h.
94 
95 
96