1 | /* |
2 | SPDX-FileCopyrightText: 2022 Volker Krause <vkrause@kde.org> |
3 | SPDX-License-Identifier: LGPL-2.0-or-later |
4 | */ |
5 | |
6 | #ifndef KCONTACTS_ADDRESSFORMATPARSER_P_H |
7 | #define KCONTACTS_ADDRESSFORMATPARSER_P_H |
8 | |
9 | #include "addressformat.h" |
10 | |
11 | #include <vector> |
12 | |
13 | namespace KContacts |
14 | { |
15 | |
16 | /** Parsing functions for address format data. |
17 | * @internal |
18 | */ |
19 | namespace AddressFormatParser |
20 | { |
21 | AddressFormatField parseField(QChar c); |
22 | AddressFormatFields parseFields(QStringView s); |
23 | std::vector<AddressFormatElement> parseElements(QStringView s); |
24 | } |
25 | } |
26 | |
27 | #endif // KCONTACTS_ADDRESSFORMATPARSER_P_H |
28 | |