File indexing completed on 2024-06-16 04:58:32

0001 /*
0002     utils/cryptoconfig.h
0003 
0004     This file is part of libkleopatra, the KDE keymanagement library
0005     SPDX-FileCopyrightText: 2021 g10 Code GmbH
0006     SPDX-FileContributor: Ingo Klöcker <dev@ingo-kloecker.de>
0007 
0008     SPDX-License-Identifier: GPL-2.0-or-later
0009 */
0010 
0011 #pragma once
0012 
0013 #include "kleo_export.h"
0014 
0015 #include <QList>
0016 
0017 class QString;
0018 class QUrl;
0019 
0020 namespace Kleo
0021 {
0022 
0023 KLEO_EXPORT int getCryptoConfigIntValue(const char *componentName, const char *entryName, int defaultValue);
0024 
0025 KLEO_EXPORT QString getCryptoConfigStringValue(const char *componentName, const char *entryName);
0026 
0027 KLEO_EXPORT QList<QUrl> getCryptoConfigUrlList(const char *componentName, const char *entryName);
0028 
0029 }