[Kst] kdeextragear-2/kst/kst

George Staikos staikos at kde.org
Tue May 6 23:27:51 CEST 2003


CVS commit by staikos: 

Representation class for a plugin - presently empty until we get a plugin
example and can complete the plugin loader


  M +14 -0     plugin.cpp   1.3
  M +16 -0     plugin.h   1.3


--- kdeextragear-2/kst/kst/plugin.cpp  #1.2:1.3
@@ -20,4 +20,18 @@
 
 
+Plugin::Plugin() {
+}
+
+
+Plugin::~Plugin() {
+}
+
+
+const PluginData& Plugin::data() const {
+  return _data;
+}
+
+
+
 void PluginData::clear() {
   _name = QString::null;

--- kdeextragear-2/kst/kst/plugin.h  #1.2:1.3
@@ -69,4 +70,19 @@ public:
   QMap<QString, QPair<ParameterTypes, QString> > _parameters;
 };
+
+
+class Plugin {
+friend class PluginLoader;
+public:
+  ~Plugin();
+
+  const PluginData& data() const;
+  
+protected:
+  Plugin();
+
+  PluginData _data;
+};
+
 
 




More information about the Kst mailing list