00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00020 #ifndef PLUGINTYPES_H
00021 #include "plugintypes.h"
00022 #endif
00023
00024 #ifdef __cplusplus
00025 extern "C" {
00026 #endif
00027
00033 int findObject(const char *object, const char *type);
00034
00039 const char *typeOfObject(const char *object);
00040
00046 char *getPropertyAsString(const char *object, const char *property);
00047
00053 int setPropertyAsString(const char *object, const char *property, const char *value);
00054
00064 char *callMethod(const char *object, const char *method, int numargs, const char *args[]);
00065
00073 void callMethodNoReturn(const char *object, const char *method, int numargs, const char *args[]);
00074
00079 int registerObject(const char *name);
00080
00095 int registerPropertyDL(const char *object, const char *property, const char *getter, const char *setter);
00096
00108 int registerEventHandlerDL(const char *object, const char *event, const char *eventfunc);
00109
00123 int registerMethodDL(const char *object, const char *method, int numargs, const char *methodfunc);
00124
00131 int fireEvent(const char *object, const char *event);
00132
00137 const struct plugin_info *getPluginInfo(const char *name);
00138
00144 void setPluginInfo(const char *namestring, const char *verstring);
00145
00148 void requestUnload(void);
00149
00154 int changePage(const char *pagename);
00155
00161 int loadXMLFile(const char *filename, const char *pagename);
00162
00167 int performAction(const char *actionname);
00168
00173 int isPluginLoaded(const char *name);
00174
00182 int unregisterObject(const char *name);
00183
00191 int unregisterEventHandlerDL(const char *object, const char *event);
00192
00200 int createWidget(const char *name, const char *type, const char *templatename);
00201
00206 int createPage(const char *name);
00207
00214 int cloneWidget(const char *original, const char *duplicate);
00215
00220 int deleteWidget(const char *name);
00221
00227 int deletePage(const char *name);
00228
00237 int runScript(const char *code, int flags);
00238
00239 #ifdef __cplusplus
00240 }
00241 #endif