OSDN Git Service

fix cmake/Macros.cmake
[moflib/moflib.git] / moflib-1.0 / moflib / moflib / mof / widget / Widget.hpp
1 #pragma once
2 #include <mof/widget/WidgetView.hpp>
3 #include <mof/stream/Manipulator.hpp>
4 #include <boost/utility.hpp>
5 #include <memory>
6
7 namespace mof
8 {
9 namespace widget
10 {
11
12         class Widget : public boost::noncopyable 
13     {
14         public:
15                 virtual ~Widget(){}
16                 virtual FrameNumber show(bool imidiately = false) = 0;
17                 virtual FrameNumber hide(bool imidiately = false) = 0;
18         virtual const std::shared_ptr<WidgetView> getView() const = 0;
19         virtual std::shared_ptr<WidgetView> getView() = 0;
20                 virtual void update() = 0;
21         };
22
23 }
24 }