cInterface class Reference #include <cInterface.h> Inheritance diagram for cInterface
Inheritance graph
Collaboration diagram for cInterface
Collaboration graph
enum iType { iTypeImport= 0, iTypeExport= 1, iTypeDB= 2 } Defines the type of the interface.
virtual qint16 pluginAPIVersion ( )Returns the version of the API. virtual QString pluginName ( )Returns the name of the plugin. virtual qint16 pluginVersion ( )Version of the plugin. virtual iType pluginType ( )Returns the type of the plugin. virtual bool config ( )Calls the configuration dialog (if any).
Detailed Description This class implements basic interface functionality for all Kooky plugins. All functions may be overwritten by derriving classes. Note: Do not subclass this class directly, always use the appropriate subclass: cDBInterface for database connectors, cImportInterface for import plugins and cExportInterface for export plugins. Author: Herwig Birke Version: 1.0 Date: 2016/02/09 Definition at line 32 of file cInterface.h The Documentation for this struct was generated from the following file: cInterface.h
virtual qint16 cInterface::pluginAPIVersion ()=0 Note: This function must be derived by the subclass. Returns: qint16 version of the API
virtual QString cInterface::pluginName ()=0 Note: This function must be derived by the subclass. The name must be unique and will also be used to store configuration settings. Returns: QString name of the plugin.
virtual qint16 cInterface::pluginVersion ()=0 Note: This function must be derived by the subclass. Returns: qint16 version of the plugin.
virtual iType cInterface::pluginType ()=0 Note: This function must be derived by the subclass. Returns: iType type of the plugin (see enum iType).
virtual bool cInterface::config ()=0 Note: This function must be derived by the subclass. Returns: bool true on success, false otherwise.