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
13
namespace
DBSecret
{
14
15
bool
init
() {
16
QH::init();
17
initSecretDBResources
();
18
return
true
;
19
}
20
21
QSharedPointer<IDataBase>
database
() {
22
auto
db = QSharedPointer<SecretDataBase>::create();
23
db->initSqlDb();
24
25
return
db;
26
}
27
28
29
}
SecretDB.h
initSecretDBResources
void initSecretDBResources()
Definition
SecretDB.h:13
DBSecret
Definition
record.cpp:12
DBSecret::init
bool init()
init main initialize method of The YourTimeDeliviry library
Definition
SecretDB.cpp:15
DBSecret::database
QSharedPointer< IDataBase > database()
Definition
SecretDB.cpp:21
secretdatabase.h
src
db
src
public
SecretDB.cpp
Generated by
1.9.8