Libkleo

keygroupimportexport.h
1 /*
2  kleo/keygroupimportexport.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 <vector>
16 
17 class QString;
18 
19 namespace Kleo
20 {
21 class KeyGroup;
22 
23 KLEO_EXPORT std::vector<KeyGroup> readKeyGroups(const QString &filename);
24 
25 enum class WriteKeyGroups {
26  Success,
27  InvalidFilename,
28  Error,
29 };
30 
31 KLEO_EXPORT WriteKeyGroups writeKeyGroups(const QString &filename, const std::vector<KeyGroup> &groups);
32 
33 }
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Thu Feb 15 2024 03:56:14 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.