mgncs.h
Go to the documentation of this file.00001
00027 #ifndef _MGNCS_H
00028 #define _MGNCS_H
00029
00030 #ifdef __cplusplus
00031 extern "C" {
00032 #endif
00033
00034 #include <stdarg.h>
00035
00036 #ifndef MGNCS_MAJOR_VERSION
00037 # ifdef __MGNCS_LIB__
00038 # if defined(__CMAKE_PROJECT__) || defined(WIN32)
00039 # include "mgncsconfig.h"
00040 # else
00041 # include "../mgncsconfig.h"
00042 # endif
00043 #else
00044 # include "mgncsconfig.h"
00045 # undef PACKAGE_BUGREPORT
00046 # undef PACKAGE_NAME
00047 # undef PACKAGE_STRING
00048 # undef PACKAGE_TARNAME
00049 # undef PACKAGE_VERSION
00050 #endif
00051 #endif
00052
00053 #include "mdblist.h"
00054 #include "mcommon.h"
00055 #include "mtype.h"
00056 #include "mem-slab.h"
00057 #include "hashtable.h"
00058 #include "mobject.h"
00059
00060 #include "mcomponent.h"
00061 #include "mwidget.h"
00062 #include "mpopmenumgr.h"
00063 #include "mtoolitem.h"
00064
00065 #include "piece.h"
00066 #include "mtoolbaritems.h"
00067
00068 #include "mscroll_widget.h"
00069
00070 #include "mpanel.h"
00071
00072 #ifdef _MGNCSCTRL_CONTAINER
00073 #include "mcontainer.h"
00074 #endif
00075
00076 #include "mstatic.h"
00077 #include "mimage.h"
00078
00079 #ifdef _MGNCSCTRL_RECTANGLE
00080 #include "mrect.h"
00081 #endif
00082
00083 #include "mgroupbox.h"
00084 #include "mbuttongroup.h"
00085 #include "mbutton.h"
00086 #include "mcheckbutton.h"
00087 #include "mradiobutton.h"
00088
00089 #ifdef _MGNCSCTRL_MENUBUTTON
00090 #include "mmenubutton.h"
00091 #endif
00092
00093 #include "mimagebutton.h"
00094
00095 #ifdef _MGNCSCTRL_PROGRESSBAR
00096 #include "mprogressbar.h"
00097 #endif
00098
00099 #ifdef _MGNCSCTRL_SPINNER
00100 #include "mspinner.h"
00101 #endif
00102
00103 #ifdef _MGNCSCTRL_SPINBOX
00104 #include "mspinbox.h"
00105 #endif
00106
00107 #ifdef _MGNCSCTRL_SLIDER
00108 #include "mslider.h"
00109 #endif
00110
00111 #ifdef _MGNCSCTRL_TRACKBAR
00112 #include "mtrackbar.h"
00113 #endif
00114
00115 #ifdef _MGNCSCTRL_PAGE
00116 #include "mpage.h"
00117 #endif
00118
00119 #ifdef _MGNCSCTRL_PROPSHEET
00120 #include "mpropsheet.h"
00121 #endif
00122
00123 #include "mmainwnd.h"
00124
00125 #ifdef _MGNCSCTRL_DIALOGBOX
00126 #include "mdialog.h"
00127 #endif
00128
00129 #include "mdblist.h"
00130 #include "mitem.h"
00131 #include "mitem_manager.h"
00132 #include "mitemview.h"
00133
00134 #ifdef _MGNCSCTRL_ICONVIEW
00135 #include "miconview.h"
00136 #endif
00137
00138 #include "mscrollview.h"
00139
00140 #include "mlistcolumn.h"
00141 #include "mlistitem.h"
00142
00143 #ifdef _MGNCSCTRL_LISTVIEW
00144 #include "mlistview.h"
00145 #endif
00146
00147 #ifdef _MGNCSCTRL_LISTBOX
00148 #include "mlistbox.h"
00149 #endif
00150
00151 #ifdef _MGNCSCTRL_SCROLLBAR
00152 #include "mscrollbar.h"
00153 #endif
00154
00155 #ifdef _MGNCSCTRL_MONTHCALENDAR
00156 #include "mmonthcalendar.h"
00157 #endif
00158
00159 #ifdef _MGNCSCTRL_TOOLBAR
00160 #include "mtoolbar.h"
00161 #endif
00162
00163 #include "minvisible-component.h"
00164 #include "mtimer.h"
00165
00166 #include "medit.h"
00167 #include "msledit.h"
00168
00169 #ifdef _MGNCSCTRL_ANIMATE
00170 #include "manimate.h"
00171 #endif
00172
00173 #include "mmledit.h"
00174
00175 #ifdef _MGNCSCTRL_COMBOBOX
00176 #include "mcombobox.h"
00177 #endif
00178
00179 #ifdef _MGNCSCTRL_LEDLABEL
00180 #include "mledstatic.h"
00181 #endif
00182
00183 #ifdef _MGNCSCTRL_COLORBUTTON
00184 #include "mcolorbutton.h"
00185 #endif
00186
00187 #include "mseparator.h"
00188
00189 #include "mnode.h"
00190 #include "mchecknode.h"
00191 #include "mradionode.h"
00192 #include "mabstractlist.h"
00193 #include "mlist_layout.h"
00194
00195 #ifdef _MGNCSCTRL_LIST
00196 #include "mlist.h"
00197 #endif
00198
00199 #include "mrdr.h"
00200
00201 #ifdef _MGNCSDB_DATASOURCE
00202 #include "mdatabinding.h"
00203 #include "mdatasource.h"
00204 #endif
00205
00206 #ifdef _MGNCSCTRL_TEXTEDITOR
00207 #include "mbtree.h"
00208 #include "mtexteditbase.h"
00209 #include "mtextedit.h"
00210 #endif
00211
00212 #include "mresmgr.h"
00213
00214 #ifdef _MGNCSENGINE_IME
00215 #include "mime.h"
00216 #endif
00217
00218 #ifdef _MGNCSCTRL_IMWORDSEL
00219 #include "mime-wordsel.h"
00220 #endif
00221
00222 typedef mMainWnd* (*PNCS_CREATE_MAIN)(HPACKAGE, HWND hParent, HICON h_icon, HMENU h_menu, DWORD);
00223
00224 #ifdef _MGRM_THREADS
00225 MGNCS_EXPORT mMainWnd* ncsSyncCallCreate(HWND host, PNCS_CREATE_MAIN pCreateMain, \
00226 HPACKAGE hPack, \
00227 HICON h_icon, \
00228 HMENU h_menu, \
00229 DWORD user);
00230 #else
00231
00232
00233 #define ncsSyncCallCreate(host, pCreate, hPack, h_icon, h_menu, user) \
00234 ((PNCS_CREATE_MAIN)(pCreate))(hPack, host, h_icon, h_menu, user)
00235
00236 #endif
00237
00238
00239
00244 MGNCS_EXPORT BOOL ncsInitialize(void);
00245
00250 MGNCS_EXPORT void ncsUninitialize(void);
00251
00252 #ifdef __cplusplus
00253 }
00254 #endif
00255
00256 #endif
00257