Rename 'probe' to 'channel' everywhere.
[pulseview.git] / pv / device / devinst.h
index 7f467cf442be629771fa776e327e2b9e9dab9f49..5a994372d347ca76dca32d151760a6b735d358a9 100644 (file)
@@ -34,9 +34,9 @@ struct sr_dev_inst;
 struct sr_channel;
 struct sr_channel_group;
 
-namespace pv {
+#include <pv/sigsession.h>
 
-class SigSession;
+namespace pv {
 
 namespace device {
 
@@ -64,7 +64,7 @@ public:
 
        GVariant* list_config(const sr_channel_group *group, int key);
 
-       void enable_probe(const sr_channel *probe, bool enable = true);
+       void enable_channel(const sr_channel *channel, bool enable = true);
 
        /**
         * @brief Gets the sample limit from the driver.
@@ -81,7 +81,7 @@ public:
 
        virtual void run();
 
-signals:
+Q_SIGNALS:
        void config_changed();
 
 protected: