From 1dc78bb5fd0ab4e3b18a6ea11a57794d6b165824 Mon Sep 17 00:00:00 2001 From: beru Date: Mon, 25 May 2015 10:40:00 +0900 Subject: [PATCH] add missing interface file --- .../gui/detail/widget_notifier_interface.hpp | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 include/nana/gui/detail/widget_notifier_interface.hpp diff --git a/include/nana/gui/detail/widget_notifier_interface.hpp b/include/nana/gui/detail/widget_notifier_interface.hpp new file mode 100644 index 00000000..5806e0a1 --- /dev/null +++ b/include/nana/gui/detail/widget_notifier_interface.hpp @@ -0,0 +1,22 @@ +#pragma once + +#include +#include + +namespace nana { +namespace detail { + +class widget_notifier_interface { +public: + virtual widget* widget_ptr() const = 0; + virtual void destroy() = 0; + virtual std::wstring caption() = 0; + virtual void caption(std::wstring text) = 0; + + static std::unique_ptr get_notifier(widget* wdg); +private: + widget::notifier* p; +}; + +} // namespace detail +} // namespace nana