SecretService 0.13.2d47dfe
SecretService is base back end library for your c++ Qt projects.
SecretDB.cpp
Go to the documentation of this file.
1//#
2//# Copyright (C) 2024-2024 QuasarApp.
3//# Distributed under the GPLv3 software license, see the accompanying
4//# Everyone is permitted to copy and distribute verbatim copies
5//# of this license document, but changing it is not allowed.
6//#
7
8#include "SecretDB.h"
9#include <heart.h>
10#include <secretdatabase.h>
11
12
13namespace DBSecret {
14
15bool init() {
16 QH::init();
18 return true;
19}
20
21QSharedPointer<IDataBase> database() {
22 auto db = QSharedPointer<SecretDataBase>::create();
23 db->initSqlDb();
24
25 return db;
26}
27
28
29}
void initSecretDBResources()
Definition SecretDB.h:13
bool init()
init main initialize method of The YourTimeDeliviry library
Definition SecretDB.cpp:15
QSharedPointer< IDataBase > database()
Definition SecretDB.cpp:21