30 |
#include "qsamplerOptions.h" |
#include "qsamplerOptions.h" |
31 |
|
|
32 |
class qsamplerDevice; |
class qsamplerDevice; |
|
class qsamplerMainForm; |
|
33 |
|
|
34 |
|
|
35 |
// Typedef'd QMap. |
// Typedef'd QMap. |
45 |
public: |
public: |
46 |
|
|
47 |
// Constructor. |
// Constructor. |
48 |
qsamplerChannel(qsamplerMainForm *pMainForm, int iChannelID = -1); |
qsamplerChannel(int iChannelID = -1); |
49 |
// Default destructor. |
// Default destructor. |
50 |
~qsamplerChannel(); |
~qsamplerChannel(); |
51 |
|
|
|
// Main application form accessor. |
|
|
qsamplerMainForm *mainForm() const; |
|
|
|
|
|
// Main application options accessor. |
|
|
qsamplerOptions *options() const; |
|
|
|
|
|
// LSCP client descriptor accessor. |
|
|
lscp_client_t * client() const; |
|
|
|
|
52 |
// Add/remove sampler channel methods. |
// Add/remove sampler channel methods. |
53 |
bool addChannel(); |
bool addChannel(); |
54 |
bool removeChannel(); |
bool removeChannel(); |
155 |
|
|
156 |
private: |
private: |
157 |
|
|
|
// Main application form reference. |
|
|
qsamplerMainForm *m_pMainForm; |
|
|
|
|
158 |
// Unique channel identifier. |
// Unique channel identifier. |
159 |
int m_iChannelID; |
int m_iChannelID; |
160 |
|
|