![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /****************************************************************************** 00002 ** Copyright (c) 2010 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 ******************************************************************************/ 00005 /****************************************************************************** 00006 ** $RCSfile: DtCockpitModelDefinitionRenamedChanged.h,v $ $Revision: 1.16 $ $State: Exp $ 00007 ******************************************************************************/ 00008 00018 00019 #pragma once 00020 00021 #include <vrvGlStudioShared/DtGlStudioShared.h> 00022 #include <vrvCore/DtSettingsChangeManager.h> 00023 00024 namespace makVrv 00025 { 00026 class DtDe; 00027 00032 class DT_DLL_VRVGLSTUDIOSHARED DtCockpitModelDefinitionRenamedChanged : 00033 public DtSettingsChangeObject 00034 { 00035 public: 00036 DtCockpitModelDefinitionRenamedChanged(DtDe& de); 00037 00038 virtual ~DtCockpitModelDefinitionRenamedChanged(); 00039 00044 virtual void modelDefinitionRenamed(const std::string& oldName, 00045 const std::string& newName); 00046 00047 const std::string& oldName() const 00048 { 00049 return myOldName; 00050 } 00051 00052 const std::string& newName() const 00053 { 00054 return myNewName; 00055 } 00056 00057 protected: 00058 DtDe& myDe; 00059 std::string myOldName; 00060 std::string myNewName; 00061 }; 00062 }