- Core library header files added to core.h file.
- Fixed windows build. - Added AccommodationService class.
This commit is contained in:
+4
-2
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user