Libkleo

test.h
1/*
2 utils/test.h
3
4 This file is part of libkleopatra, the KDE keymanagement library
5 SPDX-FileCopyrightText: 2021 g10 Code GmbH
6 SPDX-FileContributor: Ingo Klöcker <dev@ingo-kloecker.de>
7
8 SPDX-License-Identifier: GPL-2.0-or-later
9*/
10
11#pragma once
12
13#include "kleo_export.h"
14
15#include <string>
16
17class QString;
18
19namespace Kleo
20{
21
22namespace Tests
23{
24
25class KLEO_EXPORT FakeCryptoConfigIntValue
26{
27public:
28 FakeCryptoConfigIntValue(const char *componentName, const char *entryName, int fakeValue);
29 ~FakeCryptoConfigIntValue();
30
31private:
32 std::string mComponentName;
33 std::string mEntryName;
34};
35
36class KLEO_EXPORT FakeCryptoConfigStringValue
37{
38public:
39 FakeCryptoConfigStringValue(const char *componentName, const char *entryName, const QString &fakeValue);
40 ~FakeCryptoConfigStringValue();
41
42private:
43 std::string mComponentName;
44 std::string mEntryName;
45};
46
47}
48
49}
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:56:14 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.