VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtApplicationSettingsRecord.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2018 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
12 
13 
14 namespace makArchives
15 {
20  {
21  public:
24 
27 
30 
33 
35  void setViewControlEnabled(bool enabled);
36 
38  bool viewControlEnabled() const;
39 
41  void setScreenCaptureFilePath(const std::string& filePath);
42 
44  const std::string& screenCaptureFilePath() const;
45 
48  void setMouseHideEnabled(bool enabled);
49 
52  bool mouseHideEnabled() const;
53 
56  void setMouseHideTime(float hideTime);
57 
59  float mouseHideTime() const;
60 
61 
62  protected:
63 
64  friend class boost::serialization::access;
65 
69  template<class Archive>
70  void serialize(Archive & ar, const unsigned int version)
71  {
72 
73  ar & BOOST_SERIALIZATION_NVP(myViewControlEnabled);
74  if ( version >= 2)
75  {
76  ar & BOOST_SERIALIZATION_NVP(myScreenCaptureFilePath);
77  }
78  if (version >= 3)
79  {
80  ar & BOOST_SERIALIZATION_NVP(myMouseHideEnabled);
81  ar & BOOST_SERIALIZATION_NVP(myMouseHideTime);
82  }
83  }
84 
89  };
90 }
91 

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)