1 |
// qsamplerDevice.h |
2 |
// |
3 |
/**************************************************************************** |
4 |
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 |
7 |
modify it under the terms of the GNU General Public License |
8 |
as published by the Free Software Foundation; either version 2 |
9 |
of the License, or (at your option) any later version. |
10 |
|
11 |
This program is distributed in the hope that it will be useful, |
12 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
13 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
14 |
GNU General Public License for more details. |
15 |
|
16 |
You should have received a copy of the GNU General Public License |
17 |
along with this program; if not, write to the Free Software |
18 |
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
19 |
|
20 |
*****************************************************************************/ |
21 |
|
22 |
#ifndef __qsamplerDevice_h |
23 |
#define __qsamplerDevice_h |
24 |
|
25 |
#include <qtable.h> |
26 |
|
27 |
#include <lscp/client.h> |
28 |
#include <lscp/device.h> |
29 |
|
30 |
#include "qsamplerOptions.h" |
31 |
|
32 |
|
33 |
//------------------------------------------------------------------------- |
34 |
// qsamplerDeviceParameterTable - Device parameter view table. |
35 |
// |
36 |
|
37 |
class qsamplerDeviceParameterTable : public QTable |
38 |
{ |
39 |
Q_OBJECT |
40 |
|
41 |
public: |
42 |
|
43 |
// Constructor. |
44 |
qsamplerDeviceParameterTable(QWidget *pParent = 0, const char *pszName = 0); |
45 |
// Default destructor. |
46 |
~qsamplerDeviceParameterTable(); |
47 |
|
48 |
// LSCP client descriptor accessor. |
49 |
void setClient(lscp_client_t *pClient); |
50 |
lscp_client_t * client(); |
51 |
|
52 |
private: |
53 |
|
54 |
// LSCP client reference. |
55 |
lscp_client_t *m_pClient; |
56 |
}; |
57 |
|
58 |
|
59 |
#endif // __qsamplerDevice_h |
60 |
|
61 |
|
62 |
// end of qsamplerDevice.h |