/[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 295 by capela, Tue Nov 16 15:26:18 2004 UTC revision 341 by capela, Tue Jan 18 11:29:01 2005 UTC
# Line 1  Line 1 
1  // qsamplerChannel.h  // qsamplerChannel.h
2  //  //
3  /****************************************************************************  /****************************************************************************
4     Copyright (C) 2003-2004, rncbc aka Rui Nuno Capela. All rights reserved.     Copyright (C) 2003-2005, rncbc aka Rui Nuno Capela. All rights reserved.
5    
6     This program is free software; you can redistribute it and/or     This program is free software; you can redistribute it and/or
7     modify it under the terms of the GNU General Public License     modify it under the terms of the GNU General Public License
# Line 101  public: Line 101  public:
101      bool     setVolume(float fVolume);      bool     setVolume(float fVolume);
102    
103      // Channel info structure map executive.      // Channel info structure map executive.
104      bool updateChannelInfo();      bool     updateChannelInfo();
105    
106      // Reset channel method.      // Reset channel method.
107      bool resetChannel();      bool     resetChannel();
108    
109        // Channel setup dialog form.
110        bool     channelSetup(QWidget *pParent);
111    
112      // Message logging methods (brainlessly mapped to main form's).      // Message logging methods (brainlessly mapped to main form's).
113      void appendMessages       (const QString & s);      void     appendMessages       (const QString & s);
114      void appendMessagesColor  (const QString & s, const QString & c);      void     appendMessagesColor  (const QString & s, const QString & c);
115      void appendMessagesText   (const QString & s);      void     appendMessagesText   (const QString & s);
116      void appendMessagesError  (const QString & s);      void     appendMessagesError  (const QString & s);
117      void appendMessagesClient (const QString & s);      void     appendMessagesClient (const QString & s);
118    
119        // Context menu event handler.
120        void contextMenuEvent(QContextMenuEvent *pEvent);
121    
122        // Retrieve the available instrument name(s) of an instrument file (.gig).
123        static QString     getInstrumentName (const QString& sInstrumentFile, int iInstrumentNr);
124        static QStringList getInstrumentList (const QString& sInstrumentFile);
125    
126        // Instrument name(s) retrieval mode.
127        static bool instrumentNames();
128        static void setInstrumentNames (bool bInstrumentNames);
129    
130  private:  private:
131    
# Line 133  private: Line 147  private:
147      QString m_sAudioDriver;         // DEPRECATED.      QString m_sAudioDriver;         // DEPRECATED.
148      int     m_iAudioDevice;      int     m_iAudioDevice;
149      float   m_fVolume;      float   m_fVolume;
150    
151        // Retrieve mode for available instrument name(s)
152            // from an instrument file (.gig).
153            static bool g_bInstrumentNames;
154  };  };
155    
156  #endif  // __qsamplerChannel_h  #endif  // __qsamplerChannel_h

Legend:
Removed from v.295  
changed lines
  Added in v.341

  ViewVC Help
Powered by ViewVC