gehe zur Dokumentation dieser Datei00001
00054 #ifndef OUTPUTMIDIFILEDEVICESHAPE_H
00055 #define OUTPUTMIDIFILEDEVICESHAPE_H
00056
00057
00058
00059
00060
00061
00062
00063 #include "OutputDeviceShape.h"
00064
00065
00066
00067 class MutOutputMidiFileDeviceShape:public MutOutputDeviceShape
00068 {
00069 public:
00070 MutOutputMidiFileDeviceShape():MutOutputDeviceShape() {}
00071 MutOutputMidiFileDeviceShape (wxWindow * parent,
00072 wxWindowID id,
00073 OutDevice * d):
00074 MutOutputDeviceShape()
00075 {
00076 Create (parent,id,d);
00077 }
00078
00079 bool Create (wxWindow * parent, wxWindowID id, OutDevice * d)
00080 {
00081 DEBUGLOG (other,_T (""));
00082 bool ret = MutOutputDeviceShape::Create(parent,id,d);
00083 DEBUGLOG (other,_T (""));
00084 return ret;
00085 }
00086
00087 virtual MutIcon & GetMutIcon ()
00088 {
00089 DEBUGLOG(other, _T(""));
00090 return MidiFileBitmap;
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 protected:
00103 virtual void InitializeDialog(OutputDevDlg * out) const;
00104 virtual bool readDialog (OutputDevDlg * out);
00105 virtual bool CanHandleType (DevType type) { return type == DTMidiFile; }
00106
00107 wxFileName fileName;
00108
00109 private:
00110 DECLARE_DYNAMIC_CLASS(MutOutputMidiFileDeviceShape);
00111
00112 };
00113 #endif
00114
00115
00116