aboutsummaryrefslogtreecommitdiff
path: root/xbmc/games/ports/PortMapper.h
diff options
context:
space:
mode:
Diffstat (limited to 'xbmc/games/ports/PortMapper.h')
-rw-r--r--xbmc/games/ports/PortMapper.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/xbmc/games/ports/PortMapper.h b/xbmc/games/ports/PortMapper.h
index 4d14445812..666837dc0b 100644
--- a/xbmc/games/ports/PortMapper.h
+++ b/xbmc/games/ports/PortMapper.h
@@ -32,12 +32,17 @@ namespace JOYSTICK
}
}
+namespace PERIPHERALS
+{
+ class CPeripherals;
+}
+
namespace GAME
{
class CPortMapper : public Observer
{
public:
- CPortMapper();
+ CPortMapper(PERIPHERALS::CPeripherals& peripheralManager);
virtual ~CPortMapper();
@@ -46,6 +51,10 @@ namespace GAME
private:
void ProcessPeripherals();
+ // Construction parameters
+ PERIPHERALS::CPeripherals& m_peripheralManager;
+
+ // Port paremters
std::map<PERIPHERALS::PeripheralPtr, KODI::JOYSTICK::IInputHandler*> m_portMap;
};
}