InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
CustomHttpLinkUIID.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: swagarg
6 //
7 // $Author$
8 //
9 // $DateTime$
10 //
11 // $Revision$
12 //
13 // $Change$
14 //
15 // ADOBE CONFIDENTIAL
16 //
17 // Copyright 2019 Adobe
18 // All Rights Reserved.
19 //
20 // NOTICE: Adobe permits you to use, modify, and distribute this file in
21 // accordance with the terms of the Adobe license agreement accompanying
22 // it. If you have received this file from a source other than Adobe,
23 // then your use, modification, or distribution of it requires the prior
24 // written permission of Adobe.
25 //
26 //========================================================================================
27 
28 
29 #ifndef __CustomHttpLinkUIID_h__
30 #define __CustomHttpLinkUIID_h__
31 
32 #include "SDKDef.h"
33 
34 // Company:
35 #define kCustomHttpLinkUICompanyKey kSDKDefPlugInCompanyKey // Company name used internally for menu paths and the like. Must be globally unique, only A-Z, 0-9, space and "_".
36 #define kCustomHttpLinkUICompanyValue kSDKDefPlugInCompanyValue // Company name displayed externally.
37 
38 // Plug-in:
39 #define kCustomHttpLinkUIPluginName "CustomHttpLinkUI" // Name of this plug-in.
40 #define kCustomHttpLinkUIPrefixNumber 0x1DCD02 // Unique prefix number for this plug-in(*Must* be obtained from Adobe Developer Support).
41 #define kCustomHttpLinkUIVersion kSDKDefPluginVersionString // Version of this plug-in (for the About Box).
42 #define kCustomHttpLinkUIAuthor "Adobe Developer Technologies" // Author of this plug-in (for the About Box).
43 
44 // Plug-in Prefix: (please change kCustomHttpLinkUIPrefixNumber above to modify the prefix.)
45 #define kCustomHttpLinkUIPrefix RezLong(kCustomHttpLinkUIPrefixNumber) // The unique numeric prefix for all object model IDs for this plug-in.
46 #define kCustomHttpLinkUIStringPrefix SDK_DEF_STRINGIZE(kCustomHttpLinkUIPrefixNumber) // The string equivalent of the unique prefix number for this plug-in.
47 
48 // Missing plug-in: (see ExtraPluginInfo resource)
49 #define kCustomHttpLinkUIMissingPluginURLValue kSDKDefPartnersStandardValue_enUS // URL displayed in Missing Plug-in dialog
50 #define kCustomHttpLinkUIMissingPluginAlertValue kSDKDefMissingPluginAlertValue // Message displayed in Missing Plug-in dialog - provide a string that instructs user how to solve their missing plug-in problem
51 
52 
53 // PluginID:
54 
55 // ClassIDs:
56 
57 
58 // InterfaceIDs:
59 
60 
61 // ImplementationIDs:
62 
63 
64 // ActionIDs:
65 
66 
67 // WidgetIDs:
68 
69 
70 // "About Plug-ins" sub-menu:
71 #define kCustomHttpLinkUIAboutMenuKey kCustomHttpLinkUIStringPrefix "kCustomHttpLinkUIAboutMenuKey"
72 #define kCustomHttpLinkUIAboutMenuPath kSDKDefStandardAboutMenuPath kCustomHttpLinkUICompanyKey
73 
74 // "Plug-ins" sub-menu:
75 #define kCustomHttpLinkUIPluginsMenuKey kCustomHttpLinkUIStringPrefix "kCustomHttpLinkUIPluginsMenuKey"
76 #define kCustomHttpLinkUIPluginsMenuPath kSDKDefPlugInsStandardMenuPath kCustomHttpLinkUICompanyKey kSDKDefDelimitMenuPath kCustomHttpLinkUIPluginsMenuKey
77 
78 // Menu item keys:
79 
80 // Other StringKeys:
81 #define kCustomHttpLinkUIAboutBoxStringKey kCustomHttpLinkUIStringPrefix "kCustomHttpLinkUIAboutBoxStringKey"
82 #define kCustomHttpLinkUIPanelTitleKey kCustomHttpLinkUIStringPrefix "kCustomHttpLinkUIPanelTitleKey"
83 #define kCustomHttpLinkUIStaticTextKey kCustomHttpLinkUIStringPrefix "kCustomHttpLinkUIStaticTextKey"
84 #define kCustomHttpLinkUIInternalPopupMenuNameKey kCustomHttpLinkUIStringPrefix "kCustomHttpLinkUIInternalPopupMenuNameKey"
85 #define kCustomHttpLinkUITargetMenuPath kCustomHttpLinkUIInternalPopupMenuNameKey
86 
87 // Menu item positions:
88 
89 #define kCustomHttpLinkUISeparator1MenuItemPosition 10.0
90 #define kCustomHttpLinkUIAboutThisMenuItemPosition 11.0
91 #define kCustomHttpLinkUILoginMenuItemPosition 12.0
92 #define kCustomHttpLinkUILogoutMenuItemPosition 13.0
93 
94 
95 // Initial data format version numbers
96 #define kCustomHttpLinkUIFirstMajorFormatNumber RezLong(1)
97 #define kCustomHttpLinkUIFirstMinorFormatNumber RezLong(0)
98 
99 // Data format version numbers for the PluginVersion resource
100 #define kCustomHttpLinkUICurrentMajorFormatNumber kCustomHttpLinkUIFirstMajorFormatNumber
101 #define kCustomHttpLinkUICurrentMinorFormatNumber kCustomHttpLinkUIFirstMinorFormatNumber
102 
103 #define kCusHttpLnkScheme "myhost"
104 #define kCusHttpLnkAuthority "localhost:3000"
105 
106 #endif // __CustomHttpLinkUIID_h__