35 void setViewControlEnabled(
bool enabled);
38 bool viewControlEnabled()
const;
41 void setScreenCaptureFilePath(
const std::string& filePath);
44 const std::string& screenCaptureFilePath()
const;
48 void setMouseHideEnabled(
bool enabled);
52 bool mouseHideEnabled()
const;
56 void setMouseHideTime(
float hideTime);
59 float mouseHideTime()
const;
62 void setShowQuitDialogOnClose(
bool show);
65 bool showQuitDialogOnClose()
const;
70 friend class boost::serialization::access;
75 template<
class Archive>
76 void serialize(Archive & ar,
const unsigned int version)
79 ar & BOOST_SERIALIZATION_NVP(myViewControlEnabled);
82 ar & BOOST_SERIALIZATION_NVP(myScreenCaptureFilePath);
86 ar & BOOST_SERIALIZATION_NVP(myMouseHideEnabled);
87 ar & BOOST_SERIALIZATION_NVP(myMouseHideTime);
91 ar & BOOST_SERIALIZATION_NVP(myShowQuitDialogOnClose);
Record for the settings associated with the application that don't merit an additional settings file ...
Definition: DtApplicationSettingsRecord.h:19
std::string myScreenCaptureFilePath
Definition: DtApplicationSettingsRecord.h:96
Contains DLL export macros.
BOOST_CLASS_VERSION(makArchives::DtDiGuySettingsRecord, 2)
bool myShowQuitDialogOnClose
Definition: DtApplicationSettingsRecord.h:99
void serialize(Archive &ar, const unsigned int version)
When the class Archive corresponds to an output archive, the & operator is defined similar to <<...
Definition: DtApplicationSettingsRecord.h:76
bool myMouseHideEnabled
Definition: DtApplicationSettingsRecord.h:97
bool myViewControlEnabled
Definition: DtApplicationSettingsRecord.h:95
float myMouseHideTime
Definition: DtApplicationSettingsRecord.h:98
#define DT_DLL_MAKARCHIVES
Definition: makArchives.h:31