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
17class QString;
18
19namespace Kleo
20{
21class KeyGroup;
22
23KLEO_EXPORT std::vector<KeyGroup> readKeyGroups(const QString &filename);
24
25enum class WriteKeyGroups {
26 Success,
27 InvalidFilename,
28 Error,
29};
30
31KLEO_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 Mon Nov 18 2024 12:09:14 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.