summaryrefslogtreecommitdiff
path: root/libopie2/opiedb/osqlbackendmanager.h
blob: bc357a91bf9840dc93293a95678de044534586fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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