Generate mouse/keyboard events from your mouse.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
interception/MouseDll/deviceConfig.hpp

48 lines
1.1 KiB

#ifndef DEVICECONFIG_HPP
#define DEVICECONFIG_HPP
#include "appProfile.hpp"
#include "utils.hpp"
struct ApiDeviceConfig ;
// ---------------------------------------------------------------------
class DeviceConfig
{
// constructors/destructor:
public:
DeviceConfig(
const ApiDeviceConfig* pDeviceConfig ,
const ApiAppProfile* pAppProfiles , int nAppProfiles ,
const ApiEvent* pEvents , int nEvents ,
const ApiAction* pActions , int nActions
) ;
DISABLE_COPY_ASSIGNMENT( DeviceConfig ) ;
// access methods:
public:
int deviceId() const ;
const int strokeHistoryResetInterval() const ;
const AppProfilePtrVector& appProfiles() const ;
// miscellaneous methods:
public:
void dumpDeviceConfig( std::ostream& os , const char* pPrefix="" ) const ;
// data members:
private:
int mDeviceId ;
int mStrokeHistoryResetInterval ;
AppProfilePtrVector mAppProfiles ;
} ;
// inserter
std::ostream& operator<<( std::ostream& , const DeviceConfig& ) ;
// ---------------------------------------------------------------------
#endif // DEVICECONFIG_HPP