Changeset View
Changeset View
Standalone View
Standalone View
src/device.h
Show First 20 Lines • Show All 117 Lines • ▼ Show 20 Line(s) | 47 | public: | |||
---|---|---|---|---|---|
118 | quint32 cardIndex() const; | 118 | quint32 cardIndex() const; | ||
119 | QList<QObject *> ports() const; | 119 | QList<QObject *> ports() const; | ||
120 | quint32 activePortIndex() const; | 120 | quint32 activePortIndex() const; | ||
121 | virtual void setActivePortIndex(quint32 port_index) = 0; | 121 | virtual void setActivePortIndex(quint32 port_index) = 0; | ||
122 | virtual bool isDefault() const = 0; | 122 | virtual bool isDefault() const = 0; | ||
123 | virtual void setDefault(bool enable) = 0; | 123 | virtual void setDefault(bool enable) = 0; | ||
124 | bool isVirtualDevice() const; | 124 | bool isVirtualDevice() const; | ||
125 | 125 | | |||
126 | virtual Q_INVOKABLE void switchStreams() = 0; | ||||
127 | | ||||
126 | Q_SIGNALS: | 128 | Q_SIGNALS: | ||
127 | void stateChanged(); | 129 | void stateChanged(); | ||
128 | void nameChanged(); | 130 | void nameChanged(); | ||
129 | void descriptionChanged(); | 131 | void descriptionChanged(); | ||
130 | void formFactorChanged(); | 132 | void formFactorChanged(); | ||
131 | void cardIndexChanged(); | 133 | void cardIndexChanged(); | ||
132 | void portsChanged(); | 134 | void portsChanged(); | ||
133 | void activePortIndexChanged(); | 135 | void activePortIndexChanged(); | ||
Show All 22 Lines |