SecretService
0.13.2d47dfe
SecretService is base back end library for your c++ Qt projects.
secretservice.h
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
#ifndef SECRETSERVICE_H
9
#define SECRETSERVICE_H
10
11
#include <patronum.h>
12
16
class
SecretService
:
public
Patronum::Service<QCoreApplication>
17
{
18
19
public
:
20
SecretService
(
int
argc,
char
**argv);
21
22
bool
onStart
()
override
;
23
24
void
onStop
()
override
;
25
26
void
handleReceiveData
(
const
QHash<QString, Patronum::Feature> &data)
override
;
27
bool
handleReceive
(
const
Patronum::Feature &data)
override
;
28
QSet<Patronum::Feature>
supportedFeatures
()
override
;
29
30
};
31
32
#endif
// SECRETSERVICE_H
SecretService
The SecretService class main class.
Definition
secretservice.h:17
SecretService::handleReceiveData
void handleReceiveData(const QHash< QString, Patronum::Feature > &data) override
Definition
secretservice.cpp:31
SecretService::onStop
void onStop() override
Definition
secretservice.cpp:25
SecretService::onStart
bool onStart() override
Definition
secretservice.cpp:18
SecretService::supportedFeatures
QSet< Patronum::Feature > supportedFeatures() override
Definition
secretservice.cpp:121
SecretService::handleReceive
bool handleReceive(const Patronum::Feature &data) override
Definition
secretservice.cpp:104
src
service
secretservice.h
Generated by
1.9.8