mirror of
https://github.com/huihut/interview.git
synced 2024-03-22 13:10:48 +08:00
18 lines
322 B
C++
18 lines
322 B
C++
//
|
|
// 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
|