refs #403 add BlackInput shared library build

This commit is contained in:
Roland Winklmeier
2015-04-10 21:53:56 +02:00
parent d0302c275a
commit 9c81467fe9
7 changed files with 40 additions and 6 deletions

View File

@@ -12,6 +12,7 @@
//! \file
#include "blackinput/blackinputexport.h"
#include "blackinput/joystick.h"
#include "blackmisc/hardware/joystickbutton.h"
#include "blackmisc/collection.h"
@@ -46,7 +47,7 @@ namespace BlackInput
bool operator == (CJoystickDeviceData const &lhs, CJoystickDeviceData const &rhs);
//! Windows implemenation of IJoystick with DirectInput
class CJoystickWindows : public IJoystick
class BLACKINPUT_EXPORT CJoystickWindows : public IJoystick
{
Q_OBJECT

View File

@@ -10,6 +10,7 @@
#ifndef BLACKINPUT_KEYBOARD_WINDOWS_H
#define BLACKINPUT_KEYBOARD_WINDOWS_H
#include "blackinput/blackinputexport.h"
#include "blackinput/keyboard.h"
#include "blackmisc/hardware/keyboardkey.h"
#include "blackmisc/hardware/keyboardkeylist.h"
@@ -23,7 +24,7 @@ namespace BlackInput
{
//! \brief Windows implemenation of IKeyboard using hook procedure
//! \todo Change QHash to a CCollection object
class CKeyboardWindows : public IKeyboard
class BLACKINPUT_EXPORT CKeyboardWindows : public IKeyboard
{
Q_OBJECT
public:

View File

@@ -7,6 +7,7 @@
#ifndef BLACKINPUT_KEYMAPPING_WINDOWS_H
#define BLACKINPUT_KEYMAPPING_WINDOWS_H
#include "blackinput/blackinputexport.h"
#include "blackmisc/hardware/keyboardkey.h"
#ifndef NOMINMAX
#define NOMINMAX
@@ -16,7 +17,7 @@
namespace BlackInput
{
//! \brief This class provides methods to map between windows virtual keys and CKeyboardKey
class CKeyMappingWindows
class BLACKINPUT_EXPORT CKeyMappingWindows
{
public:
/*!