SecretService
0.13.2d47dfe
SecretService is base back end library for your c++ Qt projects.
QASecret.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 "
QASecret.h
"
9
10
#include <
QASecret/keystorage.h
>
11
#include <
SecretDB.h
>
12
13
namespace
QASecret
{
14
15
bool
init
() {
16
initSecretServiceResources
();
17
DBSecret::init
();
18
19
KeyStorage::initService(std::make_unique<KeyStorage>(
DBSecret::database
()));
20
21
return
true
;
22
}
23
24
QString
version
() {
25
return
SECRETSERVICE_VERSION
;
26
}
27
28
29
}
QASecret.h
initSecretServiceResources
void initSecretServiceResources()
Definition
QASecret.h:11
SecretDB.h
SECRETSERVICE_VERSION
#define SECRETSERVICE_VERSION
Definition
global.h:13
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
QASecret
Definition
keystorage.h:14
QASecret::version
QString version()
version This method return string value of a library version
Definition
QASecret.cpp:24
QASecret::init
bool init()
init main initialize method of The SecretService library
Definition
QASecret.cpp:15
keystorage.h
src
core
src
public
QASecret.cpp
Generated by
1.9.8