00001 // -*- C++ -*- 00059 #ifndef NEWOUTPUTDEVICESHAPE_H 00060 #define NEWOUTPUTDEVICESHAPE_H 00061 00062 //#include <map> 00063 00064 //#include "wx/defs.h" 00065 //#include "wx/icon.h" 00066 //#include "wx/stattext.h" 00067 00068 #include "OutputDeviceShape.h" 00069 //#include "Device.h" 00070 00071 class MutNewOutputDeviceShape:public MutOutputDeviceShape 00072 { 00073 00074 public: 00075 MutNewOutputDeviceShape():MutOutputDeviceShape() {} 00076 00077 MutNewOutputDeviceShape (wxWindow * parent, wxWindowID id): 00078 MutOutputDeviceShape() 00079 { 00080 Create (parent,id); 00081 } 00082 00083 00084 bool Create (wxWindow * parent, 00085 wxWindowID id) 00086 { 00087 return MutOutputDeviceShape::Create (parent, 00088 id, 00089 _("New Output device")); 00090 } 00091 00092 00093 MutIcon & GetMutIcon () 00094 { 00095 return NewOutputDevBitmap; 00096 } 00097 protected: 00098 virtual void InitializeDialog(OutputDevDlg * out) const; 00099 virtual bool replaceSelfBy (MutOutputDeviceShape * newshape); 00100 virtual bool CanHandleType (DevType type) { return false; } 00101 00102 private: 00103 DECLARE_DYNAMIC_CLASS(MutOutputDeviceShape); 00104 }; 00105 00106 #endif /* NEWOUTPUTDEVICESHAPE_H */ 00107 /* 00108 * \} 00109 */