ULAPI  8.0
ulconfiguration.h
1 
7 #ifndef ULCONFIGURATION_H
8 #define ULCONFIGURATION_H
9 
15 enum ULConfigLockType
16 {
17  ULConfigLockTypeNone,
18  ULConfigLockTypePThreads,
19  ULConfigLockTypeCocoa,
20  ULConfigLockTypeWindows
21 };
22 
28 enum ULConfigDictionaryDataSourceType
29 {
30  ULConfigDictionaryDataSourceTypeNone,
31  ULConfigDictionaryDataSourceTypeAutodetect,
32  ULConfigDictionaryDataSourceTypeULDFile
33 };
34 
40 enum ULConfigLanguageDataSourceType
41 {
42  ULConfigLanguageDataSourceTypeNone,
43  ULConfigLanguageDataSourceTypeAutodetect,
44  ULConfigLanguageDataSourceTypeULCFile
45 };
46 
56 {
57 public:
59  ULConfiguration(const ULConfiguration& other);
60  virtual ~ULConfiguration();
61 
62  void clear();
64 
65  ULConfigLockType getLockType() const;
66  void setLockType(ULConfigLockType type);
67  ULConfigDictionaryDataSourceType getDictionaryDataSourceType() const;
68  void setDictionaryDataSourceType(ULConfigDictionaryDataSourceType type);
69  ULConfigLanguageDataSourceType getLanguageDataSourceType() const;
70  void setLanguageDataSourceType(ULConfigLanguageDataSourceType type);
71 
72 protected:
73  ULConfigLockType lockType;
74  ULConfigDictionaryDataSourceType dictionaryDataSourceType;
75  ULConfigLanguageDataSourceType languageDataSourceType;
76 };
77 
78 #endif
79