VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtCockpitSettingsLogic.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2008 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtCockpitSettingsLogic.h,v $ $Revision: 1.1 $ $State: Exp $
7 ******************************************************************************/
8 
12 
13 #pragma once
14 
17 
18 #include <string>
19 
21 
22 namespace makVrv
23 {
24 
25  class DtCockpitSettingsInterface;
26  class DtPersistenceControlsInterface;
27  class DtDe;
28  class DtSettingsBackup;
29 
33  {
34  public:
35 
38  DtPersistenceControlsInterface& persistenceControls,
40 
42  virtual ~DtCockpitSettingsLogic();
43 
44  protected:
46  virtual void sendSettingsToGui();
47 
49  //@ {
50 
52  void slot_cockpitsEnabled(bool enabled);
53 
55  void slot_smoothingEnabled(bool enabled);
56 
58  void slot_smoothingPeriodSet(float time);
59 
61  virtual void on_import();
62  virtual void on_export();
63  virtual void on_importFilePathChosen(const std::string& filePath);
64  virtual void on_exportFilePathChosen(const std::string& filePath);
65  //@ }
66 
68  virtual void settingsRestored(const DtSettingsBackup*);
69 
73  };
74 }

Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)