Design Patterns
window_imp.h
Go to the documentation of this file.
1 // Based on "Design Patterns: Elements of Reusable Object-Oriented Software"
2 // book by Erich Gamma, John Vlissides, Ralph Johnson, and Richard Helm
3 //
4 // Created by Bartosz Rachwal. The National Institute of Advanced Industrial Science and Technology, Japan.
5 
6 #ifndef STRUCTURAL_BRIDGE_WINDOW_IMP_H_
7 #define STRUCTURAL_BRIDGE_WINDOW_IMP_H_
8 
9 #include<string>
10 
11 namespace structural
12 {
13 namespace bridge
14 {
15 class WindowImp
16 {
17  public:
18  virtual ~WindowImp() { }
19 
20  virtual void DeviceRect(float, float, float, float) = 0;
21  virtual void DeviceText(const std::string& text, float, float) = 0;
22 };
23 }
24 }
25 
26 #endif
27 
Definition: window_imp.h:15
Definition: shape_interface.h:11
virtual ~WindowImp()
Definition: window_imp.h:18
virtual void DeviceText(const std::string &text, float, float)=0
virtual void DeviceRect(float, float, float, float)=0