gehe zur Dokumentation dieser Datei00001
00061 #ifndef INPUTGUIDOFILEDEVICESHAPE_H
00062 #define INPUTGUIDOFILEDEVICESHAPE_H
00063
00064
00065
00066
00067
00068
00069
00070 #include "MutIcon.h"
00071 #include "InputMidiDeviceShape.h"
00072
00073
00074 class MutInputGuidoFileDeviceShape:public MutInputDeviceShape
00075 {
00076 public:
00077 MutInputGuidoFileDeviceShape():MutInputDeviceShape() {}
00078 MutInputGuidoFileDeviceShape (wxWindow * parent,
00079 wxWindowID id,
00080 InDevice * d):
00081 MutInputDeviceShape() {
00082 Create (parent,id,d);
00083 }
00084 bool Create (wxWindow * parent, wxWindowID id, InDevice * d)
00085 {
00086 return MutInputDeviceShape::Create(parent,id,d);
00087 }
00088
00089 virtual MutIcon & GetMutIcon ()
00090 {
00091 DEBUGLOG(other, _T(""));
00092 return GuidoFileBitmap;
00093 }
00094
00095 void SetLabel(const wxString & st ) {
00096 fileName = st;
00097 fileName.Normalize();
00098 MutInputDeviceShape::SetLabel (fileName.GetFullName());
00099 }
00100
00101 virtual wxPanel * GetInputFilterPanel(wxWindow * parent, Route * route) const;
00102 virtual void ReadInputFilterPanel(wxWindow * panel, Route * route);
00103
00104 protected:
00105 virtual void InitializeDialog(InputDevDlg * in) const;
00106 virtual bool readDialog (InputDevDlg * in);
00107 virtual bool CanHandleType (DevType type) { return type == DTGis; }
00108
00109 wxFileName fileName;
00110
00111 private:
00112 DECLARE_DYNAMIC_CLASS(MutInputGuidoFileDeviceShape);
00113
00114 };
00115 #endif
00116
00117
00118