cpp-interview/DesignPattern/BridgePattern/implementor.h

18 lines
322 B
C
Raw Normal View History

//
// Created by xiemenghui on 2018/7/21.
//
#ifndef DESIGNPATTERN_IMPLEMENTOR_H
#define DESIGNPATTERN_IMPLEMENTOR_H
// Electric equipment
class IElectricalEquipment
{
public:
virtual ~IElectricalEquipment(){}
virtual void PowerOn() = 0;
virtual void PowerOff() = 0;
};
#endif //DESIGNPATTERN_IMPLEMENTOR_H