![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 00002 00003 00004 00005 #ifndef DtOsgEarthSettingsLogic_H_ 00006 #define DtOsgEarthSettingsLogic_H_ 00007 00008 #include <vrvOsgEarthQt/vrvOsgEarthQt.h> 00009 #include <boost/signals/trackable.hpp> 00010 00011 #include <string> 00012 00013 class DtExerciseConnInitializer; 00014 00015 namespace makVrv 00016 { 00017 00018 class DtOsgEarthSettingsInterface; 00019 00022 class DT_DLL_VRVOSGEARTHQT DtOsgEarthSettingsLogic 00023 { 00024 public: 00025 00027 DtOsgEarthSettingsLogic(DtDe& de,DtOsgEarthSettingsInterface* osgEarthSettingsInterface); 00028 00030 virtual ~DtOsgEarthSettingsLogic(); 00031 00033 virtual void setupInstances(); 00034 00035 protected: 00036 00038 void onCurrentServerChanged(const std::string& filename); 00039 00041 void onSaveFile(const std::string& desc); 00042 00044 void onRenameFile(const std::string& newName); 00045 00047 void onNewFile(const std::string& newName); 00048 00050 void onDeleteFile(); 00051 00053 void onServerUpdated(const std::string& name); 00054 00055 protected: 00056 00057 DtDe& myDe; 00058 DtOsgEarthSettingsInterface* myInterface; 00059 00060 std::string myServerFileName; 00061 }; 00062 } 00063 00064 #endif 00065