浏览代码

Make hardware detection methods static

Neal Wilson 12 年前
父节点
当前提交
3e5e34b7f6
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      src/dataqsdk.w

+ 2
- 2
src/dataqsdk.w 查看文件

30
 		Channel* newChannel(Units::Unit scale);
30
 		Channel* newChannel(Units::Unit scale);
31
 		Q_INVOKABLE void setClockRate(double Hz);
31
 		Q_INVOKABLE void setClockRate(double Hz);
32
 		Q_INVOKABLE void start();
32
 		Q_INVOKABLE void start();
33
-		QStringList detectPorts();
34
-		QStringList detectHardware(); // Friendly names
33
+		static QStringList detectPorts();
34
+		static QStringList detectHardware(); // Friendly names
35
 };
35
 };
36
 
36
 
37
 @ The |DataqSdkDevice| class has as a private member an instance of a class
37
 @ The |DataqSdkDevice| class has as a private member an instance of a class

正在加载...
取消
保存