OutputGuidoFileDeviceShape.h
gehe zur Dokumentation dieser Datei
00001 // -*- C++ -*-
00057 #ifndef OUTPUTGUIDOFILEDEVICESHAPE_H
00058 #define OUTPUTGUIDOFILEDEVICESHAPE_H
00059 
00060 //#include <map>
00061 
00062 //#include "wx/defs.h"
00063 //#include "wx/icon.h"
00064 //#include "wx/stattext.h"
00065 
00066 #include "MutIcon.h"
00067 #include "OutputDeviceShape.h"
00068 //#include "Device.h"
00069 
00070 typedef GisOutputFilterPanelBase GisOutputFilterPanel;
00071 
00072 class MutOutputGuidoFileDeviceShape:public MutOutputDeviceShape
00073 {
00074 public:
00075         MutOutputGuidoFileDeviceShape():MutOutputDeviceShape() {}
00076         MutOutputGuidoFileDeviceShape (wxWindow * parent,
00077                                      wxWindowID id, 
00078                                      OutDevice * d):
00079                 MutOutputDeviceShape() {
00080                 Create (parent,id,d);
00081         }
00082         bool Create (wxWindow * parent, wxWindowID id, OutDevice * d)
00083                 {
00084                         return MutOutputDeviceShape::Create(parent,id,d);
00085                 }
00086 
00087         virtual MutIcon & GetMutIcon () 
00088                 {
00089                         DEBUGLOG(other, _T(""));
00090                         return GuidoFileBitmap;
00091                 }
00092 
00093         void SetLabel(const wxString & st ) {
00094                 fileName = st;
00095                 fileName.Normalize();
00096                 MutOutputDeviceShape::SetLabel (fileName.GetFullName());
00097         }
00098         
00099         virtual wxPanel * GetOutputFilterPanel(wxWindow * parent, Route * route) const;
00100         virtual void ReadOutputFilterPanel(wxWindow * panel, Route * route);
00101 
00102 
00103 protected: 
00104         virtual void InitializeDialog(OutputDevDlg * out) const;
00105         virtual bool readDialog (OutputDevDlg * out);
00106         virtual bool CanHandleType (DevType  type) { return type == DTGis; }
00107 
00108         wxFileName fileName;
00109 
00110 private:
00111         DECLARE_DYNAMIC_CLASS(MutOutputGuidoFileDeviceShape);
00112 
00113 };
00114 #endif                          /* OUTPUTGUIDOFILEDEVICESHAPE_H */
00115 /*
00116  * \}
00117  */

Erzeugt am Sun Aug 21 2011 10:51:55 für Mutabor von doxygen 1.7.4