50 |
|
|
51 |
// LSCP client descriptor accessor. |
// LSCP client descriptor accessor. |
52 |
lscp_client_t * client(); |
lscp_client_t * client(); |
53 |
|
|
54 |
|
// Add/remove sampler channel methods. |
55 |
|
bool addChannel(); |
56 |
|
bool removeChannel(); |
57 |
|
|
58 |
// Sampler channel ID accessors. |
// Sampler channel ID accessors. |
59 |
int channelID(); |
int channelID(); |
60 |
void setChannelID(int iChannelID); |
void setChannelID(int iChannelID); |
61 |
|
|
62 |
|
// Readable channel name. |
63 |
|
QString channelName(); |
64 |
|
|
65 |
// Engine name property. |
// Engine name property. |
66 |
QString& engineName(); |
QString& engineName(); |
67 |
bool loadEngine(const QString& sEngineName); |
bool loadEngine(const QString& sEngineName); |
101 |
bool setVolume(float fVolume); |
bool setVolume(float fVolume); |
102 |
|
|
103 |
// Channel info structure map executive. |
// Channel info structure map executive. |
104 |
void updateChannelInfo(); |
bool updateChannelInfo(); |
105 |
|
|
106 |
// Reset channel method. |
// Reset channel method. |
107 |
void resetChannel(); |
bool resetChannel(); |
108 |
|
|
109 |
|
// Channel setup dialog form. |
110 |
|
bool channelSetup(QWidget *pParent); |
111 |
|
|
112 |
// Message logging methods (brainlessly mapped to main form's). |
// Message logging methods (brainlessly mapped to main form's). |
113 |
void appendMessages (const QString & s); |
void appendMessages (const QString & s); |
114 |
void appendMessagesColor (const QString & s, const QString & c); |
void appendMessagesColor (const QString & s, const QString & c); |
115 |
void appendMessagesText (const QString & s); |
void appendMessagesText (const QString & s); |
116 |
void appendMessagesError (const QString & s); |
void appendMessagesError (const QString & s); |
117 |
void appendMessagesClient (const QString & s); |
void appendMessagesClient (const QString & s); |
118 |
|
|
119 |
|
// Context menu event handler. |
120 |
|
void contextMenuEvent(QContextMenuEvent *pEvent); |
121 |
|
|
122 |
|
// Retrieve the available instrument name(s) of an instrument file (.gig). |
123 |
|
static QString getInstrumentName (const QString& sInstrumentFile, int iInstrumentNr); |
124 |
|
static QStringList getInstrumentList (const QString& sInstrumentFile); |
125 |
|
|
126 |
private: |
private: |
127 |
|
|