MySQL Workbench  6.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
mforms.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2008, 2013, Oracle and/or its affiliates. All rights reserved.
3  *
4  * This program is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU General Public License as
6  * published by the Free Software Foundation; version 2 of the
7  * License.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with this program; if not, write to the Free Software
16  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
17  * 02110-1301 USA
18  */
19 #ifndef _MFORMS_H_
20 #define _MFORMS_H_
21 
22 
57 #include <mforms/view.h>
58 #include <mforms/form.h>
59 #include <mforms/button.h>
60 #include <mforms/checkbox.h>
61 #include <mforms/textentry.h>
62 #include <mforms/textbox.h>
63 #include <mforms/label.h>
64 #include <mforms/selector.h>
65 #include <mforms/listbox.h>
66 #include <mforms/tabview.h>
67 #include <mforms/box.h>
68 #include <mforms/panel.h>
69 #include <mforms/filechooser.h>
70 #include <mforms/radiobutton.h>
71 #include <mforms/imagebox.h>
72 #include <mforms/progressbar.h>
73 #include <mforms/table.h>
74 #include <mforms/scrollpanel.h>
75 #include <mforms/treenodeview.h>
76 #include <mforms/wizard.h>
77 #include <mforms/drawbox.h>
78 #include <mforms/tabswitcher.h>
79 #include <mforms/app.h>
80 #include <mforms/appview.h>
81 #include <mforms/utilities.h>
82 #include <mforms/uistyle.h>
83 #include <mforms/appview.h>
84 #include <mforms/sectionbox.h>
85 #include <mforms/widgets.h>
86 #include <mforms/menu.h>
87 #include <mforms/splitter.h>
88 #include <mforms/webbrowser.h>
89 #include <mforms/popup.h>
90 #include <mforms/code_editor.h>
91 #include <mforms/menubar.h>
92 #include <mforms/toolbar.h>
93 #include <mforms/hypertext.h>
94 #include <mforms/popover.h>
96 #include <mforms/simpleform.h>
97 #include <mforms/find_panel.h>
98 #include <mforms/native.h>
99 
100 #ifndef DOXYGEN_SHOULD_SKIP_THIS
101 namespace mforms
102 {
103  class MFORMS_EXPORT ControlFactory
104  {
105  private:
106  int _created;
107  int _destroyed;
108  public:
109  ViewImplPtrs _view_impl;
110  FormImplPtrs _form_impl;
111  BoxImplPtrs _box_impl;
112  ButtonImplPtrs _button_impl;
113  CheckBoxImplPtrs _checkbox_impl;
114  TextEntryImplPtrs _textentry_impl;
115  TextBoxImplPtrs _textbox_impl;
116  LabelImplPtrs _label_impl;
117  SelectorImplPtrs _selector_impl;
118  ListBoxImplPtrs _listbox_impl;
119  TabViewImplPtrs _tabview_impl;
120  PanelImplPtrs _panel_impl;
121  FileChooserImplPtrs _filechooser_impl;
122  RadioButtonImplPtrs _radio_impl;
123  ImageBoxImplPtrs _imagebox_impl;
124  ProgressBarImplPtrs _progressbar_impl;
125  TableImplPtrs _table_impl;
126  ScrollPanelImplPtrs _spanel_impl;
127  WizardImplPtrs _wizard_impl;
128  DrawBoxImplPtrs _drawbox_impl;
129  MenuImplPtrs _menu_impl;
130  SplitterImplPtrs _splitter_impl;
131  WebBrowserImplPtrs _webbrowser_impl;
132  PopupImplPtrs _popup_impl;
133  CodeEditorImplPtrs _code_editor_impl;
134  MenuItemImplPtrs _menu_item_impl;
135  ToolBarImplPtrs _tool_bar_impl;
136  HyperTextImplPtrs _hypertext_impl;
137  PopoverImplPtrs _popover_impl;
138 
139  AppImplPtrs _app_impl;
140  AppViewImplPtrs _app_view_impl;
141  UtilitiesImplPtrs _utilities_impl;
142  public:
143 
144  TreeNodeViewImplPtrs _treenodeview_impl;
145  FindPanelImplPtrs _findpanel_impl;
146 
147  ControlFactory();
148  ~ControlFactory();
149 
150  static ControlFactory *get_instance();
151 
152  void check_impl();
153  void shutdown();
154 
155  void instance_created();
156  void instance_destroyed();
157  };
158 };
159 
160 #endif
161 
162 #endif
#define MFORMS_EXPORT
Definition: base.h:33
MySQL Workbench 6.1 documentation