get rid of strings
This commit is contained in:
parent
858157c7a0
commit
3d9bdd5897
|
@ -8,20 +8,15 @@ namespace ratgdo {
|
||||||
|
|
||||||
// Forward declare RATGDOComponent
|
// Forward declare RATGDOComponent
|
||||||
class RATGDOComponent;
|
class RATGDOComponent;
|
||||||
// Forward declare enums
|
|
||||||
enum DoorState;
|
|
||||||
enum LightState;
|
|
||||||
enum LockState;
|
|
||||||
enum MotionState;
|
|
||||||
enum ObstructionState;
|
|
||||||
|
|
||||||
class RATGDOClient : public Parented<RATGDOComponent> {
|
class RATGDOClient : public Parented<RATGDOComponent> {
|
||||||
public:
|
public:
|
||||||
virtual void on_door_state(DoorState state) = 0;
|
virtual void on_door_state(RATGDOComponent::DoorState state) = 0;
|
||||||
virtual void on_light_state(LightState state) = 0;
|
virtual void on_light_state(RATGDOComponent::LightState state) = 0;
|
||||||
virtual void on_lock_state(LockState state) = 0;
|
virtual void on_lock_state(RATGDOComponent::LockState state) = 0;
|
||||||
virtual void on_motion_state(MotionState state) = 0;
|
virtual void on_motion_state(RATGDOComponent::MotionState state) = 0;
|
||||||
virtual void on_obstruction_state(ObstructionState state) = 0;
|
virtual void on_obstruction_state(RATGDOComponent::ObstructionState state) = 0;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
friend RATGDOComponent;
|
friend RATGDOComponent;
|
||||||
|
|
Loading…
Reference in New Issue