X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Finput%2Fgamecontroller.h;h=8fbaea90f7eb86e8f528834c6a55d6de2266bdb4;hb=b99a9eb342d0f6ba5509c6d9f8ab0b0b5d5d2979;hp=19f98d5c0c075085e41171d9bbb354476916e701;hpb=43d31e73c4b97a37017757232c4ef1db355fee3a;p=libs%2Fgui.git diff --git a/source/input/gamecontroller.h b/source/input/gamecontroller.h index 19f98d5..8fbaea9 100644 --- a/source/input/gamecontroller.h +++ b/source/input/gamecontroller.h @@ -1,6 +1,7 @@ #ifndef MSP_INPUT_GAMECONTROLLER_H_ #define MSP_INPUT_GAMECONTROLLER_H_ +#include #include #include #include "device.h" @@ -8,13 +9,13 @@ namespace Msp { namespace Input { -class GameController: public Device +class MSPGUI_API GameController: public Device { private: struct Private; - Private *priv; - IO::EventDispatcher *event_disp; + Private *priv = nullptr; + IO::EventDispatcher *event_disp = nullptr; static bool detect_done; static unsigned n_detected_controllers;