summaryrefslogtreecommitdiff
path: root/libopie2/opiedb/osqlbackendmanager.h
blob: 00e81fcf116a239f3e470fdcbbbe6a15cc5c473a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#ifndef OSQL_BACKEND_MANAGER_H
#define OSQL_BACKEND_MANAGER_H

#include <qstringlist.h>

#include "osqlbackend.h"

namespace Opie {
namespace DB {

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