summaryrefslogtreecommitdiff
path: root/libopie2/opiedb/osqlbackendmanager.h
Side-by-side diff
Diffstat (limited to 'libopie2/opiedb/osqlbackendmanager.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiedb/osqlbackendmanager.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/libopie2/opiedb/osqlbackendmanager.h b/libopie2/opiedb/osqlbackendmanager.h
new file mode 100644
index 0000000..bc357a9
--- a/dev/null
+++ b/libopie2/opiedb/osqlbackendmanager.h
@@ -0,0 +1,20 @@
+#ifndef OSQL_BACKEND_MANAGER_H
+#define OSQL_BACKEND_MANAGER_H
+
+#include <qstringlist.h>
+
+#include "osqlbackend.h"
+
+class OSQLBackEndManager {
+public:
+ OSQLBackEndManager(const QStringList& path );
+ ~OSQLBackEndManager();
+ OSQLBackEnd::ValueList scan();
+private:
+ OSQLBackEnd::ValueList scanDir( const QString& dir );
+ OSQLBackEnd file2backend( const QString& file );
+ class OSQLBackEndManagerPrivate;
+ OSQLBackEndManagerPrivate* d;
+ QStringList m_path;
+};
+#endif