add missing interface file

This commit is contained in:
beru 2015-05-25 10:40:00 +09:00
parent ff198063ce
commit 1dc78bb5fd

View File

@ -0,0 +1,22 @@
#pragma once
#include <memory>
#include <nana/gui/widgets/widget.hpp>
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<widget_notifier_interface> get_notifier(widget* wdg);
private:
widget::notifier* p;
};
} // namespace detail
} // namespace nana