InputCommon: Split Device stuff out

The ExpressionParser needs this to be out of here to prevent issues
with cyclic references.
This commit is contained in:
Jasper St. Pierre
2013-06-16 20:07:10 -04:00
parent 143d2eccb4
commit 877106b027
30 changed files with 448 additions and 451 deletions

View File

@ -23,7 +23,7 @@ namespace ciface
namespace Android
{
void Init( std::vector<ControllerInterface::Device*>& devices )
void Init( std::vector<Core::Device*>& devices )
{
devices.push_back(new Touchscreen());
}

View File

@ -17,7 +17,7 @@
#ifndef _CIFACE_ANDROID_H_
#define _CIFACE_ANDROID_H_
#include "../ControllerInterface.h"
#include "../Device.h"
#include "Android/ButtonManager.h"
namespace ciface
@ -25,8 +25,8 @@ namespace ciface
namespace Android
{
void Init( std::vector<ControllerInterface::Device*>& devices );
class Touchscreen : public ControllerInterface::Device
void Init( std::vector<Core::Device*>& devices );
class Touchscreen : public Core::Device
{
private:
class Button : public Input