/*
* Copyright (C) 2005-2013 Team XBMC
- * http://www.xbmc.org
+ * http://xbmc.org
*
* This Program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
CLinuxInputDevice(const std::string fileName, int index);
~CLinuxInputDevice();
XBMC_Event ReadEvent();
- char* GetDeviceName();
+ const std::string& GetFileName();
bool IsUnplugged();
private:
XBMC_Event ReadEvent();
bool IsRemoteLowBattery();
bool IsRemoteNotPaired();
+ size_t Size() { return m_devices.size(); }
private:
CCriticalSection m_devicesListLock;
bool CheckDevice(const char *device);