20 #ifndef _MFORMS_DOCKINGPOINT_H_
21 #define _MFORMS_DOCKINGPOINT_H_
26 #include "base/geometry.h"
27 #include "base/drawing.h"
34 #ifndef DOXYGEN_SHOULD_SKIP_THIS
38 friend class DockingPoint;
40 DockingPoint *_dpoint;
42 virtual ~DockingPointDelegate() {};
44 virtual std::string get_type() = 0;
45 virtual void dock_view(AppView *view,
const std::string &arg1,
int arg2) = 0;
46 virtual bool select_view(AppView *view) = 0;
47 virtual void undock_view(AppView *view) = 0;
48 virtual void set_view_title(AppView *view,
const std::string &title) = 0;
49 virtual std::pair<int, int> get_size() = 0;
65 DockingPoint(DockingPointDelegate *delegate,
bool delete_on_destroy);
71 std::string get_type();
81 void dock_view(
AppView *view,
const std::string &arg1 =
"",
int arg2 = 0);
88 bool select_view(
AppView *view);
92 void undock_view(
AppView *view);
101 void set_view_title(
AppView *view,
const std::string &title);
104 std::pair<int, int> get_size();