| 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 | namespace AddressFormatParser |
| 17 | { |
| 18 | AddressFormatField parseField(QChar c); |
| 19 | AddressFormatFields parseFields(QStringView s); |
| 20 | std::vector<AddressFormatElement> parseElements(QStringView s); |
| 21 | } |
| 22 | } |
| 23 | |
| 24 | #endif // KCONTACTS_ADDRESSFORMATPARSER_P_H |
| 25 | |