31 constexpr static std::string_view
BEGIN_TOKEN =
"BEGIN:VCARD";
32 constexpr static std::string_view
END_TOKEN =
"END:VCARD";
40 constexpr static std::string_view
UID =
"UID";
42 constexpr static std::string_view
ADDRESS =
"ADR";
43 constexpr static std::string_view
AGENT =
"AGENT";
44 constexpr static std::string_view
BIRTHDAY =
"BDAY";
45 constexpr static std::string_view
CATEGORIES =
"CATEGORIES";
46 constexpr static std::string_view
CLASS =
"CLASS";
48 constexpr static std::string_view
EMAIL =
"EMAIL";
51 constexpr static std::string_view
KEY =
"KEY";
52 constexpr static std::string_view
LOGO =
"LOGO";
53 constexpr static std::string_view
MAILER =
"MAILER";
54 constexpr static std::string_view
NAME =
"N";
55 constexpr static std::string_view
NICKNAME =
"NICKNAME";
56 constexpr static std::string_view
DESCRIPTION =
"DESCRIPTION";
57 constexpr static std::string_view
NOTE =
"NOTE";
59 constexpr static std::string_view
PHOTO =
"PHOTO";
61 constexpr static std::string_view
REVISION =
"REV";
62 constexpr static std::string_view
ROLE =
"ROLE";
63 constexpr static std::string_view
SORT_STRING =
"SORT-STRING";
64 constexpr static std::string_view
SOUND =
"SOUND";
65 constexpr static std::string_view
TELEPHONE =
"TEL";
67 constexpr static std::string_view
TITLE =
"TITLE";
68 constexpr static std::string_view
RDV_ACCOUNT =
"RDV_ACCOUNT";
69 constexpr static std::string_view
RDV_DEVICE =
"RDV_DEVICE";
70 constexpr static std::string_view
URL =
"URL";
71 constexpr static std::string_view
BASE64 =
"ENCODING=BASE64";
72 constexpr static std::string_view
TYPE_PNG =
"TYPE=PNG";
73 constexpr static std::string_view
TYPE_JPEG =
"TYPE=JPEG";
74 constexpr static std::string_view
PHOTO_PNG =
"PHOTO;ENCODING=BASE64;TYPE=PNG";
75 constexpr static std::string_view
PHOTO_JPEG =
"PHOTO;ENCODING=BASE64;TYPE=JPEG";
80 constexpr static std::string_view
TITLE =
"title";
81 constexpr static std::string_view
DESCRIPTION =
"description";
82 constexpr static std::string_view
AVATAR =
"avatar";
84 constexpr static std::string_view
RDV_DEVICE =
"rdvDevice";
89using VCardData = std::map<std::string, std::string, std::less<>>;
100void save(
const VCardData& vCard,
const std::filesystem::path& path,
const std::filesystem::path&
pathLink);
void removeByKey(VCardData &vCard, std::string_view key)
std::map< std::string, std::string, std::less<> > VCardData
std::string toString(const VCardData &vCard)
VCardData toMap(std::string_view content)
Payload to vCard.
void save(const VCardData &vCard, const std::filesystem::path &path, const std::filesystem::path &pathLink)
void emitSignal(Args... args)
static constexpr std::string_view SEPARATOR_TOKEN
static constexpr std::string_view END_LINE_TOKEN
static constexpr std::string_view BEGIN_TOKEN
static constexpr std::string_view BEGIN_TOKEN_KEY
static constexpr std::string_view END_TOKEN
static constexpr std::string_view END_TOKEN_KEY
static constexpr std::string_view ADDRESS
static constexpr std::string_view LOGO
static constexpr std::string_view CATEGORIES
static constexpr std::string_view PHOTO_JPEG
static constexpr std::string_view NOTE
static constexpr std::string_view AGENT
static constexpr std::string_view TELEPHONE
static constexpr std::string_view TYPE_JPEG
static constexpr std::string_view SORT_STRING
static constexpr std::string_view URL
static constexpr std::string_view TITLE
static constexpr std::string_view PHOTO
static constexpr std::string_view EMAIL
static constexpr std::string_view TIME_ZONE
static constexpr std::string_view RDV_ACCOUNT
static constexpr std::string_view BASE64
static constexpr std::string_view BIRTHDAY
static constexpr std::string_view VCARD_VERSION
static constexpr std::string_view NICKNAME
static constexpr std::string_view CLASS
static constexpr std::string_view DELIVERY_LABEL
static constexpr std::string_view PRODUCT_IDENTIFIER
static constexpr std::string_view MAILER
static constexpr std::string_view ROLE
static constexpr std::string_view UID
static constexpr std::string_view PHOTO_PNG
static constexpr std::string_view ORGANIZATION
static constexpr std::string_view KEY
static constexpr std::string_view SOUND
static constexpr std::string_view RDV_DEVICE
static constexpr std::string_view GEOGRAPHIC_POSITION
static constexpr std::string_view DESCRIPTION
static constexpr std::string_view FORMATTED_NAME
static constexpr std::string_view REVISION
static constexpr std::string_view NAME
static constexpr std::string_view TYPE_PNG
static constexpr std::string_view TITLE
static constexpr std::string_view DESCRIPTION
static constexpr std::string_view RDV_DEVICE
static constexpr std::string_view RDV_ACCOUNT
static constexpr std::string_view AVATAR