Browse Source

Make hardware detection methods static

Neal Wilson 11 years ago
parent
commit
3e5e34b7f6
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      src/dataqsdk.w

+ 2
- 2
src/dataqsdk.w View File

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

Loading…
Cancel
Save