OutputMidiFileDeviceShape.h
gehe zur Dokumentation dieser Datei
00001 // -*- C++ -*-
00054 #ifndef OUTPUTMIDIFILEDEVICESHAPE_H
00055 #define OUTPUTMIDIFILEDEVICESHAPE_H
00056 
00057 //#include <map>
00058 
00059 //#include "wx/defs.h"
00060 //#include "wx/icon.h"
00061 //#include "wx/stattext.h"
00062 
00063 #include "OutputDeviceShape.h"
00064 //#include "Device.h"
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                          /* OutputMidiFileDeviceShape_H */
00114 /*
00115  * \}
00116  */

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