mirror of
https://github.com/huihut/interview.git
synced 2024-03-22 13:10:48 +08:00
21 lines
335 B
C
21 lines
335 B
C
|
//
|
||
|
// Created by xiemenghui on 2018/7/20.
|
||
|
//
|
||
|
|
||
|
#ifndef DESIGNPATTERN_ADAPTEE_H
|
||
|
#define DESIGNPATTERN_ADAPTEE_H
|
||
|
|
||
|
#include <iostream>
|
||
|
|
||
|
// 自带的充电器(两脚扁型)
|
||
|
class OwnCharger
|
||
|
{
|
||
|
public:
|
||
|
void ChargeWithFeetFlat()
|
||
|
{
|
||
|
std::cout << "OwnCharger::ChargeWithFeetFlat\n";
|
||
|
}
|
||
|
};
|
||
|
|
||
|
#endif //DESIGNPATTERN_ADAPTEE_H
|