20 #ifndef DRUMSTICK_SUBSCRIPTION_H
21 #define DRUMSTICK_SUBSCRIPTION_H
51 int getSizeOfInfo()
const;
55 const snd_seq_addr_t* getRoot();
56 snd_seq_query_subs_type_t getType();
59 const snd_seq_addr_t* getAddr();
64 void setClient(
int client);
65 void setPort(
int port);
66 void setRoot(snd_seq_addr_t* addr);
67 void setType(snd_seq_query_subs_type_t type);
68 void setIndex(
int index);
72 snd_seq_query_subscribe_t* m_Info;
90 int getSizeOfInfo()
const;
92 void setSender(
unsigned char client,
unsigned char port);
93 void setDest(
unsigned char client,
unsigned char port);
97 const snd_seq_addr_t* getSender();
98 const snd_seq_addr_t* getDest();
101 bool getTimeUpdate();
103 void setSender(
const snd_seq_addr_t* addr);
104 void setDest(
const snd_seq_addr_t* addr);
105 void setQueue(
int queue);
106 void setExclusive(
bool val);
107 void setTimeUpdate(
bool val);
108 void setTimeReal(
bool val);
112 snd_seq_port_subscribe_t* m_Info;
129 #endif //DRUMSTICK_SUBSCRIPTION_H