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

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

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

revision 492 by capela, Sat Apr 2 12:23:18 2005 UTC revision 961 by capela, Sun Dec 3 18:26:13 2006 UTC
# Line 1  Line 1 
1  // qsamplerDevice.h  // qsamplerDevice.h
2  //  //
3  /****************************************************************************  /****************************************************************************
4     Copyright (C) 2005, rncbc aka Rui Nuno Capela. All rights reserved.     Copyright (C) 2004-2006, 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 13  Line 13 
13     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14     GNU General Public License for more details.     GNU General Public License for more details.
15    
16     You should have received a copy of the GNU General Public License     You should have received a copy of the GNU General Public License along
17     along with this program; if not, write to the Free Software     with this program; if not, write to the Free Software Foundation, Inc.,
18     Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.     51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19    
20  *****************************************************************************/  *****************************************************************************/
21    
# Line 90  public: Line 90  public:
90          enum qsamplerDeviceType { None, Midi, Audio };          enum qsamplerDeviceType { None, Midi, Audio };
91    
92          // Constructor.          // Constructor.
93          qsamplerDevice(qsamplerMainForm *pMainForm,          qsamplerDevice(qsamplerDeviceType deviceType, int iDeviceID = -1);
                 qsamplerDeviceType deviceType, int iDeviceID = -1);  
94          // Copy constructor.          // Copy constructor.
95      qsamplerDevice(const qsamplerDevice& device);      qsamplerDevice(const qsamplerDevice& device);
96          // Default destructor.          // Default destructor.
# Line 103  public: Line 102  public:
102          // Driver name initializer.          // Driver name initializer.
103          void setDriver(const QString& sDriverName);          void setDriver(const QString& sDriverName);
104    
         // LSCP client descriptor accessor.  
         lscp_client_t *client() const;  
   
105          // Device property accessors.          // Device property accessors.
106          int                 deviceID()   const;          int                 deviceID()   const;
107          qsamplerDeviceType  deviceType() const;          qsamplerDeviceType  deviceType() const;
# Line 221  class qsamplerDeviceItem : public QListV Line 217  class qsamplerDeviceItem : public QListV
217  public:  public:
218    
219          // Constructors.          // Constructors.
220          qsamplerDeviceItem(QListView *pListView, qsamplerMainForm *pMainForm,          qsamplerDeviceItem(QListView *pListView,
221                  qsamplerDevice::qsamplerDeviceType deviceType);                  qsamplerDevice::qsamplerDeviceType deviceType);
222          qsamplerDeviceItem(QListViewItem *pItem, qsamplerMainForm *pMainForm,          qsamplerDeviceItem(QListViewItem *pItem,
223                  qsamplerDevice::qsamplerDeviceType deviceType, int iDeviceID);                  qsamplerDevice::qsamplerDeviceType deviceType, int iDeviceID);
224          // Default destructor.          // Default destructor.
225          ~qsamplerDeviceItem();          ~qsamplerDeviceItem();

Legend:
Removed from v.492  
changed lines
  Added in v.961

  ViewVC Help
Powered by ViewVC