20 #ifndef _MFORMS_APPVIEW_H_
21 #define _MFORMS_APPVIEW_H_
26 #include "base/ui_form.h"
36 #ifndef DOXYGEN_SHOULD_SKIP_THIS
38 struct AppViewImplPtrs
42 bool (*create)(AppView *
self,
bool horizontal);
76 AppView(
bool horiz,
const std::string &context_name,
bool is_main);
78 #ifndef DOXYGEN_SHOULD_SKIP_THIS
79 AppView(
bool horiz,
const std::string &context_name,
bool is_main);
86 void set_title(
const std::string &title);
88 virtual std::string get_title();
93 void set_identifier(
const std::string &identifier) { _identifier= identifier; }
106 void set_on_close(
const boost::function<
bool ()> &slot) { _on_close_slot= slot; }
116 virtual bool on_close();