]> git.tdb.fi Git - libs/gui.git/blobdiff - source/input/linux/gamecontroller_platform.h
Add a missing include for GLContext on Windows
[libs/gui.git] / source / input / linux / gamecontroller_platform.h
index 61bcdb5d67e90eda4e6d1bfe4bb2c7a9040ea815..2951076806323b63a64d3a06863d93af10c637ed 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef GAMECONTROLLER_PRIVATE_H_
-#define GAMECONTROLLER_PRIVATE_H_
+#ifndef MSP_INPUT_GAMECONTROLLER_PLATFORM_H_
+#define MSP_INPUT_GAMECONTROLLER_PLATFORM_H_
 
 #include <msp/io/eventobject.h>
 #include <msp/io/handle.h>
@@ -14,6 +14,7 @@ private:
 
 public:
        JsDevice(const std::string &);
+       ~JsDevice();
 
        std::string get_name() const;
 
@@ -29,6 +30,8 @@ public:
 struct GameController::Private
 {
        JsDevice *dev;
+
+       static std::vector<std::string> detected_controllers;
 };
 
 } // namespace Input