/[svn]/qsampler/trunk/src/qsamplerChannel.h
ViewVC logotype

Diff of /qsampler/trunk/src/qsamplerChannel.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 382 by capela, Mon Feb 14 15:42:38 2005 UTC revision 388 by capela, Thu Feb 17 17:27:59 2005 UTC
# Line 72  public: Line 72  public:
72      QString& instrumentName();      QString& instrumentName();
73      int      instrumentStatus();      int      instrumentStatus();
74      bool     loadInstrument(const QString& sInstrumentFile, int iInstrumentNr);      bool     loadInstrument(const QString& sInstrumentFile, int iInstrumentNr);
75            // Special instrument file/name/number settler.
76        bool     setInstrument(const QString& sInstrumentFile, int iInstrumentNr);
77    
78      // MIDI input driver (DEPRECATED).      // MIDI input driver (DEPRECATED).
79      QString& midiDriver();      QString& midiDriver();
# Line 123  public: Line 125  public:
125      // Context menu event handler.      // Context menu event handler.
126      void contextMenuEvent(QContextMenuEvent *pEvent);      void contextMenuEvent(QContextMenuEvent *pEvent);
127    
128            // Common (invalid) name-helpers.
129        static QString noEngineName();
130        static QString noInstrumentName();
131    
132            // Check whether a given file is an instrument file.
133            static bool isInstrumentFile (const QString& sInstrumentFile);
134    
135      // Retrieve the available instrument name(s) of an instrument file (.gig).      // Retrieve the available instrument name(s) of an instrument file (.gig).
136      static QString     getInstrumentName (const QString& sInstrumentFile,      static QString getInstrumentName (const QString& sInstrumentFile,
137                                                          int iInstrumentNr, bool bInstrumentNames);                                                          int iInstrumentNr, bool bInstrumentNames);
138      static QStringList getInstrumentList (const QString& sInstrumentFile,      static QStringList getInstrumentList (const QString& sInstrumentFile,
139                                                          bool bInstrumentNames);                                                          bool bInstrumentNames);

Legend:
Removed from v.382  
changed lines
  Added in v.388

  ViewVC Help
Powered by ViewVC