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

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

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

revision 2035 by schoenebeck, Thu Feb 14 22:31:26 2008 UTC revision 2036 by capela, Wed Jan 6 09:52:32 2010 UTC
# Line 1  Line 1 
1  // qsamplerChannelStrip.h  // qsamplerChannelStrip.h
2  //  //
3  /****************************************************************************  /****************************************************************************
4     Copyright (C) 2004-2007, rncbc aka Rui Nuno Capela. All rights reserved.     Copyright (C) 2004-2010, rncbc aka Rui Nuno Capela. All rights reserved.
5     Copyright (C) 2007, 2008 Christian Schoenebeck     Copyright (C) 2007, 2008 Christian Schoenebeck
6    
7     This program is free software; you can redistribute it and/or     This program is free software; you can redistribute it and/or
# Line 26  Line 26 
26  #include "ui_qsamplerChannelStrip.h"  #include "ui_qsamplerChannelStrip.h"
27    
28  #include "qsamplerChannel.h"  #include "qsamplerChannel.h"
 #include <QTimer>  
29    
30  class QDragEnterEvent;  class QDragEnterEvent;
31    class QTimer;
32    
33    
34  namespace QSampler {  namespace QSampler {
# Line 81  public slots: Line 81  public slots:
81          bool channelFxEdit();          bool channelFxEdit();
82          bool channelReset();          bool channelReset();
83          void volumeChanged(int iVolume);          void volumeChanged(int iVolume);
84          void midiArrived();  
85            void midiActivityLedOn();
86    
87  protected:  protected:
88    
# Line 91  protected: Line 92  protected:
92    
93  protected slots:  protected slots:
94    
95          void midiDataCeased();          void midiActivityLedOff();
96    
97  private:  private:
98    
99          Ui::qsamplerChannelStrip m_ui;          Ui::qsamplerChannelStrip m_ui;
100    
101          Channel* m_pChannel;          Channel *m_pChannel;
102          int m_iDirtyChange;          int m_iDirtyChange;
103          int m_iErrorCount;          int m_iErrorCount;
104          QTimer* pMidiActivityTimer;  
105            QTimer  *m_pMidiActivityTimer;
106    
107            // MIDI activity pixmap common resources.
108            static int      g_iMidiActivityRefCount;
109            static QPixmap *g_pMidiActivityLedOn;
110            static QPixmap *g_pMidiActivityLedOff;
111    
112          // Channel strip activation/selection.          // Channel strip activation/selection.
113          static ChannelStrip *g_pSelectedStrip;          static ChannelStrip *g_pSelectedStrip;

Legend:
Removed from v.2035  
changed lines
  Added in v.2036

  ViewVC Help
Powered by ViewVC