Main Page   File List   File Members  

eboxyplugin.h

Go to the documentation of this file.
00001 /***************************************************************************
00002          eboxyplugin.h - plugin client library header (external C header)
00003                              -------------------
00004     begin                : Thu Oct 3 2002
00005     copyright            : (C) 2002 by Paul Eggleton
00006     email                : bluelightning\bluelightning.org
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 
00020 #ifndef PLUGINTYPES_H
00021 #include "plugintypes.h"
00022 #endif
00023 
00029 int findObject(const char *object, const char *type);
00030 
00035 const char *typeOfObject(const char *object);
00036 
00042 const char *getPropertyAsString(const char *object, const char *property);
00043 
00049 void setPropertyAsString(const char *object, const char *property, const char *value);
00050 
00059 const char *callMethod(const char *object, const char *method, int numargs, const char *args[]);
00060 
00065 int registerObject(const char *name);
00066 
00081 int registerPropertyDL(const char *object, const char *property, const char *getter, const char *setter);
00082 
00094 int registerEventHandlerDL(const char *object, const char *event, const char *eventfunc);
00095 
00109 int registerMethodDL(const char *object, const char *method, int numargs, const char *methodfunc);
00110 
00117 int fireEvent(const char *object, const char *event);
00118 
00123 const struct plugin_info *getPluginInfo(const char *name);
00124 
00130 void setPluginInfo(const char *namestring, const char *verstring);
00131 
00134 void requestUnload(void);
00135 
00140 int changePage(const char *pagename);
00141 
00147 int loadXMLFile(const char *filename, const char *pagename);
00148 
00153 int performAction(const char *actionname);
00154 
00159 int isPluginLoaded(const char *name);
00160 
00168 int unregisterObject(const char *name);
00169 
00177 int unregisterEventHandlerDL(const char *object, const char *event);
00178 
00186 int createWidget(const char *name, const char *type, const char *templatename);
00187 
00192 int createPage(const char *name);
00193 
00200 int cloneWidget(const char *original, const char *duplicate);
00201 
00206 int deleteWidget(const char *name);
00207 
00213 int deletePage(const char *name);
00214 
00223 int runScript(const char *code, int flags);

Generated on Sun Jun 15 22:32:51 2003 for eboxy by doxygen1.2.16