mirror of
https://github.com/kunkundi/crossdesk.git
synced 2026-09-01 14:33:18 +08:00
26 lines
459 B
C++
26 lines
459 B
C++
/*
|
|
* @Author: DI JUNKUN
|
|
* @Date: 2023-12-14
|
|
* Copyright (c) 2023 by DI JUNKUN, All Rights Reserved.
|
|
*/
|
|
|
|
#ifndef _DEVICE_CONTROLLER_FACTORY_H_
|
|
#define _DEVICE_CONTROLLER_FACTORY_H_
|
|
|
|
#include "device_controller.h"
|
|
|
|
namespace crossdesk {
|
|
|
|
class DeviceControllerFactory {
|
|
public:
|
|
enum Device { Mouse = 0, Keyboard };
|
|
|
|
public:
|
|
virtual ~DeviceControllerFactory() {}
|
|
|
|
public:
|
|
DeviceController* Create(Device device);
|
|
};
|
|
} // namespace crossdesk
|
|
#endif
|