cInterface cDBInterface cImportInterface cInterface.h iType iTypeImport = 0 import plugin iTypeExport = 1 export plugin iTypeDB = 2 database connector Defines the type of the interface. qint16 virtual qint16 cInterface::pluginAPIVersion ()=0 pluginAPIVersion pluginAPIVersion pluginAPIVersion pluginAPIVersion pluginAPIVersion Returns the version of the API. This function must be derived by the subclass. qint16 version of the API cPlugin::pluginAPIVersion QString virtual QString cInterface::pluginName ()=0 pluginName pluginName pluginName pluginName pluginName Returns the name of the plugin. This function must be derived by the subclass. The name must be unique and will also be used to store configuration settings. QString name of the plugin. cMainWindow::pluginDBTriggered cPlugin::pluginName qint16 virtual qint16 cInterface::pluginVersion ()=0 pluginVersion pluginVersion pluginVersion pluginVersion pluginVersion Version of the plugin. This function must be derived by the subclass. qint16 version of the plugin. cPlugin::pluginVersion iType virtual iType cInterface::pluginType ()=0 pluginType pluginType pluginType pluginType pluginType Returns the type of the plugin. This function must be derived by the subclass. iType type of the plugin (see enum iType). bool virtual bool cInterface::config ()=0 config config config config config Calls the configuration dialog (if any). This function must be derived by the subclass. bool true on success, false otherwise. cMainWindow::pluginDBTriggered cOptionsPlugins::showConfigDlg This is the base class for all plugins. This class implements basic interface functionality for all Kooky plugins. All functions may be overwritten by derriving classes.Do not subclass this class directly, always use the appropriate subclass: cDBInterface for database connectors, cImportInterface for import plugins and cExportInterface for export plugins. Herwig Birke 1.0 2016/02/09 cInterfaceconfig cInterfaceiType cInterfaceiTypeDB cInterfaceiTypeExport cInterfaceiTypeImport cInterfacepluginAPIVersion cInterfacepluginName cInterfacepluginType cInterfacepluginVersion