00001 // -*- C++ -*- 00051 #ifndef NEWINPUTDEVICESHAPE_H 00052 #define NEWINPUTDEVICESHAPE_H 00053 00054 //#include <map> 00055 00056 //#include "wx/defs.h" 00057 //#include "wx/icon.h" 00058 //#include "wx/stattext.h" 00059 00060 #include "InputDeviceShape.h" 00061 //#include "Device.h" 00062 00063 00064 class MutNewInputDeviceShape:public MutInputDeviceShape 00065 { 00066 00067 public: 00068 MutNewInputDeviceShape():MutInputDeviceShape() {} 00069 00070 MutNewInputDeviceShape (wxWindow * parent, wxWindowID id):MutInputDeviceShape() 00071 { 00072 Create(parent, id); 00073 } 00074 00075 bool Create (wxWindow * parent, wxWindowID id) 00076 { 00077 return MutInputDeviceShape::Create (parent,id,_("New Input device")); 00078 } 00079 00080 MutIcon & GetMutIcon () 00081 { 00082 return NewInputDevBitmap; 00083 } 00084 00085 protected: 00086 virtual void InitializeDialog(InputDevDlg * in) const; 00087 virtual bool replaceSelfBy (MutInputDeviceShape * newshape); 00088 00089 private: 00090 DECLARE_DYNAMIC_CLASS(MutInputDeviceShape); 00091 }; 00092 00093 #endif /* NEWINPUTDEVICESHAPE_H */ 00094 /* 00095 * \} 00096 */