InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
TKIID.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 #ifndef __TKIID_h__
25 #define __TKIID_h__
26 
27 #include "SDKDef.h"
28 
29 // Company:
30 #define kTKICompanyKey kSDKDefPlugInCompanyKey // Company name used internally for menu paths and the like. Must be globally unique, only A-Z, 0-9, space and "_".
31 #define kTKICompanyValue kSDKDefPlugInCompanyValue // Company name displayed externally.
32 
33 // Plug-in:
34 #define kTKIPluginName "TypekitInspector" // Name of this plug-in.
35 #define kTKIPrefixNumber 0x1D7700 // Unique prefix number for this plug-in(*Must* be obtained from Adobe Developer Support).
36 #define kTKIVersion kSDKDefPluginVersionString // Version of this plug-in (for the About Box).
37 #define kTKIAuthor "Timothy Brand-Spencer" // Author of this plug-in (for the About Box).
38 
39 // Plug-in Prefix: (please change kTKIPrefixNumber above to modify the prefix.)
40 #define kTKIPrefix RezLong(kTKIPrefixNumber) // The unique numeric prefix for all object model IDs for this plug-in.
41 #define kTKIStringPrefix SDK_DEF_STRINGIZE(kTKIPrefixNumber) // The string equivalent of the unique prefix number for this plug-in.
42 
43 // Missing plug-in: (see ExtraPluginInfo resource)
44 #define kTKIMissingPluginURLValue kSDKDefPartnersStandardValue_enUS // URL displayed in Missing Plug-in dialog
45 #define kTKIMissingPluginAlertValue kSDKDefMissingPluginAlertValue // Message displayed in Missing Plug-in dialog - provide a string that instructs user how to solve their missing plug-in problem
46 
47 // PluginID:
48 
49 // ClassIDs:
50 
51 // InterfaceIDs:
52 
53 // ImplementationIDs:
54 
55 // ActionIDs:
56 
57 // WidgetIDs:
58 
59 #define kTKIAboutMenuKey kTKIStringPrefix "kTKIAboutMenuKey"
60 #define kTKIAboutMenuPath kSDKDefStandardAboutMenuPath kTKICompanyKey
61 #define kTKIPluginsMenuKey kTKIStringPrefix "kTKIPluginsMenuKey"
62 #define kTKIPluginsMenuPath kSDKDefPlugInsStandardMenuPath kTKICompanyKey kSDKDefDelimitMenuPath kTKIPluginsMenuKey
63 #define kTKIAboutBoxStringKey kTKIStringPrefix "kTKIAboutBoxStringKey"
64 #define kTKIPanelTitleKey kTKIStringPrefix "kTKIPanelTitleKey"
65 #define kTKIStaticTextKey kTKIStringPrefix "kTKIStaticTextKey"
66 #define kTKIInternalPopupMenuNameKey kTKIStringPrefix "kTKIInternalPopupMenuNameKey"
67 #define kTKITargetMenuPath kTKIInternalPopupMenuNameKey
68 #define kTKIGetFontsButtonKey kTKIStringPrefix "kTKIGetFontsButtonKey"
69 #define kTKIFontComboDefaultTextKey kTKIStringPrefix "kTKIFontComboDefaultTextKey"
70 #define kTKIRefreshFontsButtonKey kTKIStringPrefix "kTKIRefreshFontsButtonKey"
71 
72 // Menu item positions:
73 #define kTKISeparator1MenuItemPosition 10.0
74 #define kTKIAboutThisMenuItemPosition 11.0
75 
76 // Initial data format version numbers
77 #define kTKIFirstMajorFormatNumber RezLong(1)
78 #define kTKIFirstMinorFormatNumber RezLong(0)
79 
80 // Data format version numbers for the PluginVersion resource
81 #define kTKICurrentMajorFormatNumber kTKIFirstMajorFormatNumber
82 #define kTKICurrentMinorFormatNumber kTKIFirstMinorFormatNumber
83 
84 #define kTKITreeViewNodeWidgetRsrcID 1210
85 
86 #endif // __TKIID_h__