瀏覽代碼

Make hardware detection methods static

Neal Wilson 11 年之前
父節點
當前提交
3e5e34b7f6
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. 2
    2
      src/dataqsdk.w

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

@@ -30,8 +30,8 @@ class DataqSdkDevice : public QObject
30 30
 		Channel* newChannel(Units::Unit scale);
31 31
 		Q_INVOKABLE void setClockRate(double Hz);
32 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 37
 @ The |DataqSdkDevice| class has as a private member an instance of a class

Loading…
取消
儲存