InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IServerSettings.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Peter Boctor
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 
24 #ifndef __IServerSettings__
25 #define __IServerSettings__
26 
27 #include "IPMUnknown.h"
28 #include "ServerSettingsID.h"
29 
47 {
48 public:
49  enum { kDefaultIID = IID_ISERVERSETTINGS } ;
50 
51  virtual void SetImagePreview(bool16 imagePreview) = 0;
52 
56  virtual bool16 GetImagePreview() = 0;
57 
62  virtual void SetJavaScriptUI(bool16 javaScriptUI) = 0 ;
63 
67  virtual bool16 GetJavaScriptUI() = 0 ;
68 
72  virtual bool16 GetHasConsole() = 0 ;
73 
77  virtual PMString GetIORFile() = 0 ;
78 
82  virtual bool16 GetLogToEventLog() = 0 ;
83 
87  virtual int32 GetMaxErrors() = 0 ;
88 
92  virtual void SetMaxErrors(int32 maxErrors) = 0 ;
93 
97  virtual PMString GetPluginPath() = 0;
98 
102  virtual bool16 GetSendCrashLogs() = 0;
103 
107  virtual bool16 GetUseErrorList() = 0;
108 
112  virtual void SetUseErrorList(bool16 buseErrorList) = 0;
113 
117  virtual bool16 GetUseSEH() = 0;
118 
119 
123  virtual int32 GetPortNumber() = 0;
124 
128  virtual PMString GetConfigurationName() = 0;
129 
133  virtual bool16 GetOnMainThreadExecutionMode() = 0;
134 
138  virtual bool16 IsSessionSupportLoggingEnabled() = 0;
139 
143  virtual int32 GetSessionTimeout() = 0;
144 
148  virtual int32 GetAdminPortNumber() = 0;
149 
154  virtual int32 GetHeartbeatUpdateInterval() = 0;
155 
156 
160  virtual PMString GetHostName() = 0;
161 
165  virtual bool16 IsSessionSupportNonBlocking() = 0;
166 
167  /*
168  @param bSSNonBlocking if kTrue, BeginSession request will be non blocking
169  */
170  virtual void SetIsSessionSupportNonBlocking(bool16 bSSNonBlocking) = 0;
171 
176  virtual uint16 GetMaximumWaitForBeginSession() = 0;
177 
182  virtual void SetMaximumWaitForBeginSession(
183  uint16 inMaxWaitTime) = 0;
184 } ;
185 
186 #endif