19#ifndef DRUMSTICK_SUBSCRIPTION_H
20#define DRUMSTICK_SUBSCRIPTION_H
23 #include <alsa/asoundlib.h>
53 explicit Subscriber(snd_seq_query_subscribe_t* other);
56 int getSizeOfInfo()
const;
60 const snd_seq_addr_t* getRoot();
61 snd_seq_query_subs_type_t getType();
64 const snd_seq_addr_t* getAddr();
69 void setClient(
int client);
70 void setPort(
int port);
71 void setRoot(snd_seq_addr_t* addr);
72 void setType(snd_seq_query_subs_type_t type);
73 void setIndex(
int index);
77 snd_seq_query_subscribe_t* m_Info;
95 int getSizeOfInfo()
const;
97 void setSender(
unsigned char client,
unsigned char port);
98 void setDest(
unsigned char client,
unsigned char port);
102 const snd_seq_addr_t* getSender();
103 const snd_seq_addr_t* getDest();
106 bool getTimeUpdate();
108 void setSender(
const snd_seq_addr_t* addr);
109 void setDest(
const snd_seq_addr_t* addr);
110 void setQueue(
int queue);
111 void setExclusive(
bool val);
112 void setTimeUpdate(
bool val);
113 void setTimeReal(
bool val);
117 snd_seq_port_subscribe_t* m_Info;
Port information container.
Subscriber container class.
QList< Subscription > SubscriptionsList
List of subscriptions.
QList< Subscriber > SubscribersList
List of subscribers.
Drumstick visibility macros.