Teamcenter C++ API Reference  2312
WorkspacePreferencesServices.hxx
Go to the documentation of this file.
1 // ==================================================
2 // Copyright 2013.
3 // Siemens Product Lifecycle Management Software Inc.
4 // All Rights Reserved.
5 // ==================================================
6 
12 /* */
13 
18 #ifndef TEAMCENTER_TCCORE_WORKSPACE_PREFERENCES_SERVICES_HXX
19 #define TEAMCENTER_TCCORE_WORKSPACE_PREFERENCES_SERVICES_HXX
20 
21 #include <base_utils/StatusT.hxx>
22 
23 #include <tccore/libtccore_exports.h>
24 namespace Teamcenter
25 {
26 namespace TCCORE
27 {
29 {
30 public :
35  enum FolderSave {
36  FolderSave_Unknown = 0,
39  FolderSave_PromptOnClose
40  };
45  static FolderSave getFolderSaveValue();
51  static status_t setFolderSaveValue(FolderSave preferenceValue);
52 
53 
59  {
60  ReferencerWith_Unknown = 0,
64  ReferencerWith_NoFolder
65  };
71  static FolderReferencerWithSelection getFolderReferencerWithSelectionValue();
78  static status_t setFolderReferencerWithSelectionValue(FolderReferencerWithSelection preferenceValue);
79 
80 
86  {
87  ReferencerWithout_Unknown = 0,
90  ReferencerWithout_NoFolder
91  };
97  static FolderReferencerWithoutSelection getFolderReferencerWithoutSelectionValue();
104  static status_t setFolderReferencerWithoutSelectionValue(FolderReferencerWithoutSelection preferenceValue);
105 
106 
112  static bool getOpenAfterCreateValue();
119  static status_t setOpenAfterCreateValue( bool openAfterCreate );
120 
121 
129  static char* getExportOnCheckOutDirectoryValue ();
139  static status_t setExportOnCheckOutDirectoryValue( const char* exportOnCheckOutDirectory );
140 
141 
150  static bool getExportFilesOnCheckOutValue ();
161  static status_t setExportFilesOnCheckOutValue( bool exportOnCheckOut );
162 
163 
173  static bool getRemoveFilesOnCheckInValue ();
185  static status_t setRemoveFilesOnCheckInValue (bool removeOnCheckIn);
186 
187 
192  static bool getDisplayRealPropNamesValue();
198  static status_t setDisplayRealPropNamesValue( bool realPropertyNames );
199 
200 private:
204  virtual ~WorkspacePreferencesServices();
205 };
206 }
207 }
208 #include <tccore/libtccore_undef.h>
209 #endif