00001 #ifndef __VISUALIZERNODE_H 00002 #define __VISUALIZERNODE_H 00003 00004 #include "wx/wxprec.h" 00005 00006 #ifndef WX_PRECOMP 00007 #include "wx/wx.h" 00008 #endif 00009 00010 #ifdef __BORLANDC__ 00011 #pragma hdrstop 00012 #endif 00013 00014 #if !wxUSE_THREADS 00015 #error "This sample requires thread support!" 00016 #endif // wxUSE_THREADS 00017 00018 00019 class VisualizerNode 00020 { 00021 public: 00022 VisualizerNode(wxString IPaddress, bool behindNatStatus, bool censoredStatus); 00023 virtual ~VisualizerNode(); 00024 wxString getIPAddress(); 00025 void setIPAddress(wxString address); 00026 bool getBehindNatStatus(); 00027 void setBehindNatStatus(bool status); 00028 bool getCensoredStatus(); 00029 void setCensoredStatus(bool status); 00030 private: 00031 wxString m_IPaddress; 00032 bool m_isBehindNat; 00033 bool m_isCensored; 00034 }; 00035 00036 #endif