1 |
// qsamplerDevice.cpp |
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 |
#include "qsamplerDevice.h" |
23 |
|
24 |
#include "qsamplerMainForm.h" |
25 |
#include "qsamplerDeviceForm.h" |
26 |
|
27 |
#include "config.h" |
28 |
|
29 |
|
30 |
//------------------------------------------------------------------------- |
31 |
// qsamplerDeviceParameterTable - Device parameter view table. |
32 |
// |
33 |
|
34 |
// Constructor. |
35 |
qsamplerDeviceParameterTable::qsamplerDeviceParameterTable ( QWidget *pParent, const char *pszName ) |
36 |
: QTable(pParent, pszName) |
37 |
{ |
38 |
m_pClient = NULL; |
39 |
} |
40 |
|
41 |
// Default destructor. |
42 |
qsamplerDeviceParameterTable::~qsamplerDeviceParameterTable (void) |
43 |
{ |
44 |
} |
45 |
|
46 |
|
47 |
// The client descriptor property accessors. |
48 |
void qsamplerDeviceParameterTable::setClient ( lscp_client_t *pClient ) |
49 |
{ |
50 |
m_pClient = pClient; |
51 |
} |
52 |
|
53 |
lscp_client_t *qsamplerDeviceParameterTable::client (void) |
54 |
{ |
55 |
return m_pClient; |
56 |
} |
57 |
|
58 |
|
59 |
// end of qsamplerDevice.cpp |