![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /***************************************************************************** 00002 * Copyright (c) 2011 MAK Technologies, Inc. 00003 * All rights reserved. 00004 *****************************************************************************/ 00005 00009 00010 #pragma once 00011 00012 #include "exampleDialogPagePlugin.h" 00013 #include <vrvUtil/DtSignalConnectionManager.h> 00014 00015 namespace makVrv 00016 { 00017 00018 class DtDe; 00019 class DtSettingsBackup; 00020 class DtExampleInterface; 00021 class DtPersistenceControlsInterface; 00022 00025 class DT_DLL_EXAMPLEDIALOGPAGE DtExampleLogic 00026 : private DtSignalConnectionManager 00027 { 00028 public: 00029 00031 DtExampleLogic( DtDe& de, DtExampleInterface& iFace, 00032 DtPersistenceControlsInterface& pIFace ); 00033 00035 virtual ~DtExampleLogic(); 00036 00038 virtual void sendSettingsToGui(); 00039 00041 void slot_onIntChanged( int val ); 00042 00044 virtual void on_import(); 00045 virtual void on_export(); 00046 virtual void on_importFilePathChosen( const std::string& filePath ); 00047 virtual void on_exportFilePathChosen( const std::string& filePath ); 00048 00050 virtual void settingsRestored( const DtSettingsBackup* b ); 00051 00052 protected: 00053 00054 DtDe& myDe; 00055 DtExampleInterface& myInterface; 00056 DtPersistenceControlsInterface& myPersistenceInterface; 00057 00058 }; 00059 00060 }