mirror of
https://github.com/huihut/interview.git
synced 2026-03-13 10:02:55 +08:00
Design mode code comments are changed to English
https://github.com/huihut/interview/pull/73
This commit is contained in:
@@ -5,11 +5,11 @@
|
||||
#ifndef DESIGNPATTERN_OBSERVER_H
|
||||
#define DESIGNPATTERN_OBSERVER_H
|
||||
|
||||
// 抽象观察者
|
||||
// Abstract observer
|
||||
class IObserver
|
||||
{
|
||||
public:
|
||||
virtual void Update(float price) = 0; // 更新价格
|
||||
virtual void Update(float price) = 0; // Update price
|
||||
};
|
||||
|
||||
#endif //DESIGNPATTERN_OBSERVER_H
|
||||
|
||||
Reference in New Issue
Block a user