summaryrefslogtreecommitdiffstats
path: root/akregator/src/storagefactory.h
diff options
context:
space:
mode:
Diffstat (limited to 'akregator/src/storagefactory.h')
-rw-r--r--akregator/src/storagefactory.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/akregator/src/storagefactory.h b/akregator/src/storagefactory.h
index 93ab7f753..3505ef449 100644
--- a/akregator/src/storagefactory.h
+++ b/akregator/src/storagefactory.h
@@ -38,18 +38,21 @@ class Storage;
class AKREGATOR_EXPORT StorageFactory
{
public:
-
+
+ StorageFactory() {}
+ virtual ~StorageFactory() {}
+
/** identifier of the storage type, like "metakit", "postgres" etc. For use in
configuration files. Must not contain spaces or special characters.
*/
virtual TQString key() const = 0;
-
+
/** returns the (i18n'd) name of the storage type. */
virtual TQString name() const = 0;
/** true if the plugin is configurable via a config dialog */
virtual bool isConfigurable() const = 0;
-
+
/** shows the plugin's configuration dialog */
virtual void configure() = 0;
@@ -59,11 +62,11 @@ class AKREGATOR_EXPORT StorageFactory
* write access.
*/
virtual bool allowsMultipleWriteAccess() const = 0;
-
+
/** creates a storage object with given parameters
@param params list of implementation-specific parameters
*/
- virtual Storage* createStorage(const TQStringList& params) const = 0;
+ virtual Storage* createStorage(const TQStringList& params) const = 0;
};
}