![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /****************************************************************************** 00002 ** Copyright (c) 2012 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 ******************************************************************************/ 00005 /****************************************************************************** 00006 ** $RCSfile: DtCommentInteractionInterface.h,v $ $Revision: 1.1 $ $State: Exp $ 00007 ******************************************************************************/ 00008 00011 00013 00014 #pragma once 00015 00016 #include <vrfGuiCore/vrfGuiCore.h> 00017 #include <vrfGuiCore/DtNetworkMessageInterface.h> 00018 00019 #include <string> 00020 00022 00023 namespace makVrf 00024 { 00025 class DT_DLL_VRFGUICORE DtCommentInteractionInterface : public DtNetworkMessageInterface 00026 { 00027 public: 00028 DtCommentInteractionInterface(); 00029 00033 DtCommentInteractionInterface(const DtCommentInteractionInterface&); 00034 00035 virtual ~DtCommentInteractionInterface(); 00036 00038 virtual DtNetworkMessageInterface* clone() const; 00039 00041 static const char* theName(); 00042 00044 virtual const char* name(); 00045 00046 void setComment(const char* m); 00047 const std::string& comment() const; 00048 00049 void setNotifyLevel(int); 00050 int notifyLevel() const; 00051 00052 void setSenderId(const std::string&); 00053 const std::string& senderId() const; 00054 00055 protected: 00056 std::string myComment; 00057 int myNotifyLevel; 00058 std::string mySenderId; 00059 }; 00060 }