MT Showcase SDK
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
NetworkDetector.hpp
1 #ifndef NETWORKDETECTOR_HPP
2 #define NETWORKDETECTOR_HPP
3 
4 #include "Export.hpp"
5 
6 #include <QString>
7 
8 namespace Showcase
9 {
10  class SHOWCASE_API NetworkDetector
11  {
12  public:
13  struct NetworkSettings
14  {
15  NetworkSettings() : dhcp(false) {}
16  QString ip;
17  QString netmask;
18  QString mac;
19  QString gateway;
20  bool dhcp;
21  };
22 
24  static NetworkSettings detectNetworkSettings();
25  };
26 }
27 
28 #endif // NETWORKDETECTOR_HPP