59 #include <OpenFlipper/BasePlugin/INIInterface.hh>
69 #if QT_VERSION >= 0x050000
70 Q_PLUGIN_METADATA(IID
"org.OpenFlipper.Plugins.Plugin-INI")
74 void log(
Logtype _type, QString _message);
75 void log(QString _message);
78 void loadIniFile(
INIFile& _ini ,
int _id);
79 void saveIniFile(
INIFile& _ini ,
int _id);
81 void noguiSupported( ) {} ;
90 QString name() {
return (QString(
"INIPlugin")); };
91 QString
description( ) {
return (QString(tr(
"Handle INI-files."))); };
93 QString
version() {
return QString(
"1.0"); };
97 template <
class Object>
98 void parseIniFileT(
INIFile& _ini, Object* _object);
101 template <
class Object>
102 void saveIniFileT(
INIFile& _ini, Object* _object);
113 #if defined(INCLUDE_TEMPLATES) && !defined(INIPLUGINT_C)
114 #define INIPLUGINT_TEMPLATES
115 #include "iniPluginT.cc"
119 #endif //INIPLUGIN_HH
Interface for all Plugins which provide scriptable Functions.
QString version()
Return a version string for your plugin.
Class for the handling of simple configuration files.
QString description()
Return a description of what the plugin is doing.
Interface for all Plugins which do logging to the logging window of the framework.
Interface class from which all plugins have to be created.
Logtype
Log types for Message Window.
Interface class for Plugins which have to store information in ini files.