- Core library header files added to core.h file.

- Fixed windows build.
- Added AccommodationService class.
This commit is contained in:
2015-10-30 13:57:13 +01:00
parent 53d56f2e13
commit 096605a39e
18 changed files with 94 additions and 41 deletions
+4 -2
View File
@@ -2,18 +2,20 @@
#define CONTEXT_H
#include <QList>
#include "core_global.h"
#include <odb/database.hxx>
class IPlugin;
class Context
class CORESHARED_EXPORT Context
{
public:
static Context &instance();
QList<IPlugin*> plugins();
void loadPlugins();
void openDb(const QString &path);
odb::database *db();
odb::database *db() { return m_db; }
private:
Context();