InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
CustomHttpLinkID.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 __CustomHttpLinkID_h__
30 #define __CustomHttpLinkID_h__
31 
32 #include "SDKDef.h"
33 
34 // Company:
35 #define kCustomHttpLinkCompanyKey kSDKDefPlugInCompanyKey // Company name used internally for menu paths and the like. Must be globally unique, only A-Z, 0-9, space and "_".
36 #define kCustomHttpLinkCompanyValue kSDKDefPlugInCompanyValue // Company name displayed externally.
37 
38 // Plug-in:
39 #define kCustomHttpLinkPluginName "CustomHttpLink.sdk" // Name of this plug-in.
40 #define kCustomHttpLinkPrefixNumber 0x1DCE00 // Unique prefix number for this plug-in(*Must* be obtained from Adobe Developer Support).
41 #define kCustomHttpLinkVersion kSDKDefPluginVersionString // Version of this plug-in (for the About Box).
42 #define kCustomHttpLinkAuthor "Adobe Developer Technologies" // Author of this plug-in (for the About Box).
43 
44 // Plug-in Prefix: (please change kCustomHttpLinkPrefixNumber above to modify the prefix.)
45 #define kCustomHttpLinkPrefix RezLong(kCustomHttpLinkPrefixNumber) // The unique numeric prefix for all object model IDs for this plug-in.
46 #define kCustomHttpLinkStringPrefix SDK_DEF_STRINGIZE(kCustomHttpLinkPrefixNumber) // The string equivalent of the unique prefix number for this plug-in.
47 
48 // Missing plug-in: (see ExtraPluginInfo resource)
49 #define kCustomHttpLinkMissingPluginURLValue kSDKDefPartnersStandardValue_enUS // URL displayed in Missing Plug-in dialog
50 #define kCustomHttpLinkMissingPluginAlertValue 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 // login information keys
54 #define username_key "username"
55 #define password_key "password"
56 #define token_key "token"
57 
58 
59 // PluginID:
60 
61 // ClassIDs:
62 
63 
64 // InterfaceIDs:
65 
66 
67 // ImplementationIDs:
68 
69 
70 // ActionIDs:
71 
72 
73 // WidgetIDs:
74 
75 
76 // "About Plug-ins" sub-menu:
77 #define kCustomHttpLinkAboutMenuKey kCustomHttpLinkStringPrefix "kCustomHttpLinkAboutMenuKey"
78 #define kCustomHttpLinkAboutMenuPath kSDKDefStandardAboutMenuPath kCustomHttpLinkCompanyKey
79 
80 // "Plug-ins" sub-menu:
81 #define kCustomHttpLinkPluginsMenuKey kCustomHttpLinkStringPrefix "kCustomHttpLinkPluginsMenuKey"
82 #define kCustomHttpLinkPluginsMenuPath kSDKDefPlugInsStandardMenuPath kCustomHttpLinkCompanyKey kSDKDefDelimitMenuPath kCustomHttpLinkPluginsMenuKey
83 
84 // Menu item keys:
85 
86 // Other StringKeys:
87 #define kCustomHttpLinkAboutBoxStringKey kCustomHttpLinkStringPrefix "kCustomHttpLinkAboutBoxStringKey"
88 #define kCustomHttpLinkTargetMenuPath kCustomHttpLinkPluginsMenuPath
89 
90 // Menu item positions:
91 
92 
93 // Initial data format version numbers
94 #define kCustomHttpLinkFirstMajorFormatNumber RezLong(1)
95 #define kCustomHttpLinkFirstMinorFormatNumber RezLong(0)
96 
97 // Data format version numbers for the PluginVersion resource
98 #define kCustomHttpLinkCurrentMajorFormatNumber kCustomHttpLinkFirstMajorFormatNumber
99 #define kCustomHttpLinkCurrentMinorFormatNumber kCustomHttpLinkFirstMinorFormatNumber
100 
101 #define kCusHttpLnkScheme "myhost"
102 #define kCusHttpLnkAuthority "localhost:3000"
103 #define kCusHttpLnkServerURL "http://localhost:3000"
104 
105 #endif // __CustomHttpLinkID_h__