author | zautrix <zautrix> | 2004-06-26 19:01:18 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-06-26 19:01:18 (UTC) |
commit | b9aad1f15dc600e4dbe4c62d3fcced6363188ba3 (patch) (unidiff) | |
tree | 2c3d4004fb21c72cba65793859f9bcd8ffd3a49c /kabc/vcard/include | |
download | kdepimpi-b9aad1f15dc600e4dbe4c62d3fcced6363188ba3.zip kdepimpi-b9aad1f15dc600e4dbe4c62d3fcced6363188ba3.tar.gz kdepimpi-b9aad1f15dc600e4dbe4c62d3fcced6363188ba3.tar.bz2 |
Initial revision
82 files changed, 3152 insertions, 0 deletions
diff --git a/kabc/vcard/include/VCard.h b/kabc/vcard/include/VCard.h new file mode 100644 index 0000000..17b50e8 --- a/dev/null +++ b/kabc/vcard/include/VCard.h | |||
@@ -0,0 +1,43 @@ | |||
1 | #ifndef VCARD_H | ||
2 | #define VCARD_H | ||
3 | |||
4 | #include "VCardAdrParam.h" | ||
5 | #include "VCardAdrValue.h" | ||
6 | #include "VCardAgentParam.h" | ||
7 | #include "VCardAgentValue.h" | ||
8 | #include "VCardClassValue.h" | ||
9 | #include "VCardContentLine.h" | ||
10 | #include "VCardDateParam.h" | ||
11 | #include "VCardDateValue.h" | ||
12 | #include "VCardDefines.h" | ||
13 | #include "VCardEmailParam.h" | ||
14 | #include "VCardEntity.h" | ||
15 | #include "VCardEnum.h" | ||
16 | #include "VCardFloatValue.h" | ||
17 | #include "VCardGeoValue.h" | ||
18 | #include "VCardGroup.h" | ||
19 | #include "VCardImageParam.h" | ||
20 | #include "VCardImageValue.h" | ||
21 | #include "VCardImgValue.h" | ||
22 | #include "VCardLangValue.h" | ||
23 | #include "VCardNValue.h" | ||
24 | #include "VCardOrgValue.h" | ||
25 | #include "VCardParam.h" | ||
26 | #include "VCardPhoneNumberValue.h" | ||
27 | #include "VCardRToken.h" | ||
28 | #include "VCardSoundValue.h" | ||
29 | #include "VCardSourceParam.h" | ||
30 | #include "VCardTelParam.h" | ||
31 | #include "VCardTelValue.h" | ||
32 | #include "VCardTextBinParam.h" | ||
33 | #include "VCardTextBinValue.h" | ||
34 | #include "VCardTextListValue.h" | ||
35 | #include "VCardTextParam.h" | ||
36 | #include "VCardTextValue.h" | ||
37 | #include "VCardURIValue.h" | ||
38 | #include "VCardUTCValue.h" | ||
39 | #include "VCardVCard.h" | ||
40 | #include "VCardVCardEntity.h" | ||
41 | #include "VCardValue.h" | ||
42 | |||
43 | #endif | ||
diff --git a/kabc/vcard/include/VCardAdrParam.h b/kabc/vcard/include/VCardAdrParam.h new file mode 100644 index 0000000..89dcb64 --- a/dev/null +++ b/kabc/vcard/include/VCardAdrParam.h | |||
@@ -0,0 +1,64 @@ | |||
1 | /* | ||
2 | libvcard - vCard parsing library for vCard version 3.0 | ||
3 | |||
4 | Copyright (C) 1999 Rik Hemsley rik@kde.org | ||
5 | |||
6 | Permission is hereby granted, free of charge, to any person obtaining a copy | ||
7 | of this software and associated documentation files (the "Software"), to | ||
8 | deal in the Software without restriction, including without limitation the | ||
9 | rights to use, copy, modify, merge, publish, distribute, sublicense, and/or | ||
10 | sell copies of the Software, and to permit persons to whom the Software is | ||
11 | furnished to do so, subject to the following conditions: | ||
12 | |||
13 | The above copyright notice and this permission notice shall be included in | ||
14 | all copies or substantial portions of the Software. | ||
15 | |||
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
19 | AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN | ||
20 | ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION | ||
21 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
22 | */ | ||
23 | |||
24 | #ifndef ADRPARAM_H | ||
25 | #define ADRPARAM_H | ||
26 | |||
27 | #include <qcstring.h> | ||
28 | #include <qstrlist.h> | ||
29 | |||
30 | #include <VCardParam.h> | ||
31 | |||
32 | namespace VCARD | ||
33 | { | ||
34 | |||
35 | class AdrParam : public Param | ||
36 | { | ||
37 | |||
38 | #include "AdrParam-generated.h" | ||
39 | |||
40 | QStrList adrTypeList() | ||
41 | { parse(); return adrTypeList_; } | ||
42 | |||
43 | QCString textParam() | ||
44 | { parse(); return textParam_; } | ||
45 | |||
46 | void setAdrTypeList(const QStrList & l) | ||
47 | { adrTypeList_ = l; assembled_ = false; } | ||
48 | |||
49 | void setTextParam(const QCString & s) | ||
50 | { textParam_ = s; assembled_ = false; } | ||
51 | |||
52 | enum AdrType { | ||
53 | AdrDom, AdrIntl, AdrPostal, AdrParcel, AdrHome, AdrWork, AdrPref, | ||
54 | AdrIANA, AdrX | ||
55 | }; | ||
56 | |||
57 | private: | ||
58 | |||
59 | QStrListadrTypeList_; | ||
60 | QCStringtextParam_; | ||
61 | }; | ||
62 | } | ||
63 | |||
64 | #endif | ||
diff --git a/kabc/vcard/include/VCardAdrValue.h b/kabc/vcard/include/VCardAdrValue.h new file mode 100644 index 0000000..0731924 --- a/dev/null +++ b/kabc/vcard/include/VCardAdrValue.h | |||
@@ -0,0 +1,83 @@ | |||
1 | /* | ||
2 | libvcard - vCard parsing library for vCard version 3.0 | ||
3 | |||
4 | Copyright (C) 1999 Rik Hemsley rik@kde.org | ||
5 | |||
6 | Permission is hereby granted, free of charge, to any person obtaining a copy | ||
7 | of this software and associated documentation files (the "Software"), to | ||
8 | deal in the Software without restriction, including without limitation the | ||
9 | rights to use, copy, modify, merge, publish, distribute, sublicense, and/or | ||
10 | sell copies of the Software, and to permit persons to whom the Software is | ||
11 | furnished to do so, subject to the following conditions: | ||
12 | |||
13 | The above copyright notice and this permission notice shall be included in | ||
14 | all copies or substantial portions of the Software. | ||
15 | |||
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
19 | AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN | ||
20 | ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION | ||
21 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
22 | */ | ||
23 | |||
24 | #ifndef ADRVALUE_H | ||
25 | #define ADRVALUE_H | ||
26 | |||
27 | #include <qstrlist.h> | ||
28 | #include <VCardValue.h> | ||
29 | |||
30 | namespace VCARD | ||
31 | { | ||
32 | |||
33 | class AdrValue : public Value | ||
34 | { | ||
35 | |||
36 | #include "AdrValue-generated.h" | ||
37 | |||
38 | AdrValue *clone(); | ||
39 | |||
40 | void setPOBox(const QCString & s) | ||
41 | { poBox_ = s; assembled_ = false; } | ||
42 | |||
43 | void setExtAddress(const QCString & s) | ||
44 | { extAddress_ = s; assembled_ = false; } | ||
45 | |||
46 | void setStreet(const QCString & s) | ||
47 | { street_ = s; assembled_ = false; } | ||
48 | |||
49 | void setLocality(const QCString & s) | ||
50 | { locality_ = s; assembled_ = false; } | ||
51 | |||
52 | void setRegion(const QCString & s) | ||
53 | { region_ = s; assembled_ = false; } | ||
54 | |||
55 | void setPostCode(const QCString & s) | ||
56 | { postCode_ = s; assembled_ = false; } | ||
57 | |||
58 | void setCountryName(const QCString & s) | ||
59 | { countryName_ = s; assembled_ = false; } | ||
60 | |||
61 | QCString poBox() { parse(); return poBox_;} | ||
62 | QCString extAddress() { parse(); return extAddress_;} | ||
63 | QCString street() { parse(); return street_;} | ||
64 | QCString locality() { parse(); return locality_;} | ||
65 | QCString region() { parse(); return region_;} | ||
66 | QCString postCode() { parse(); return postCode_;} | ||
67 | QCString countryName() { parse(); return countryName_;} | ||
68 | |||
69 | private: | ||
70 | |||
71 | QCString poBox_; | ||
72 | QCString extAddress_; | ||
73 | QCString street_; | ||
74 | QCString locality_; | ||
75 | QCString region_; | ||
76 | QCString postCode_; | ||
77 | QCString countryName_; | ||
78 | }; | ||
79 | |||
80 | } | ||
81 | |||
82 | #endif | ||
83 | |||
diff --git a/kabc/vcard/include/VCardAgentParam.h b/kabc/vcard/include/VCardAgentParam.h new file mode 100644 index 0000000..72a05db --- a/dev/null +++ b/kabc/vcard/include/VCardAgentParam.h | |||
@@ -0,0 +1,60 @@ | |||
1 | /* | ||
2 | libvcard - vCard parsing library for vCard version 3.0 | ||
3 | |||
4 | Copyright (C) 1999 Rik Hemsley rik@kde.org | ||
5 | |||
6 | Permission is hereby granted, free of charge, to any person obtaining a copy | ||
7 | of this software and associated documentation files (the "Software"), to | ||
8 | deal in the Software without restriction, including without limitation the | ||
9 | rights to use, copy, modify, merge, publish, distribute, sublicense, and/or | ||
10 | sell copies of the Software, and to permit persons to whom the Software is | ||
11 | furnished to do so, subject to the following conditions: | ||
12 | |||
13 | The above copyright notice and this permission notice shall be included in | ||
14 | all copies or substantial portions of the Software. | ||
15 | |||
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
19 | AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN | ||
20 | ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION | ||
21 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
22 | */ | ||
23 | |||
24 | #ifndef AGENTPARAM_H | ||
25 | #define AGENTPARAM_H | ||
26 | |||
27 | #include <qcstring.h> | ||
28 | |||
29 | #include <VCardParam.h> | ||
30 | #include <VCardURIValue.h> | ||
31 | |||
32 | namespace VCARD | ||
33 | { | ||
34 | |||
35 | class AgentParam : public Param | ||
36 | { | ||
37 | |||
38 | #include "AgentParam-generated.h" | ||
39 | |||
40 | bool refer() | ||
41 | { parse(); return refer_; } | ||
42 | |||
43 | URIValue uri() | ||
44 | { parse(); return uri_; } | ||
45 | |||
46 | void setRefer(bool b) | ||
47 | { refer_ = b; assembled_ = false; } | ||
48 | |||
49 | void setURI(const QCString & s) | ||
50 | { uri_ = s; assembled_ = false; } | ||
51 | |||
52 | private: | ||
53 | |||
54 | bool refer_; | ||
55 | URIValueuri_; | ||
56 | }; | ||
57 | |||
58 | } | ||
59 | |||
60 | #endif | ||
diff --git a/kabc/vcard/include/VCardAgentValue.h b/kabc/vcard/include/VCardAgentValue.h new file mode 100644 index 0000000..f655836 --- a/dev/null +++ b/kabc/vcard/include/VCardAgentValue.h | |||
@@ -0,0 +1,44 @@ | |||
1 | /* | ||
2 | libvcard - vCard parsing library for vCard version 3.0 | ||
3 | |||
4 | Copyright (C) 1999 Rik Hemsley rik@kde.org | ||
5 | |||
6 | Permission is hereby granted, free of charge, to any person obtaining a copy | ||
7 | of this software and associated documentation files (the "Software"), to | ||
8 | deal in the Software without restriction, including without limitation the | ||
9 | rights to use, copy, modify, merge, publish, distribute, sublicense, and/or | ||
10 | sell copies of the Software, and to permit persons to whom the Software is | ||
11 | furnished to do so, subject to the following conditions: | ||
12 | |||
13 | The above copyright notice and this permission notice shall be included in | ||
14 | all copies or substantial portions of the Software. | ||
15 | |||
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
19 | AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN | ||
20 | ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION | ||
21 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
22 | */ | ||
23 | |||
24 | #ifndef AGENTVALUE_H | ||
25 | #define AGENTVALUE_H | ||
26 | |||
27 | #include <qcstring.h> | ||
28 | |||
29 | #include <VCardValue.h> | ||
30 | |||
31 | namespace VCARD | ||
32 | { | ||
33 | |||
34 | class AgentValue : public Value | ||
35 | { | ||
36 | |||
37 | #include "AgentValue-generated.h" | ||
38 | |||
39 | private: | ||
40 | }; | ||
41 | |||
42 | } | ||
43 | |||
44 | #endif | ||
diff --git a/kabc/vcard/include/VCardClassValue.h b/kabc/vcard/include/VCardClassValue.h new file mode 100644 index 0000000..ff133c2 --- a/dev/null +++ b/kabc/vcard/include/VCardClassValue.h | |||
@@ -0,0 +1,56 @@ | |||
1 | /* | ||
2 | libvcard - vCard parsing library for vCard version 3.0 | ||
3 | |||
4 | Copyright (C) 1999 Rik Hemsley rik@kde.org | ||
5 | |||
6 | Permission is hereby granted, free of charge, to any person obtaining a copy | ||
7 | of this software and associated documentation files (the "Software"), to | ||
8 | deal in the Software without restriction, including without limitation the | ||
9 | rights to use, copy, modify, merge, publish, distribute, sublicense, and/or | ||
10 | sell copies of the Software, and to permit persons to whom the Software is | ||
11 | furnished to do so, subject to the following conditions: | ||
12 | |||
13 | The above copyright notice and this permission notice shall be included in | ||
14 | all copies or substantial portions of the Software. | ||
15 | |||
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
19 | AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN | ||
20 | ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION | ||
21 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
22 | */ | ||
23 | |||
24 | #ifndef CLASSVALUE_H | ||
25 | #define CLASSVALUE_H | ||
26 | |||
27 | #include <qcstring.h> | ||
28 | |||
29 | #include <VCardValue.h> | ||
30 | |||
31 | #include <kdebug.h> | ||
32 | |||
33 | namespace VCARD | ||
34 | { | ||
35 | |||
36 | class ClassValue : public Value | ||
37 | { | ||
38 | |||
39 | #include "ClassValue-generated.h" | ||
40 | |||
41 | enum ClassType { | ||
42 | Public, Private, Confidential, Other | ||
43 | }; | ||
44 | |||
45 | ClassValue *clone(); | ||
46 | |||
47 | void setType( int type ) { classType_ = type; assembled_ = false; parsed_ = true; } | ||
48 | int type() { parse(); return classType_; } | ||
49 | |||
50 | private: | ||
51 | int classType_; | ||
52 | }; | ||
53 | |||
54 | } | ||
55 | |||
56 | #endif | ||
diff --git a/kabc/vcard/include/VCardContentLine.h b/kabc/vcard/include/VCardContentLine.h new file mode 100644 index 0000000..1c5f5be --- a/dev/null +++ b/kabc/vcard/include/VCardContentLine.h | |||
@@ -0,0 +1,77 @@ | |||
1 | /* | ||
2 | libvcard - vCard parsing library for vCard version 3.0 | ||
3 | |||
4 | Copyright (C) 1999 Rik Hemsley rik@kde.org | ||
5 | |||
6 | Permission is hereby granted, free of charge, to any person obtaining a copy | ||
7 | of this software and associated documentation files (the "Software"), to | ||
8 | deal in the Software without restriction, including without limitation the | ||
9 | rights to use, copy, modify, merge, publish, distribute, sublicense, and/or | ||
10 | sell copies of the Software, and to permit persons to whom the Software is | ||
11 | furnished to do so, subject to the following conditions: | ||
12 | |||
13 | The above copyright notice and this permission notice shall be included in | ||
14 | all copies or substantial portions of the Software. | ||
15 | |||
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
19 | AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN | ||
20 | ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION | ||
21 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
22 | */ | ||
23 | |||
24 | #ifndef CONTENTLINE_H | ||
25 | #define CONTENTLINE_H | ||
26 | |||
27 | #include <qptrlist.h> | ||
28 | |||
29 | #include "VCardEnum.h" | ||
30 | #include "VCardEntity.h" | ||
31 | #include "VCardParam.h" | ||
32 | #include "VCardValue.h" | ||
33 | |||
34 | namespace VCARD | ||
35 | { | ||
36 | |||
37 | class ContentLine : public Entity | ||
38 | { | ||
39 | |||
40 | #include "ContentLine-generated.h" | ||
41 | |||
42 | QCString group() { parse(); return group_;} | ||
43 | QCString name() { parse(); return name_;} | ||
44 | Value * value() { parse(); return value_;} | ||
45 | ParamList paramList() { parse(); return paramList_;} | ||
46 | ParamType paramType() { parse(); return paramType_;} | ||
47 | ValueType valueType() { parse(); return valueType_;} | ||
48 | EntityType entityType() { parse(); return entityType_;} | ||
49 | |||
50 | void setGroup (const QCString & s) | ||
51 | { group_ = s; assembled_ = false; } | ||
52 | |||
53 | void setName (const QCString & s) | ||
54 | { name_ = s; assembled_ = false; } | ||
55 | |||
56 | void setValue (Value *s) | ||
57 | { value_ = s; assembled_ = false; } | ||
58 | |||
59 | void setParamList(const ParamList & l) | ||
60 | { paramList_ = l; assembled_ = false; } | ||
61 | |||
62 | void clear (); | ||
63 | |||
64 | private: | ||
65 | |||
66 | QCString group_; | ||
67 | QCString name_; | ||
68 | QPtrList<Param> paramList_; | ||
69 | Value * value_; | ||
70 | |||
71 | ParamType paramType_; | ||
72 | ValueType valueType_; | ||
73 | EntityType entityType_; | ||
74 | }; | ||
75 | } | ||
76 | |||
77 | #endif | ||
diff --git a/kabc/vcard/include/VCardDateParam.h b/kabc/vcard/include/VCardDateParam.h new file mode 100644 index 0000000..21ac1f1 --- a/dev/null +++ b/kabc/vcard/include/VCardDateParam.h | |||
@@ -0,0 +1,44 @@ | |||
1 | /* | ||
2 | libvcard - vCard parsing library for vCard version 3.0 | ||
3 | |||
4 | Copyright (C) 1999 Rik Hemsley rik@kde.org | ||
5 | |||
6 | Permission is hereby granted, free of charge, to any person obtaining a copy | ||
7 | of this software and associated documentation files (the "Software"), to | ||
8 | deal in the Software without restriction, including without limitation the | ||
9 | rights to use, copy, modify, merge, publish, distribute, sublicense, and/or | ||
10 | sell copies of the Software, and to permit persons to whom the Software is | ||
11 | furnished to do so, subject to the following conditions: | ||
12 | |||
13 | The above copyright notice and this permission notice shall be included in | ||
14 | all copies or substantial portions of the Software. | ||
15 | |||
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
19 | AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN | ||
20 | ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION | ||
21 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
22 | */ | ||
23 | |||
24 | #ifndef DATEPARAM_H | ||
25 | #define DATEPARAM_H | ||
26 | |||
27 | #include <qcstring.h> | ||
28 | |||
29 | #include <VCardParam.h> | ||
30 | |||
31 | namespace VCARD | ||
32 | { | ||
33 | |||
34 | class DateParam : public Param | ||
35 | { | ||
36 | |||
37 | #include "DateParam-generated.h" | ||
38 | |||
39 | private: | ||
40 | }; | ||
41 | |||
42 | } | ||
43 | |||
44 | #endif | ||
diff --git a/kabc/vcard/include/VCardDateValue.h b/kabc/vcard/include/VCardDateValue.h new file mode 100644 index 0000000..c248966 --- a/dev/null +++ b/kabc/vcard/include/VCardDateValue.h | |||
@@ -0,0 +1,99 @@ | |||
1 | /* | ||
2 | libvcard - vCard parsing library for vCard version 3.0 | ||
3 | |||
4 | Copyright (C) 1999 Rik Hemsley rik@kde.org | ||
5 | |||
6 | Permission is hereby granted, free of charge, to any person obtaining a copy | ||
7 | of this software and associated documentation files (the "Software"), to | ||
8 | deal in the Software without restriction, including without limitation the | ||
9 | rights to use, copy, modify, merge, publish, distribute, sublicense, and/or | ||
10 | sell copies of the Software, and to permit persons to whom the Software is | ||
11 | furnished to do so, subject to the following conditions: | ||
12 | |||
13 | The above copyright notice and this permission notice shall be included in | ||
14 | all copies or substantial portions of the Software. | ||
15 | |||
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
19 | AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN | ||
20 | ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION | ||
21 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
22 | */ | ||
23 | |||
24 | #ifndef DATEVALUE_H | ||
25 | #define DATEVALUE_H | ||
26 | |||
27 | #include <qcstring.h> | ||
28 | #include <qdatetime.h> | ||
29 | |||
30 | #include <VCardValue.h> | ||
31 | |||
32 | namespace VCARD | ||
33 | { | ||
34 | |||
35 | class DateValue : public Value | ||
36 | { | ||
37 | #include "DateValue-generated.h" | ||
38 | |||
39 | DateValue( | ||
40 | unsigned intyear, | ||
41 | unsigned intmonth, | ||
42 | unsigned intday, | ||
43 | unsigned inthour = 0, | ||
44 | unsigned intminute = 0, | ||
45 | unsigned intsecond = 0, | ||
46 | double secFrac = 0, | ||
47 | bool zonePositive = true, | ||
48 | unsigned intzoneHour = 0, | ||
49 | unsigned intzoneMinute = 0); | ||
50 | |||
51 | DateValue(const QDate &); | ||
52 | DateValue(const QDateTime &); | ||
53 | |||
54 | DateValue *clone(); | ||
55 | |||
56 | bool hasTime(); | ||
57 | |||
58 | unsigned intyear(); | ||
59 | unsigned intmonth(); | ||
60 | unsigned intday(); | ||
61 | unsigned inthour(); | ||
62 | unsigned intminute(); | ||
63 | unsigned intsecond(); | ||
64 | double secondFraction(); | ||
65 | bool zonePositive(); | ||
66 | unsigned intzoneHour(); | ||
67 | unsigned intzoneMinute(); | ||
68 | |||
69 | void setYear (unsigned int); | ||
70 | void setMonth (unsigned int); | ||
71 | void setDay (unsigned int); | ||
72 | void setHour (unsigned int); | ||
73 | void setMinute (unsigned int); | ||
74 | void setSecond (unsigned int); | ||
75 | void setSecondFraction(double); | ||
76 | void setZonePositive(bool); | ||
77 | void setZoneHour (unsigned int); | ||
78 | void setZoneMinute (unsigned int); | ||
79 | |||
80 | QDate qdate(); | ||
81 | QTime qtime(); | ||
82 | QDateTime qdt(); | ||
83 | |||
84 | private: | ||
85 | |||
86 | unsigned intyear_, month_, day_, | ||
87 | hour_, minute_, second_, | ||
88 | zoneHour_, zoneMinute_; | ||
89 | |||
90 | double secFrac_; | ||
91 | |||
92 | bool zonePositive_; | ||
93 | |||
94 | bool hasTime_; | ||
95 | }; | ||
96 | |||
97 | } | ||
98 | |||
99 | #endif | ||
diff --git a/kabc/vcard/include/VCardDefines.h b/kabc/vcard/include/VCardDefines.h new file mode 100644 index 0000000..dd38ae2 --- a/dev/null +++ b/kabc/vcard/include/VCardDefines.h | |||
@@ -0,0 +1,52 @@ | |||
1 | /* | ||
2 | libvcard - vCard parsing library for vCard version 3.0 | ||
3 | |||
4 | Copyright (C) 1998 Rik Hemsley rik@kde.org | ||
5 | |||
6 | Permission is hereby granted, free of charge, to any person obtaining a copy | ||
7 | of this software and associated documentation files (the "Software"), to | ||
8 | deal in the Software without restriction, including without limitation the | ||
9 | rights to use, copy, modify, merge, publish, distribute, sublicense, and/or | ||
10 | sell copies of the Software, and to permit persons to whom the Software is | ||
11 | furnished to do so, subject to the following conditions: | ||
12 | |||
13 | The above copyright notice and this permission notice shall be included in | ||
14 | all copies or substantial portions of the Software. | ||
15 | |||
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
19 | AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN | ||
20 | ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION | ||
21 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
22 | */ | ||
23 | |||
24 | #ifndef VCARD_DEFINES_H | ||
25 | #define VCARD_DEFINES_H | ||
26 | |||
27 | #include <kdebug.h> | ||
28 | |||
29 | #ifdef VCARD_DEBUG | ||
30 | #define vDebug(a) kdDebug(5710) << a << endl; | ||
31 | #else | ||
32 | #define vDebug(a) | ||
33 | #endif | ||
34 | |||
35 | #if 0 | ||
36 | #ifndef NDEBUG | ||
37 | #include <qcstring.h> | ||
38 | #include <iostream> | ||
39 | #ifdef __GNUG__ | ||
40 | # define vDebug(a) cerr << className() << ":" << __FUNCTION__ << " (" \ | ||
41 | << __LINE__ << "): " << QCString((a)).data() << endl; | ||
42 | #else | ||
43 | # define vDebug(a) cerr << className() << ": " \ | ||
44 | << QCString((a)).data() << endl; | ||
45 | #endif | ||
46 | #else | ||
47 | #define vDebug(a) | ||
48 | #endif | ||
49 | #endif | ||
50 | |||
51 | #endif // Included this file | ||
52 | |||
diff --git a/kabc/vcard/include/VCardEmailParam.h b/kabc/vcard/include/VCardEmailParam.h new file mode 100644 index 0000000..98d1b30 --- a/dev/null +++ b/kabc/vcard/include/VCardEmailParam.h | |||
@@ -0,0 +1,56 @@ | |||
1 | /* | ||
2 | libvcard - vCard parsing library for vCard version 3.0 | ||
3 | |||
4 | Copyright (C) 1999 Rik Hemsley rik@kde.org | ||
5 | |||
6 | Permission is hereby granted, free of charge, to any person obtaining a copy | ||
7 | of this software and associated documentation files (the "Software"), to | ||
8 | deal in the Software without restriction, including without limitation the | ||
9 | rights to use, copy, modify, merge, publish, distribute, sublicense, and/or | ||
10 | sell copies of the Software, and to permit persons to whom the Software is | ||
11 | furnished to do so, subject to the following conditions: | ||
12 | |||
13 | The above copyright notice and this permission notice shall be included in | ||
14 | all copies or substantial portions of the Software. | ||
15 | |||
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
19 | AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN | ||
20 | ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION | ||
21 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
22 | */ | ||
23 | |||
24 | #ifndef EMAILPARAM_H | ||
25 | #define EMAILPARAM_H | ||
26 | |||
27 | #include <qcstring.h> | ||
28 | |||
29 | #include <VCardParam.h> | ||
30 | |||
31 | namespace VCARD | ||
32 | { | ||
33 | |||
34 | class EmailParam : public Param | ||
35 | { | ||
36 | |||
37 | #include "EmailParam-generated.h" | ||
38 | |||
39 | QCString emailType() { parse(); return emailType_;} | ||
40 | bool pref() { parse(); return pref_; } | ||
41 | |||
42 | void setEmailType(const QCString & s) | ||
43 | { emailType_ = s; assembled_ = false; } | ||
44 | |||
45 | void setPref(bool b) | ||
46 | { pref_ = b; assembled_ = false; } | ||
47 | |||
48 | private: | ||
49 | |||
50 | QCStringemailType_; | ||
51 | bool pref_; | ||
52 | }; | ||
53 | |||
54 | } | ||
55 | |||
56 | #endif | ||
diff --git a/kabc/vcard/include/VCardEntity.h b/kabc/vcard/include/VCardEntity.h new file mode 100644 index 0000000..3c945b5 --- a/dev/null +++ b/kabc/vcard/include/VCardEntity.h | |||
@@ -0,0 +1,67 @@ | |||
1 | /* | ||
2 | libvcard - vCard parsing library for vCard version 3.0 | ||
3 | |||
4 | Copyright (C) 1999 Rik Hemsley rik@kde.org | ||
5 | |||
6 | Permission is hereby granted, free of charge, to any person obtaining a copy | ||
7 | of this software and associated documentation files (the "Software"), to | ||
8 | deal in the Software without restriction, including without limitation the | ||
9 | rights to use, copy, modify, merge, publish, distribute, sublicense, and/or | ||
10 | sell copies of the Software, and to permit persons to whom the Software is | ||
11 | furnished to do so, subject to the following conditions: | ||
12 | |||
13 | The above copyright notice and this permission notice shall be included in | ||
14 | all copies or substantial portions of the Software. | ||
15 | |||
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
19 | AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN | ||
20 | ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION | ||
21 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
22 | */ | ||
23 | |||
24 | #ifndef ENTITY_H | ||
25 | #define ENTITY_H | ||
26 | |||
27 | #include <qcstring.h> | ||
28 | |||
29 | namespace VCARD | ||
30 | { | ||
31 | |||
32 | class Entity | ||
33 | { | ||
34 | public: | ||
35 | |||
36 | Entity(); | ||
37 | Entity(const Entity & e); | ||
38 | Entity(const QCString & s); | ||
39 | |||
40 | virtual Entity & operator = (const Entity & e); | ||
41 | virtual Entity & operator = (const QCString & s); | ||
42 | |||
43 | virtual bool operator == (Entity & e); | ||
44 | virtual bool operator != (Entity & e); | ||
45 | virtual bool operator == (const QCString & s); | ||
46 | virtual bool operator != (const QCString & s); | ||
47 | |||
48 | virtual ~Entity(); | ||
49 | |||
50 | QCString asString(); | ||
51 | |||
52 | virtual void parse(); | ||
53 | virtual void assemble(); | ||
54 | |||
55 | virtual void _parse() = 0; | ||
56 | virtual void _assemble() = 0; | ||
57 | |||
58 | protected: | ||
59 | |||
60 | QCString strRep_; | ||
61 | bool parsed_; | ||
62 | bool assembled_; | ||
63 | }; | ||
64 | |||
65 | } | ||
66 | |||
67 | #endif | ||
diff --git a/kabc/vcard/include/VCardEnum.h b/kabc/vcard/include/VCardEnum.h new file mode 100644 index 0000000..b4e4094 --- a/dev/null +++ b/kabc/vcard/include/VCardEnum.h | |||
@@ -0,0 +1,120 @@ | |||
1 | /* | ||
2 | libvcard - vCard parsing library for vCard version 3.0 | ||
3 | |||
4 | Copyright (C) 1999 Rik Hemsley rik@kde.org | ||
5 | |||
6 | Permission is hereby granted, free of charge, to any person obtaining a copy | ||
7 | of this software and associated documentation files (the "Software"), to | ||
8 | deal in the Software without restriction, including without limitation the | ||
9 | rights to use, copy, modify, merge, publish, distribute, sublicense, and/or | ||
10 | sell copies of the Software, and to permit persons to whom the Software is | ||
11 | furnished to do so, subject to the following conditions: | ||
12 | |||
13 | The above copyright notice and this permission notice shall be included in | ||
14 | all copies or substantial portions of the Software. | ||
15 | |||
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
19 | AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN | ||
20 | ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION | ||
21 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
22 | */ | ||
23 | |||
24 | #ifndef ENUM_H | ||
25 | #define ENUM_H | ||
26 | |||
27 | #include <qcstring.h> | ||
28 | |||
29 | namespace VCARD | ||
30 | { | ||
31 | |||
32 | extern const QCString paramNames []; | ||
33 | |||
34 | enum EntityType { | ||
35 | EntityName, | ||
36 | EntityProfile, | ||
37 | EntitySource, | ||
38 | EntityFullName, | ||
39 | EntityN, | ||
40 | EntityNickname, | ||
41 | EntityPhoto, | ||
42 | EntityBirthday, | ||
43 | EntityAddress, | ||
44 | EntityLabel, | ||
45 | EntityTelephone, | ||
46 | EntityEmail, | ||
47 | EntityMailer, | ||
48 | EntityTimeZone, | ||
49 | EntityGeo, | ||
50 | EntityTitle, | ||
51 | EntityRole, | ||
52 | EntityLogo, | ||
53 | EntityAgent, | ||
54 | EntityOrganisation, | ||
55 | EntityCategories, | ||
56 | EntityNote, | ||
57 | EntityProductID, | ||
58 | EntityRevision, | ||
59 | EntitySortString, | ||
60 | EntitySound, | ||
61 | EntityUID, | ||
62 | EntityURL, | ||
63 | EntityVersion, | ||
64 | EntityClass, | ||
65 | EntityKey, | ||
66 | EntityExtension, | ||
67 | EntityUnknown | ||
68 | }; | ||
69 | |||
70 | enum ValueType { | ||
71 | ValueSound, | ||
72 | ValueAgent, | ||
73 | ValueAddress, | ||
74 | ValueTel, | ||
75 | ValueTextBin, | ||
76 | ValueOrg, | ||
77 | ValueN, | ||
78 | ValueUTC, | ||
79 | ValueURI, | ||
80 | ValueClass, | ||
81 | ValueFloat, | ||
82 | ValueImage, | ||
83 | ValueDate, | ||
84 | ValueTextList, | ||
85 | ValueText, | ||
86 | ValueGeo, | ||
87 | ValueUnknown | ||
88 | }; | ||
89 | |||
90 | enum ParamType { | ||
91 | ParamUnknown, | ||
92 | ParamNone, | ||
93 | ParamSource, | ||
94 | ParamText, | ||
95 | ParamImage, | ||
96 | ParamDate, | ||
97 | ParamAddrText, | ||
98 | ParamTel, | ||
99 | ParamEmail, | ||
100 | ParamMailer, | ||
101 | ParamAgent, | ||
102 | ParamTextBin, | ||
103 | ParamTextNS, | ||
104 | ParamSound | ||
105 | }; | ||
106 | |||
107 | extern const ParamType paramTypesTable[]; | ||
108 | |||
109 | ParamType EntityTypeToParamType(EntityType); | ||
110 | ValueType EntityTypeToValueType(EntityType); | ||
111 | QCString EntityTypeToParamName(EntityType); | ||
112 | EntityType EntityNameToEntityType(const QCString &); | ||
113 | |||
114 | char * encodeBase64(const char *, unsigned long, unsigned long &); | ||
115 | char * decodeBase64(const char *, unsigned long, unsigned long &); | ||
116 | |||
117 | } | ||
118 | |||
119 | #endif | ||
120 | |||
diff --git a/kabc/vcard/include/VCardFloatValue.h b/kabc/vcard/include/VCardFloatValue.h new file mode 100644 index 0000000..69fdc22 --- a/dev/null +++ b/kabc/vcard/include/VCardFloatValue.h | |||
@@ -0,0 +1,51 @@ | |||
1 | /* | ||
2 | libvcard - vCard parsing library for vCard version 3.0 | ||
3 | |||
4 | Copyright (C) 1999 Rik Hemsley rik@kde.org | ||
5 | |||
6 | Permission is hereby granted, free of charge, to any person obtaining a copy | ||
7 | of this software and associated documentation files (the "Software"), to | ||
8 | deal in the Software without restriction, including without limitation the | ||
9 | rights to use, copy, modify, merge, publish, distribute, sublicense, and/or | ||
10 | sell copies of the Software, and to permit persons to whom the Software is | ||
11 | furnished to do so, subject to the following conditions: | ||
12 | |||
13 | The above copyright notice and this permission notice shall be included in | ||
14 | all copies or substantial portions of the Software. | ||
15 | |||
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
19 | AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN | ||
20 | ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION | ||
21 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
22 | */ | ||
23 | |||
24 | #ifndef FLOATVALUE_H | ||
25 | #define FLOATVALUE_H | ||
26 | |||
27 | #include <qcstring.h> | ||
28 | |||
29 | #include <VCardValue.h> | ||
30 | |||
31 | namespace VCARD | ||
32 | { | ||
33 | |||
34 | class FloatValue : public Value | ||
35 | { | ||
36 | |||
37 | #include "FloatValue-generated.h" | ||
38 | |||
39 | FloatValue(float); | ||
40 | |||
41 | float value(); | ||
42 | void setValue(float); | ||
43 | |||
44 | private: | ||
45 | |||
46 | float value_; | ||
47 | }; | ||
48 | |||
49 | } | ||
50 | |||
51 | #endif | ||
diff --git a/kabc/vcard/include/VCardGeoValue.h b/kabc/vcard/include/VCardGeoValue.h new file mode 100644 index 0000000..662761c --- a/dev/null +++ b/kabc/vcard/include/VCardGeoValue.h | |||
@@ -0,0 +1,49 @@ | |||
1 | /* | ||
2 | This file is part of libvcard. | ||
3 | Copyright (c) 2002 Tobias Koenig <tokoe@kde.org> | ||
4 | |||
5 | This library is free software; you can redistribute it and/or | ||
6 | modify it under the terms of the GNU Library General Public | ||
7 | License as published by the Free Software Foundation; either | ||
8 | version 2 of the License, or (at your option) any later version. | ||
9 | |||
10 | This library is distributed in the hope that it will be useful, | ||
11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
13 | Library General Public License for more details. | ||
14 | |||
15 | You should have received a copy of the GNU Library General Public License | ||
16 | along with this library; see the file COPYING.LIB. If not, write to | ||
17 | the Free Software Foundation, Inc., 59 Temple Place - Suite 330, | ||
18 | Boston, MA 02111-1307, USA. | ||
19 | */ | ||
20 | |||
21 | #ifndef GEOVALUE_H | ||
22 | #define GEOVALUE_H | ||
23 | |||
24 | #include <VCardValue.h> | ||
25 | |||
26 | namespace VCARD | ||
27 | { | ||
28 | |||
29 | class GeoValue : public Value | ||
30 | { | ||
31 | |||
32 | #include "GeoValue-generated.h" | ||
33 | |||
34 | GeoValue *clone(); | ||
35 | |||
36 | void setLatitude( float lat ) { latitude_ = lat; assembled_ = false; } | ||
37 | void setLongitude( float lon ) { longitude_ = lon; assembled_ = false; } | ||
38 | |||
39 | float latitude() { parse(); return latitude_; } | ||
40 | float longitude() { parse(); return longitude_; } | ||
41 | |||
42 | private: | ||
43 | float latitude_; | ||
44 | float longitude_; | ||
45 | }; | ||
46 | |||
47 | } | ||
48 | |||
49 | #endif | ||
diff --git a/kabc/vcard/include/VCardGroup.h b/kabc/vcard/include/VCardGroup.h new file mode 100644 index 0000000..ff775fb --- a/dev/null +++ b/kabc/vcard/include/VCardGroup.h | |||
@@ -0,0 +1,39 @@ | |||
1 | /* | ||
2 | libvcard - vCard parsing library for vCard version 3.0 | ||
3 | |||
4 | Copyright (C) 1999 Rik Hemsley rik@kde.org | ||
5 | |||
6 | Permission is hereby granted, free of charge, to any person obtaining a copy | ||
7 | of this software and associated documentation files (the "Software"), to | ||
8 | deal in the Software without restriction, including without limitation the | ||
9 | rights to use, copy, modify, merge, publish, distribute, sublicense, and/or | ||
10 | sell copies of the Software, and to permit persons to whom the Software is | ||
11 | furnished to do so, subject to the following conditions: | ||
12 | |||
13 | The above copyright notice and this permission notice shall be included in | ||
14 | all copies or substantial portions of the Software. | ||
15 | |||
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
19 | AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN | ||
20 | ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION | ||
21 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
22 | */ | ||
23 | |||
24 | #ifndef GROUP_H | ||
25 | #define GROUP_H | ||
26 | |||
27 | #include <VCardEntity.h> | ||
28 | |||
29 | namespace VCARD | ||
30 | { | ||
31 | |||
32 | class Group : public Entity | ||
33 | { | ||
34 | #include "Group-generated.h" | ||
35 | }; | ||
36 | |||
37 | } | ||
38 | |||
39 | #endif | ||
diff --git a/kabc/vcard/include/VCardImageParam.h b/kabc/vcard/include/VCardImageParam.h new file mode 100644 index 0000000..ce99ccc --- a/dev/null +++ b/kabc/vcard/include/VCardImageParam.h | |||
@@ -0,0 +1,44 @@ | |||
1 | /* | ||
2 | libvcard - vCard parsing library for vCard version 3.0 | ||
3 | |||
4 | Copyright (C) 1999 Rik Hemsley rik@kde.org | ||
5 | |||
6 | Permission is hereby granted, free of charge, to any person obtaining a copy | ||
7 | of this software and associated documentation files (the "Software"), to | ||
8 | deal in the Software without restriction, including without limitation the | ||
9 | rights to use, copy, modify, merge, publish, distribute, sublicense, and/or | ||
10 | sell copies of the Software, and to permit persons to whom the Software is | ||
11 | furnished to do so, subject to the following conditions: | ||
12 | |||
13 | The above copyright notice and this permission notice shall be included in | ||
14 | all copies or substantial portions of the Software. | ||
15 | |||
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
19 | AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN | ||
20 | ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION | ||
21 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
22 | */ | ||
23 | |||
24 | #ifndef IMGPARAM_H | ||
25 | #define IMGPARAM_H | ||
26 | |||
27 | #include <qcstring.h> | ||
28 | |||
29 | #include <VCardParam.h> | ||
30 | |||
31 | namespace VCARD | ||
32 | { | ||
33 | |||
34 | class ImageParam : public Param | ||
35 | { | ||
36 | |||
37 | #include "ImageParam-generated.h" | ||
38 | |||
39 | private: | ||
40 | }; | ||
41 | |||
42 | } | ||
43 | |||
44 | #endif | ||
diff --git a/kabc/vcard/include/VCardImageValue.h b/kabc/vcard/include/VCardImageValue.h new file mode 100644 index 0000000..6ce0371 --- a/dev/null +++ b/kabc/vcard/include/VCardImageValue.h | |||
@@ -0,0 +1,44 @@ | |||
1 | /* | ||
2 | libvcard - vCard parsing library for vCard version 3.0 | ||
3 | |||
4 | Copyright (C) 1999 Rik Hemsley rik@kde.org | ||
5 | |||
6 | Permission is hereby granted, free of charge, to any person obtaining a copy | ||
7 | of this software and associated documentation files (the "Software"), to | ||
8 | deal in the Software without restriction, including without limitation the | ||
9 | rights to use, copy, modify, merge, publish, distribute, sublicense, and/or | ||
10 | sell copies of the Software, and to permit persons to whom the Software is | ||
11 | furnished to do so, subject to the following conditions: | ||
12 | |||
13 | The above copyright notice and this permission notice shall be included in | ||
14 | all copies or substantial portions of the Software. | ||
15 | |||
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
19 | AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN | ||
20 | ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION | ||
21 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
22 | */ | ||
23 | |||
24 | #ifndef IMAGEVALUE_H | ||
25 | #define IMAGEVALUE_H | ||
26 | |||
27 | #include <qcstring.h> | ||
28 | |||
29 | #include <VCardValue.h> | ||
30 | |||
31 | namespace VCARD | ||
32 | { | ||
33 | |||
34 | class ImageValue : public Value | ||
35 | { | ||
36 | |||
37 | #include "ImageValue-generated.h" | ||
38 | |||
39 | private: | ||
40 | }; | ||
41 | |||
42 | } | ||
43 | |||
44 | #endif | ||
diff --git a/kabc/vcard/include/VCardImgValue.h b/kabc/vcard/include/VCardImgValue.h new file mode 100644 index 0000000..b09ad64 --- a/dev/null +++ b/kabc/vcard/include/VCardImgValue.h | |||
@@ -0,0 +1,39 @@ | |||
1 | /* | ||
2 | libvcard - vCard parsing library for vCard version 3.0 | ||
3 | |||
4 | Copyright (C) 1999 Rik Hemsley rik@kde.org | ||
5 | |||
6 | Permission is hereby granted, free of charge, to any person obtaining a copy | ||
7 | of this software and associated documentation files (the "Software"), to | ||
8 | deal in the Software without restriction, including without limitation the | ||
9 | rights to use, copy, modify, merge, publish, distribute, sublicense, and/or | ||
10 | sell copies of the Software, and to permit persons to whom the Software is | ||
11 | furnished to do so, subject to the following conditions: | ||
12 | |||
13 | The above copyright notice and this permission notice shall be included in | ||
14 | all copies or substantial portions of the Software. | ||
15 | |||
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
19 | AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN | ||
20 | ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION | ||
21 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
22 | */ | ||
23 | |||
24 | #ifndef IMGVALUE_H | ||
25 | #define IMGVALUE_H | ||
26 | |||
27 | #include <VCardValue.h> | ||
28 | |||
29 | namespace VCARD | ||
30 | { | ||
31 | |||
32 | class ImgValue : public Value | ||
33 | { | ||
34 | #include "ImgValue-generated.h" | ||
35 | }; | ||
36 | |||
37 | } | ||
38 | |||
39 | #endif | ||
diff --git a/kabc/vcard/include/VCardLangValue.h b/kabc/vcard/include/VCardLangValue.h new file mode 100644 index 0000000..991ceed --- a/dev/null +++ b/kabc/vcard/include/VCardLangValue.h | |||
@@ -0,0 +1,51 @@ | |||
1 | /* | ||
2 | libvcard - vCard parsing library for vCard version 3.0 | ||
3 | |||
4 | Copyright (C) 1999 Rik Hemsley rik@kde.org | ||
5 | |||
6 | Permission is hereby granted, free of charge, to any person obtaining a copy | ||
7 | of this software and associated documentation files (the "Software"), to | ||
8 | deal in the Software without restriction, including without limitation the | ||
9 | rights to use, copy, modify, merge, publish, distribute, sublicense, and/or | ||
10 | sell copies of the Software, and to permit persons to whom the Software is | ||
11 | furnished to do so, subject to the following conditions: | ||
12 | |||
13 | The above copyright notice and this permission notice shall be included in | ||
14 | all copies or substantial portions of the Software. | ||
15 | |||
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
19 | AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN | ||
20 | ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION | ||
21 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
22 | */ | ||
23 | |||
24 | #ifndef LANGVALUE_H | ||
25 | #define LANGVALUE_H | ||
26 | |||
27 | #include <qcstring.h> | ||
28 | #include <qstrlist.h> | ||
29 | |||
30 | #include <VCardValue.h> | ||
31 | |||
32 | namespace VCARD | ||
33 | { | ||
34 | |||
35 | class LangValue : public Value | ||
36 | { | ||
37 | #include "LangValue-generated.h" | ||
38 | |||
39 | QCString primary(); | ||
40 | QStrList subtags(); | ||
41 | |||
42 | void setPrimary(const QCString &); | ||
43 | void setSubTags(const QStrList &); | ||
44 | |||
45 | QCString primary_; | ||
46 | QStrList subtags_; | ||
47 | }; | ||
48 | |||
49 | } | ||
50 | |||
51 | #endif | ||
diff --git a/kabc/vcard/include/VCardNValue.h b/kabc/vcard/include/VCardNValue.h new file mode 100644 index 0000000..306821b --- a/dev/null +++ b/kabc/vcard/include/VCardNValue.h | |||
@@ -0,0 +1,56 @@ | |||
1 | /* | ||
2 | libvcard - vCard parsing library for vCard version 3.0 | ||
3 | |||
4 | Copyright (C) 1999 Rik Hemsley rik@kde.org | ||
5 | |||
6 | Permission is hereby granted, free of charge, to any person obtaining a copy | ||
7 | of this software and associated documentation files (the "Software"), to | ||
8 | deal in the Software without restriction, including without limitation the | ||
9 | rights to use, copy, modify, merge, publish, distribute, sublicense, and/or | ||
10 | sell copies of the Software, and to permit persons to whom the Software is | ||
11 | furnished to do so, subject to the following conditions: | ||
12 | |||
13 | The above copyright notice and this permission notice shall be included in | ||
14 | all copies or substantial portions of the Software. | ||
15 | |||
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
19 | AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN | ||
20 | ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION | ||
21 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
22 | */ | ||
23 | |||
24 | #ifndef NVALUE_H | ||
25 | #define NVALUE_H | ||
26 | |||
27 | #include <VCardValue.h> | ||
28 | |||
29 | namespace VCARD | ||
30 | { | ||
31 | |||
32 | class NValue : public Value | ||
33 | { | ||
34 | #include "NValue-generated.h" | ||
35 | NValue *clone(); | ||
36 | |||
37 | QCString family() { parse(); return family_;} | ||
38 | QCString given() { parse(); return given_;} | ||
39 | QCString middle() { parse(); return middle_;} | ||
40 | QCString prefix() { parse(); return prefix_;} | ||
41 | QCString suffix() { parse(); return suffix_;} | ||
42 | |||
43 | void setFamily (const QCString & s) { family_= s; assembled_ = false; } | ||
44 | void setGiven (const QCString & s) { given_= s; assembled_ = false; } | ||
45 | void setMiddle (const QCString & s) { middle_= s; assembled_ = false; } | ||
46 | void setPrefix (const QCString & s) { prefix_= s; assembled_ = false; } | ||
47 | void setSuffix (const QCString & s) { suffix_= s; assembled_ = false; } | ||
48 | |||
49 | private: | ||
50 | |||
51 | QCString family_, given_, middle_, prefix_, suffix_; | ||
52 | }; | ||
53 | |||
54 | } | ||
55 | |||
56 | #endif | ||
diff --git a/kabc/vcard/include/VCardOrgValue.h b/kabc/vcard/include/VCardOrgValue.h new file mode 100644 index 0000000..c4f3f25 --- a/dev/null +++ b/kabc/vcard/include/VCardOrgValue.h | |||
@@ -0,0 +1,50 @@ | |||
1 | /* | ||
2 | libvcard - vCard parsing library for vCard version 3.0 | ||
3 | |||
4 | Copyright (C) 1999 Rik Hemsley rik@kde.org | ||
5 | |||
6 | Permission is hereby granted, free of charge, to any person obtaining a copy | ||
7 | of this software and associated documentation files (the "Software"), to | ||
8 | deal in the Software without restriction, including without limitation the | ||
9 | rights to use, copy, modify, merge, publish, distribute, sublicense, and/or | ||
10 | sell copies of the Software, and to permit persons to whom the Software is | ||
11 | furnished to do so, subject to the following conditions: | ||
12 | |||
13 | The above copyright notice and this permission notice shall be included in | ||
14 | all copies or substantial portions of the Software. | ||
15 | |||
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
19 | AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN | ||
20 | ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION | ||
21 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
22 | */ | ||
23 | |||
24 | #ifndef ORGVALUE_H | ||
25 | #define ORGVALUE_H | ||
26 | |||
27 | #include <qcstring.h> | ||
28 | #include <qstrlist.h> | ||
29 | |||
30 | #include <VCardValue.h> | ||
31 | |||
32 | namespace VCARD | ||
33 | { | ||
34 | |||
35 | class OrgValue : public Value | ||
36 | { | ||
37 | |||
38 | #include "OrgValue-generated.h" | ||
39 | |||
40 | unsigned int numValues(); | ||
41 | QCString value(unsigned int); | ||
42 | |||
43 | private: | ||
44 | |||
45 | QStrList valueList_; | ||
46 | }; | ||
47 | |||
48 | } | ||
49 | |||
50 | #endif | ||
diff --git a/kabc/vcard/include/VCardParam.h b/kabc/vcard/include/VCardParam.h new file mode 100644 index 0000000..b61ce5c --- a/dev/null +++ b/kabc/vcard/include/VCardParam.h | |||
@@ -0,0 +1,59 @@ | |||
1 | /* | ||
2 | libvcard - vCard parsing library for vCard version 3.0 | ||
3 | |||
4 | Copyright (C) 1999 Rik Hemsley rik@kde.org | ||
5 | |||
6 | Permission is hereby granted, free of charge, to any person obtaining a copy | ||
7 | of this software and associated documentation files (the "Software"), to | ||
8 | deal in the Software without restriction, including without limitation the | ||
9 | rights to use, copy, modify, merge, publish, distribute, sublicense, and/or | ||
10 | sell copies of the Software, and to permit persons to whom the Software is | ||
11 | furnished to do so, subject to the following conditions: | ||
12 | |||
13 | The above copyright notice and this permission notice shall be included in | ||
14 | all copies or substantial portions of the Software. | ||
15 | |||
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
19 | AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN | ||
20 | ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION | ||
21 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
22 | */ | ||
23 | |||
24 | #ifndef PARAM_H | ||
25 | #define PARAM_H | ||
26 | |||
27 | #include <qcstring.h> | ||
28 | #include <qptrlist.h> | ||
29 | |||
30 | #include <VCardEntity.h> | ||
31 | |||
32 | namespace VCARD | ||
33 | { | ||
34 | |||
35 | class Param : public Entity | ||
36 | { | ||
37 | |||
38 | #include "Param-generated.h" | ||
39 | |||
40 | Param(const QCString &name, const QCString &value); | ||
41 | |||
42 | void setName(const QCString &); | ||
43 | void setValue(const QCString &); | ||
44 | |||
45 | QCString name(); | ||
46 | QCString value(); | ||
47 | |||
48 | private: | ||
49 | |||
50 | QCString name_; | ||
51 | QCString value_; | ||
52 | }; | ||
53 | |||
54 | typedef QPtrList<Param> ParamList; | ||
55 | typedef QPtrListIterator<Param> ParamListIterator; | ||
56 | |||
57 | } | ||
58 | |||
59 | #endif | ||
diff --git a/kabc/vcard/include/VCardPhoneNumberValue.h b/kabc/vcard/include/VCardPhoneNumberValue.h new file mode 100644 index 0000000..a567bdc --- a/dev/null +++ b/kabc/vcard/include/VCardPhoneNumberValue.h | |||
@@ -0,0 +1,39 @@ | |||
1 | /* | ||
2 | libvcard - vCard parsing library for vCard version 3.0 | ||
3 | |||
4 | Copyright (C) 1999 Rik Hemsley rik@kde.org | ||
5 | |||
6 | Permission is hereby granted, free of charge, to any person obtaining a copy | ||
7 | of this software and associated documentation files (the "Software"), to | ||
8 | deal in the Software without restriction, including without limitation the | ||
9 | rights to use, copy, modify, merge, publish, distribute, sublicense, and/or | ||
10 | sell copies of the Software, and to permit persons to whom the Software is | ||
11 | furnished to do so, subject to the following conditions: | ||
12 | |||
13 | The above copyright notice and this permission notice shall be included in | ||
14 | all copies or substantial portions of the Software. | ||
15 | |||
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
19 | AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN | ||
20 | ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION | ||
21 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
22 | */ | ||
23 | |||
24 | #ifndef PHONENUMBERVALUE_H | ||
25 | #define PHONENUMBERVALUE_H | ||
26 | |||
27 | #include <VCardValue.h> | ||
28 | |||
29 | namespace VCARD | ||
30 | { | ||
31 | |||
32 | class PhoneNumberValue : public Value | ||
33 | { | ||
34 | #include "PhoneNumberValue-generated.h" | ||
35 | }; | ||
36 | |||
37 | } | ||
38 | |||
39 | #endif | ||
diff --git a/kabc/vcard/include/VCardRToken.h b/kabc/vcard/include/VCardRToken.h new file mode 100644 index 0000000..2f95f1b --- a/dev/null +++ b/kabc/vcard/include/VCardRToken.h | |||
@@ -0,0 +1,38 @@ | |||
1 | /* | ||
2 | |||
3 | libvcard - vCard parsing library for vCard version 3.0 | ||
4 | |||
5 | Copyright (C) 1999 Rik Hemsley rik@kde.org | ||
6 | |||
7 | Permission is hereby granted, free of charge, to any person obtaining a copy | ||
8 | of this software and associated documentation files (the "Software"), to | ||
9 | deal in the Software without restriction, including without limitation the | ||
10 | rights to use, copy, modify, merge, publish, distribute, sublicense, and/or | ||
11 | sell copies of the Software, and to permit persons to whom the Software is | ||
12 | furnished to do so, subject to the following conditions: | ||
13 | |||
14 | The above copyright notice and this permission notice shall be included in | ||
15 | all copies or substantial portions of the Software. | ||
16 | |||
17 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
18 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
19 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
20 | AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN | ||
21 | ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION | ||
22 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
23 | */ | ||
24 | |||
25 | #ifndef RTOKEN_H | ||
26 | #define RTOKEN_H | ||
27 | |||
28 | #include <qstrlist.h> | ||
29 | |||
30 | namespace VCARD | ||
31 | { | ||
32 | |||
33 | Q_UINT32 RTokenise(const char * str, const char * delim, QStrList & l); | ||
34 | |||
35 | } | ||
36 | |||
37 | #endif | ||
38 | |||
diff --git a/kabc/vcard/include/VCardSndValue.h b/kabc/vcard/include/VCardSndValue.h new file mode 100644 index 0000000..ce56221 --- a/dev/null +++ b/kabc/vcard/include/VCardSndValue.h | |||
@@ -0,0 +1,39 @@ | |||
1 | /* | ||
2 | libvcard - vCard parsing library for vCard version 3.0 | ||
3 | |||
4 | Copyright (C) 1999 Rik Hemsley rik@kde.org | ||
5 | |||
6 | Permission is hereby granted, free of charge, to any person obtaining a copy | ||
7 | of this software and associated documentation files (the "Software"), to | ||
8 | deal in the Software without restriction, including without limitation the | ||
9 | rights to use, copy, modify, merge, publish, distribute, sublicense, and/or | ||
10 | sell copies of the Software, and to permit persons to whom the Software is | ||
11 | furnished to do so, subject to the following conditions: | ||
12 | |||
13 | The above copyright notice and this permission notice shall be included in | ||
14 | all copies or substantial portions of the Software. | ||
15 | |||
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
19 | AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN | ||
20 | ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION | ||
21 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
22 | */ | ||
23 | |||
24 | #ifndef SNDVALUE_H | ||
25 | #define SNDVALUE_H | ||
26 | |||
27 | #include <VCardValue.h> | ||
28 | |||
29 | namespace VCARD | ||
30 | { | ||
31 | |||
32 | class SndValue : public Value | ||
33 | { | ||
34 | #include "SndValue-generated.h" | ||
35 | }; | ||
36 | |||
37 | } | ||
38 | |||
39 | #endif | ||
diff --git a/kabc/vcard/include/VCardSoundValue.h b/kabc/vcard/include/VCardSoundValue.h new file mode 100644 index 0000000..994f55e --- a/dev/null +++ b/kabc/vcard/include/VCardSoundValue.h | |||
@@ -0,0 +1,44 @@ | |||
1 | /* | ||
2 | libvcard - vCard parsing library for vCard version 3.0 | ||
3 | |||
4 | Copyright (C) 1999 Rik Hemsley rik@kde.org | ||
5 | |||
6 | Permission is hereby granted, free of charge, to any person obtaining a copy | ||
7 | of this software and associated documentation files (the "Software"), to | ||
8 | deal in the Software without restriction, including without limitation the | ||
9 | rights to use, copy, modify, merge, publish, distribute, sublicense, and/or | ||
10 | sell copies of the Software, and to permit persons to whom the Software is | ||
11 | furnished to do so, subject to the following conditions: | ||
12 | |||
13 | The above copyright notice and this permission notice shall be included in | ||
14 | all copies or substantial portions of the Software. | ||
15 | |||
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
19 | AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN | ||
20 | ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION | ||
21 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
22 | */ | ||
23 | |||
24 | #ifndef SOUNDVALUE_H | ||
25 | #define SOUNDVALUE_H | ||
26 | |||
27 | #include <qcstring.h> | ||
28 | |||
29 | #include <VCardValue.h> | ||
30 | |||
31 | namespace VCARD | ||
32 | { | ||
33 | |||
34 | class SoundValue : public Value | ||
35 | { | ||
36 | |||
37 | #include "SoundValue-generated.h" | ||
38 | |||
39 | private: | ||
40 | }; | ||
41 | |||
42 | } | ||
43 | |||
44 | #endif | ||
diff --git a/kabc/vcard/include/VCardSourceParam.h b/kabc/vcard/include/VCardSourceParam.h new file mode 100644 index 0000000..887ea20 --- a/dev/null +++ b/kabc/vcard/include/VCardSourceParam.h | |||
@@ -0,0 +1,58 @@ | |||
1 | /* | ||
2 | libvcard - vCard parsing library for vCard version 3.0 | ||
3 | |||
4 | Copyright (C) 1999 Rik Hemsley rik@kde.org | ||
5 | |||
6 | Permission is hereby granted, free of charge, to any person obtaining a copy | ||
7 | of this software and associated documentation files (the "Software"), to | ||
8 | deal in the Software without restriction, including without limitation the | ||
9 | rights to use, copy, modify, merge, publish, distribute, sublicense, and/or | ||
10 | sell copies of the Software, and to permit persons to whom the Software is | ||
11 | furnished to do so, subject to the following conditions: | ||
12 | |||
13 | The above copyright notice and this permission notice shall be included in | ||
14 | all copies or substantial portions of the Software. | ||
15 | |||
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
19 | AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN | ||
20 | ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION | ||
21 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
22 | */ | ||
23 | |||
24 | #ifndef SOURCEPARAM_H | ||
25 | #define SOURCEPARAM_H | ||
26 | |||
27 | #include <qcstring.h> | ||
28 | |||
29 | #include <VCardParam.h> | ||
30 | |||
31 | namespace VCARD | ||
32 | { | ||
33 | |||
34 | class SourceParam : public Param | ||
35 | { | ||
36 | |||
37 | #include "SourceParam-generated.h" | ||
38 | |||
39 | enum SourceParamType { TypeUnknown, TypeValue, TypeContext, TypeX }; | ||
40 | |||
41 | SourceParamType type(){ parse(); return type_;} | ||
42 | QCString par() { parse(); return par_; } | ||
43 | QCString val() { parse(); return val_; } | ||
44 | |||
45 | void setType(SourceParamType t) { type_= t; assembled_ = false; } | ||
46 | void setPar(const QCString & s) { par_= s; assembled_ = false; } | ||
47 | void setVal(const QCString & s) { val_= s; assembled_ = false; } | ||
48 | |||
49 | private: | ||
50 | |||
51 | SourceParamType type_; | ||
52 | // May be "VALUE = uri" or "CONTEXT = word" or "x-name = *SAFE-CHAR" | ||
53 | QCString par_, val_; // Sub-parameter, value | ||
54 | }; | ||
55 | |||
56 | } | ||
57 | |||
58 | #endif | ||
diff --git a/kabc/vcard/include/VCardTelParam.h b/kabc/vcard/include/VCardTelParam.h new file mode 100644 index 0000000..27d7dcc --- a/dev/null +++ b/kabc/vcard/include/VCardTelParam.h | |||
@@ -0,0 +1,51 @@ | |||
1 | /* | ||
2 | libvcard - vCard parsing library for vCard version 3.0 | ||
3 | |||
4 | Copyright (C) 1999 Rik Hemsley rik@kde.org | ||
5 | |||
6 | Permission is hereby granted, free of charge, to any person obtaining a copy | ||
7 | of this software and associated documentation files (the "Software"), to | ||
8 | deal in the Software without restriction, including without limitation the | ||
9 | rights to use, copy, modify, merge, publish, distribute, sublicense, and/or | ||
10 | sell copies of the Software, and to permit persons to whom the Software is | ||
11 | furnished to do so, subject to the following conditions: | ||
12 | |||
13 | The above copyright notice and this permission notice shall be included in | ||
14 | all copies or substantial portions of the Software. | ||
15 | |||
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
19 | AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN | ||
20 | ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION | ||
21 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
22 | */ | ||
23 | |||
24 | #ifndef TELPARAM_H | ||
25 | #define TELPARAM_H | ||
26 | |||
27 | #include <qcstring.h> | ||
28 | |||
29 | #include <VCardParam.h> | ||
30 | |||
31 | namespace VCARD | ||
32 | { | ||
33 | |||
34 | class TelParam : public Param | ||
35 | { | ||
36 | #include "TelParam-generated.h" | ||
37 | |||
38 | enum TelType { | ||
39 | TelHome, TelWork, TelPref, TelVoice, TelFex, TelMsg, TelCell, | ||
40 | TelPager, TelBBS, TelModem, TelCar, TelISDN, TelVideo, TelPCS, | ||
41 | TelIANA, TelX | ||
42 | }; | ||
43 | |||
44 | private: | ||
45 | |||
46 | QPtrList<TelType> types_; | ||
47 | }; | ||
48 | |||
49 | } | ||
50 | |||
51 | #endif | ||
diff --git a/kabc/vcard/include/VCardTelValue.h b/kabc/vcard/include/VCardTelValue.h new file mode 100644 index 0000000..9cf5a98 --- a/dev/null +++ b/kabc/vcard/include/VCardTelValue.h | |||
@@ -0,0 +1,44 @@ | |||
1 | /* | ||
2 | libvcard - vCard parsing library for vCard version 3.0 | ||
3 | |||
4 | Copyright (C) 1999 Rik Hemsley rik@kde.org | ||
5 | |||
6 | Permission is hereby granted, free of charge, to any person obtaining a copy | ||
7 | of this software and associated documentation files (the "Software"), to | ||
8 | deal in the Software without restriction, including without limitation the | ||
9 | rights to use, copy, modify, merge, publish, distribute, sublicense, and/or | ||
10 | sell copies of the Software, and to permit persons to whom the Software is | ||
11 | furnished to do so, subject to the following conditions: | ||
12 | |||
13 | The above copyright notice and this permission notice shall be included in | ||
14 | all copies or substantial portions of the Software. | ||
15 | |||
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
19 | AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN | ||
20 | ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION | ||
21 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
22 | */ | ||
23 | |||
24 | #ifndef TELVALUE_H | ||
25 | #define TELVALUE_H | ||
26 | |||
27 | #include <qcstring.h> | ||
28 | |||
29 | #include <VCardValue.h> | ||
30 | |||
31 | namespace VCARD | ||
32 | { | ||
33 | |||
34 | class TelValue : public Value | ||
35 | { | ||
36 | |||
37 | #include "TelValue-generated.h" | ||
38 | |||
39 | private: | ||
40 | }; | ||
41 | |||
42 | } | ||
43 | |||
44 | #endif | ||
diff --git a/kabc/vcard/include/VCardTextBinParam.h b/kabc/vcard/include/VCardTextBinParam.h new file mode 100644 index 0000000..31dec86 --- a/dev/null +++ b/kabc/vcard/include/VCardTextBinParam.h | |||
@@ -0,0 +1,44 @@ | |||
1 | /* | ||
2 | libvcard - vCard parsing library for vCard version 3.0 | ||
3 | |||
4 | Copyright (C) 1999 Rik Hemsley rik@kde.org | ||
5 | |||
6 | Permission is hereby granted, free of charge, to any person obtaining a copy | ||
7 | of this software and associated documentation files (the "Software"), to | ||
8 | deal in the Software without restriction, including without limitation the | ||
9 | rights to use, copy, modify, merge, publish, distribute, sublicense, and/or | ||
10 | sell copies of the Software, and to permit persons to whom the Software is | ||
11 | furnished to do so, subject to the following conditions: | ||
12 | |||
13 | The above copyright notice and this permission notice shall be included in | ||
14 | all copies or substantial portions of the Software. | ||
15 | |||
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
19 | AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN | ||
20 | ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION | ||
21 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
22 | */ | ||
23 | |||
24 | #ifndef TEXTBINPARAM_H | ||
25 | #define TEXTBINPARAM_H | ||
26 | |||
27 | #include <qcstring.h> | ||
28 | |||
29 | #include <VCardParam.h> | ||
30 | |||
31 | namespace VCARD | ||
32 | { | ||
33 | |||
34 | class TextBinParam : public Param | ||
35 | { | ||
36 | |||
37 | #include "TextBinParam-generated.h" | ||
38 | |||
39 | private: | ||
40 | }; | ||
41 | |||
42 | } | ||
43 | |||
44 | #endif | ||
diff --git a/kabc/vcard/include/VCardTextBinValue.h b/kabc/vcard/include/VCardTextBinValue.h new file mode 100644 index 0000000..8d44fdf --- a/dev/null +++ b/kabc/vcard/include/VCardTextBinValue.h | |||
@@ -0,0 +1,67 @@ | |||
1 | /* | ||
2 | libvcard - vCard parsing library for vCard version 3.0 | ||
3 | |||
4 | Copyright (C) 1999 Rik Hemsley rik@kde.org | ||
5 | |||
6 | Permission is hereby granted, free of charge, to any person obtaining a copy | ||
7 | of this software and associated documentation files (the "Software"), to | ||
8 | deal in the Software without restriction, including without limitation the | ||
9 | rights to use, copy, modify, merge, publish, distribute, sublicense, and/or | ||
10 | sell copies of the Software, and to permit persons to whom the Software is | ||
11 | furnished to do so, subject to the following conditions: | ||
12 | |||
13 | The above copyright notice and this permission notice shall be included in | ||
14 | all copies or substantial portions of the Software. | ||
15 | |||
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
19 | AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN | ||
20 | ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION | ||
21 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
22 | */ | ||
23 | |||
24 | #ifndef TEXTBINVALUE_H | ||
25 | #define TEXTBINVALUE_H | ||
26 | |||
27 | #include <qcstring.h> | ||
28 | |||
29 | #include <VCardValue.h> | ||
30 | |||
31 | namespace VCARD | ||
32 | { | ||
33 | |||
34 | class TextBinValue : public Value | ||
35 | { | ||
36 | |||
37 | #include "TextBinValue-generated.h" | ||
38 | |||
39 | TextBinValue *clone(); | ||
40 | |||
41 | bool isBinary() { parse(); return mIsBinary_; } | ||
42 | QByteArray data() { parse(); return mData_; } | ||
43 | QString url() { parse(); return mUrl_; } | ||
44 | |||
45 | void setData( const QByteArray &data ) | ||
46 | { | ||
47 | mData_ = data; | ||
48 | mIsBinary_ = true; | ||
49 | assembled_ = false; | ||
50 | } | ||
51 | |||
52 | void setUrl( const QString &url ) | ||
53 | { | ||
54 | mUrl_ = url; | ||
55 | mIsBinary_ = false; | ||
56 | assembled_ = false; | ||
57 | } | ||
58 | |||
59 | private: | ||
60 | int mIsBinary_; | ||
61 | QByteArray mData_; | ||
62 | QString mUrl_; | ||
63 | }; | ||
64 | |||
65 | } | ||
66 | |||
67 | #endif | ||
diff --git a/kabc/vcard/include/VCardTextListValue.h b/kabc/vcard/include/VCardTextListValue.h new file mode 100644 index 0000000..8e47af5 --- a/dev/null +++ b/kabc/vcard/include/VCardTextListValue.h | |||
@@ -0,0 +1,51 @@ | |||
1 | /* | ||
2 | libvcard - vCard parsing library for vCard version 3.0 | ||
3 | |||
4 | Copyright (C) 1999 Rik Hemsley rik@kde.org | ||
5 | |||
6 | Permission is hereby granted, free of charge, to any person obtaining a copy | ||
7 | of this software and associated documentation files (the "Software"), to | ||
8 | deal in the Software without restriction, including without limitation the | ||
9 | rights to use, copy, modify, merge, publish, distribute, sublicense, and/or | ||
10 | sell copies of the Software, and to permit persons to whom the Software is | ||
11 | furnished to do so, subject to the following conditions: | ||
12 | |||
13 | The above copyright notice and this permission notice shall be included in | ||
14 | all copies or substantial portions of the Software. | ||
15 | |||
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
19 | AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN | ||
20 | ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION | ||
21 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
22 | */ | ||
23 | |||
24 | #ifndef TEXTLISTVALUE_H | ||
25 | #define TEXTLISTVALUE_H | ||
26 | |||
27 | #include <qstrlist.h> | ||
28 | |||
29 | #include <qcstring.h> | ||
30 | |||
31 | #include <VCardValue.h> | ||
32 | |||
33 | namespace VCARD | ||
34 | { | ||
35 | |||
36 | class TextListValue : public Value | ||
37 | { | ||
38 | |||
39 | #include "TextListValue-generated.h" | ||
40 | |||
41 | unsigned int numValues(); | ||
42 | QCString value(unsigned int); | ||
43 | |||
44 | private: | ||
45 | |||
46 | QStrList valueList_; | ||
47 | }; | ||
48 | |||
49 | } | ||
50 | |||
51 | #endif | ||
diff --git a/kabc/vcard/include/VCardTextParam.h b/kabc/vcard/include/VCardTextParam.h new file mode 100644 index 0000000..08b5f57 --- a/dev/null +++ b/kabc/vcard/include/VCardTextParam.h | |||
@@ -0,0 +1,44 @@ | |||
1 | /* | ||
2 | libvcard - vCard parsing library for vCard version 3.0 | ||
3 | |||
4 | Copyright (C) 1999 Rik Hemsley rik@kde.org | ||
5 | |||
6 | Permission is hereby granted, free of charge, to any person obtaining a copy | ||
7 | of this software and associated documentation files (the "Software"), to | ||
8 | deal in the Software without restriction, including without limitation the | ||
9 | rights to use, copy, modify, merge, publish, distribute, sublicense, and/or | ||
10 | sell copies of the Software, and to permit persons to whom the Software is | ||
11 | furnished to do so, subject to the following conditions: | ||
12 | |||
13 | The above copyright notice and this permission notice shall be included in | ||
14 | all copies or substantial portions of the Software. | ||
15 | |||
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
19 | AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN | ||
20 | ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION | ||
21 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
22 | */ | ||
23 | |||
24 | #ifndef TEXTPARAM_H | ||
25 | #define TEXTPARAM_H | ||
26 | |||
27 | #include <qcstring.h> | ||
28 | |||
29 | #include <VCardParam.h> | ||
30 | |||
31 | namespace VCARD | ||
32 | { | ||
33 | |||
34 | class TextParam : public Param | ||
35 | { | ||
36 | |||
37 | #include "TextParam-generated.h" | ||
38 | |||
39 | private: | ||
40 | }; | ||
41 | |||
42 | } | ||
43 | |||
44 | #endif | ||
diff --git a/kabc/vcard/include/VCardTextValue.h b/kabc/vcard/include/VCardTextValue.h new file mode 100644 index 0000000..afe8753 --- a/dev/null +++ b/kabc/vcard/include/VCardTextValue.h | |||
@@ -0,0 +1,41 @@ | |||
1 | /* | ||
2 | libvcard - vCard parsing library for vCard version 3.0 | ||
3 | |||
4 | Copyright (C) 1999 Rik Hemsley rik@kde.org | ||
5 | |||
6 | Permission is hereby granted, free of charge, to any person obtaining a copy | ||
7 | of this software and associated documentation files (the "Software"), to | ||
8 | deal in the Software without restriction, including without limitation the | ||
9 | rights to use, copy, modify, merge, publish, distribute, sublicense, and/or | ||
10 | sell copies of the Software, and to permit persons to whom the Software is | ||
11 | furnished to do so, subject to the following conditions: | ||
12 | |||
13 | The above copyright notice and this permission notice shall be included in | ||
14 | all copies or substantial portions of the Software. | ||
15 | |||
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
19 | AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN | ||
20 | ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION | ||
21 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
22 | */ | ||
23 | |||
24 | #ifndef TEXTVALUE_H | ||
25 | #define TEXTVALUE_H | ||
26 | |||
27 | #include <VCardValue.h> | ||
28 | |||
29 | namespace VCARD | ||
30 | { | ||
31 | |||
32 | class TextValue : public Value | ||
33 | { | ||
34 | #include "TextValue-generated.h" | ||
35 | |||
36 | TextValue *clone(); | ||
37 | }; | ||
38 | |||
39 | } | ||
40 | |||
41 | #endif | ||
diff --git a/kabc/vcard/include/VCardURIValue.h b/kabc/vcard/include/VCardURIValue.h new file mode 100644 index 0000000..5fd7184 --- a/dev/null +++ b/kabc/vcard/include/VCardURIValue.h | |||
@@ -0,0 +1,52 @@ | |||
1 | /* | ||
2 | libvcard - vCard parsing library for vCard version 3.0 | ||
3 | |||
4 | Copyright (C) 1999 Rik Hemsley rik@kde.org | ||
5 | |||
6 | Permission is hereby granted, free of charge, to any person obtaining a copy | ||
7 | of this software and associated documentation files (the "Software"), to | ||
8 | deal in the Software without restriction, including without limitation the | ||
9 | rights to use, copy, modify, merge, publish, distribute, sublicense, and/or | ||
10 | sell copies of the Software, and to permit persons to whom the Software is | ||
11 | furnished to do so, subject to the following conditions: | ||
12 | |||
13 | The above copyright notice and this permission notice shall be included in | ||
14 | all copies or substantial portions of the Software. | ||
15 | |||
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
19 | AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN | ||
20 | ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION | ||
21 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
22 | */ | ||
23 | |||
24 | #ifndef URIVALUE_H | ||
25 | #define URIVALUE_H | ||
26 | |||
27 | #include <VCardValue.h> | ||
28 | |||
29 | namespace VCARD | ||
30 | { | ||
31 | |||
32 | class URIValue : public Value | ||
33 | { | ||
34 | #include "URIValue-generated.h" | ||
35 | |||
36 | URIValue(const QCString & scheme, const QCString & schemeSpecificPart); | ||
37 | |||
38 | QCString scheme(); | ||
39 | QCString schemeSpecificPart(); | ||
40 | |||
41 | void setScheme (const QCString &); | ||
42 | void setSchemeSpecificPart(const QCString &); | ||
43 | |||
44 | private: | ||
45 | |||
46 | QCString scheme_; | ||
47 | QCString schemeSpecificPart_; | ||
48 | }; | ||
49 | |||
50 | } | ||
51 | |||
52 | #endif | ||
diff --git a/kabc/vcard/include/VCardUTCValue.h b/kabc/vcard/include/VCardUTCValue.h new file mode 100644 index 0000000..ff695e0 --- a/dev/null +++ b/kabc/vcard/include/VCardUTCValue.h | |||
@@ -0,0 +1,58 @@ | |||
1 | /* | ||
2 | libvcard - vCard parsing library for vCard version 3.0 | ||
3 | |||
4 | Copyright (C) 1999 Rik Hemsley rik@kde.org | ||
5 | |||
6 | Permission is hereby granted, free of charge, to any person obtaining a copy | ||
7 | of this software and associated documentation files (the "Software"), to | ||
8 | deal in the Software without restriction, including without limitation the | ||
9 | rights to use, copy, modify, merge, publish, distribute, sublicense, and/or | ||
10 | sell copies of the Software, and to permit persons to whom the Software is | ||
11 | furnished to do so, subject to the following conditions: | ||
12 | |||
13 | The above copyright notice and this permission notice shall be included in | ||
14 | all copies or substantial portions of the Software. | ||
15 | |||
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
19 | AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN | ||
20 | ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION | ||
21 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
22 | */ | ||
23 | |||
24 | #ifndef UTCVALUE_H | ||
25 | #define UTCVALUE_H | ||
26 | |||
27 | #include <qcstring.h> | ||
28 | |||
29 | #include <VCardValue.h> | ||
30 | |||
31 | namespace VCARD | ||
32 | { | ||
33 | |||
34 | class UTCValue : public Value | ||
35 | { | ||
36 | |||
37 | #include "UTCValue-generated.h" | ||
38 | |||
39 | UTCValue *clone(); | ||
40 | |||
41 | void setPositive( int p ) { positive_ = p; assembled_ = false; } | ||
42 | void setHour( int h ) { hour_ = h; assembled_ = false; } | ||
43 | void setMinute( int m ) { minute_ = m; assembled_ = false; } | ||
44 | |||
45 | bool positive() { parse(); return positive_; } | ||
46 | unsigned int hour() { parse(); return hour_; } | ||
47 | unsigned int minute() { parse(); return minute_; } | ||
48 | |||
49 | private: | ||
50 | |||
51 | bool positive_; | ||
52 | unsigned int hour_; | ||
53 | unsigned int minute_; | ||
54 | }; | ||
55 | |||
56 | } | ||
57 | |||
58 | #endif | ||
diff --git a/kabc/vcard/include/VCardVCard.h b/kabc/vcard/include/VCardVCard.h new file mode 100644 index 0000000..5dec166 --- a/dev/null +++ b/kabc/vcard/include/VCardVCard.h | |||
@@ -0,0 +1,63 @@ | |||
1 | /* | ||
2 | libvcard - vCard parsing library for vCard version 3.0 | ||
3 | |||
4 | Copyright (C) 1999 Rik Hemsley rik@kde.org | ||
5 | |||
6 | Permission is hereby granted, free of charge, to any person obtaining a copy | ||
7 | of this software and associated documentation files (the "Software"), to | ||
8 | deal in the Software without restriction, including without limitation the | ||
9 | rights to use, copy, modify, merge, publish, distribute, sublicense, and/or | ||
10 | sell copies of the Software, and to permit persons to whom the Software is | ||
11 | furnished to do so, subject to the following conditions: | ||
12 | |||
13 | The above copyright notice and this permission notice shall be included in | ||
14 | all copies or substantial portions of the Software. | ||
15 | |||
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
19 | AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN | ||
20 | ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION | ||
21 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
22 | */ | ||
23 | |||
24 | #ifndef VCARD_VCARD_H | ||
25 | #define VCARD_VCARD_H | ||
26 | |||
27 | #include <qstring.h> | ||
28 | #include <qptrlist.h> | ||
29 | |||
30 | #include <VCardEnum.h> | ||
31 | #include <VCardEntity.h> | ||
32 | #include <VCardContentLine.h> | ||
33 | |||
34 | namespace VCARD | ||
35 | { | ||
36 | |||
37 | class VCard : public Entity | ||
38 | { | ||
39 | |||
40 | #include "VCard-generated.h" | ||
41 | |||
42 | bool has(EntityType); | ||
43 | bool has(const QCString &); | ||
44 | |||
45 | void add(const ContentLine &); | ||
46 | void add(const QCString &); | ||
47 | |||
48 | ContentLine * contentLine(EntityType); | ||
49 | ContentLine * contentLine(const QCString &); | ||
50 | |||
51 | QCString group() { parse(); return group_; } | ||
52 | |||
53 | QPtrList<ContentLine>contentLineList() { parse(); return contentLineList_; } | ||
54 | |||
55 | private: | ||
56 | |||
57 | QCString group_; | ||
58 | QPtrList<ContentLine>contentLineList_; | ||
59 | }; | ||
60 | |||
61 | } | ||
62 | |||
63 | #endif | ||
diff --git a/kabc/vcard/include/VCardVCardEntity.h b/kabc/vcard/include/VCardVCardEntity.h new file mode 100644 index 0000000..47ba370 --- a/dev/null +++ b/kabc/vcard/include/VCardVCardEntity.h | |||
@@ -0,0 +1,56 @@ | |||
1 | /* | ||
2 | libvcard - vCard parsing library for vCard version 3.0 | ||
3 | |||
4 | Copyright (C) 1999 Rik Hemsley rik@kde.org | ||
5 | |||
6 | Permission is hereby granted, free of charge, to any person obtaining a copy | ||
7 | of this software and associated documentation files (the "Software"), to | ||
8 | deal in the Software without restriction, including without limitation the | ||
9 | rights to use, copy, modify, merge, publish, distribute, sublicense, and/or | ||
10 | sell copies of the Software, and to permit persons to whom the Software is | ||
11 | furnished to do so, subject to the following conditions: | ||
12 | |||
13 | The above copyright notice and this permission notice shall be included in | ||
14 | all copies or substantial portions of the Software. | ||
15 | |||
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
19 | AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN | ||
20 | ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION | ||
21 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
22 | */ | ||
23 | |||
24 | #ifndef VCARD_ENTITY_H | ||
25 | #define VCARD_ENTITY_H | ||
26 | |||
27 | #include <qstring.h> | ||
28 | #include <qptrlist.h> | ||
29 | |||
30 | #include <VCardEnum.h> | ||
31 | #include <VCardVCard.h> | ||
32 | #include <VCardEntity.h> | ||
33 | |||
34 | namespace VCARD | ||
35 | { | ||
36 | |||
37 | typedef QPtrList<VCard> VCardList; | ||
38 | typedef QPtrListIterator<VCard> VCardListIterator; | ||
39 | |||
40 | class VCardEntity : public Entity | ||
41 | { | ||
42 | |||
43 | #include "VCardEntity-generated.h" | ||
44 | |||
45 | void setCardList(const VCardList & l); | ||
46 | VCardList & cardList(); | ||
47 | |||
48 | private: | ||
49 | |||
50 | VCardList cardList_; | ||
51 | |||
52 | }; | ||
53 | |||
54 | } | ||
55 | |||
56 | #endif | ||
diff --git a/kabc/vcard/include/VCardValue.h b/kabc/vcard/include/VCardValue.h new file mode 100644 index 0000000..7cfe4a0 --- a/dev/null +++ b/kabc/vcard/include/VCardValue.h | |||
@@ -0,0 +1,46 @@ | |||
1 | /* | ||
2 | libvcard - vCard parsing library for vCard version 3.0 | ||
3 | |||
4 | Copyright (C) 1999 Rik Hemsley rik@kde.org | ||
5 | |||
6 | Permission is hereby granted, free of charge, to any person obtaining a copy | ||
7 | of this software and associated documentation files (the "Software"), to | ||
8 | deal in the Software without restriction, including without limitation the | ||
9 | rights to use, copy, modify, merge, publish, distribute, sublicense, and/or | ||
10 | sell copies of the Software, and to permit persons to whom the Software is | ||
11 | furnished to do so, subject to the following conditions: | ||
12 | |||
13 | The above copyright notice and this permission notice shall be included in | ||
14 | all copies or substantial portions of the Software. | ||
15 | |||
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
19 | AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN | ||
20 | ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION | ||
21 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
22 | */ | ||
23 | |||
24 | #ifndef VALUE_H | ||
25 | #define VALUE_H | ||
26 | |||
27 | #include <qptrlist.h> | ||
28 | |||
29 | #include <VCardEntity.h> | ||
30 | |||
31 | namespace VCARD | ||
32 | { | ||
33 | |||
34 | class Value : public Entity | ||
35 | { | ||
36 | #include "Value-generated.h" | ||
37 | |||
38 | virtual Value *clone() { return new Value( *this ); } | ||
39 | }; | ||
40 | |||
41 | typedef QPtrList<Value> ValueList; | ||
42 | typedef QPtrListIterator<Value> ValueListIterator; | ||
43 | |||
44 | } | ||
45 | |||
46 | #endif | ||
diff --git a/kabc/vcard/include/generated/AdrParam-generated.h b/kabc/vcard/include/generated/AdrParam-generated.h new file mode 100644 index 0000000..3e265d8 --- a/dev/null +++ b/kabc/vcard/include/generated/AdrParam-generated.h | |||
@@ -0,0 +1,23 @@ | |||
1 | // XXX Automatically generated. DO NOT EDIT! XXX // | ||
2 | |||
3 | public: | ||
4 | AdrParam(); | ||
5 | AdrParam(const AdrParam&); | ||
6 | AdrParam(const QCString&); | ||
7 | AdrParam & operator = (AdrParam&); | ||
8 | AdrParam & operator = (const QCString&); | ||
9 | bool operator ==(AdrParam&); | ||
10 | bool operator !=(AdrParam& x) {return !(*this==x);} | ||
11 | bool operator ==(const QCString& s) {AdrParam a(s);return(*this==a);} | ||
12 | bool operator != (const QCString& s) {return !(*this == s);} | ||
13 | |||
14 | virtual ~AdrParam(); | ||
15 | void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;} | ||
16 | |||
17 | void assemble() {if(assembled_) return;parse();_assemble();assembled_=true;} | ||
18 | |||
19 | void _parse(); | ||
20 | void _assemble(); | ||
21 | const char * className() const { return "AdrParam"; } | ||
22 | |||
23 | // End of automatically generated code // | ||
diff --git a/kabc/vcard/include/generated/AdrValue-generated.h b/kabc/vcard/include/generated/AdrValue-generated.h new file mode 100644 index 0000000..e1d93e4 --- a/dev/null +++ b/kabc/vcard/include/generated/AdrValue-generated.h | |||
@@ -0,0 +1,23 @@ | |||
1 | // XXX Automatically generated. DO NOT EDIT! XXX // | ||
2 | |||
3 | public: | ||
4 | AdrValue(); | ||
5 | AdrValue(const AdrValue&); | ||
6 | AdrValue(const QCString&); | ||
7 | AdrValue & operator = (AdrValue&); | ||
8 | AdrValue & operator = (const QCString&); | ||
9 | bool operator ==(AdrValue&); | ||
10 | bool operator !=(AdrValue& x) {return !(*this==x);} | ||
11 | bool operator ==(const QCString& s) {AdrValue a(s);return(*this==a);} | ||
12 | bool operator != (const QCString& s) {return !(*this == s);} | ||
13 | |||
14 | virtual ~AdrValue(); | ||
15 | void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;} | ||
16 | |||
17 | void assemble() {if(assembled_) return;parse();_assemble();assembled_=true;} | ||
18 | |||
19 | void _parse(); | ||
20 | void _assemble(); | ||
21 | const char * className() const { return "AdrValue"; } | ||
22 | |||
23 | // End of automatically generated code // | ||
diff --git a/kabc/vcard/include/generated/AgentParam-generated.h b/kabc/vcard/include/generated/AgentParam-generated.h new file mode 100644 index 0000000..6423867 --- a/dev/null +++ b/kabc/vcard/include/generated/AgentParam-generated.h | |||
@@ -0,0 +1,23 @@ | |||
1 | // XXX Automatically generated. DO NOT EDIT! XXX // | ||
2 | |||
3 | public: | ||
4 | AgentParam(); | ||
5 | AgentParam(const AgentParam&); | ||
6 | AgentParam(const QCString&); | ||
7 | AgentParam & operator = (AgentParam&); | ||
8 | AgentParam & operator = (const QCString&); | ||
9 | bool operator ==(AgentParam&); | ||
10 | bool operator !=(AgentParam& x) {return !(*this==x);} | ||
11 | bool operator ==(const QCString& s) {AgentParam a(s);return(*this==a);} | ||
12 | bool operator != (const QCString& s) {return !(*this == s);} | ||
13 | |||
14 | virtual ~AgentParam(); | ||
15 | void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;} | ||
16 | |||
17 | void assemble() {if(assembled_) return;parse();_assemble();assembled_=true;} | ||
18 | |||
19 | void _parse(); | ||
20 | void _assemble(); | ||
21 | const char * className() const { return "AgentParam"; } | ||
22 | |||
23 | // End of automatically generated code // | ||
diff --git a/kabc/vcard/include/generated/AgentValue-generated.h b/kabc/vcard/include/generated/AgentValue-generated.h new file mode 100644 index 0000000..76bb81c --- a/dev/null +++ b/kabc/vcard/include/generated/AgentValue-generated.h | |||
@@ -0,0 +1,23 @@ | |||
1 | // XXX Automatically generated. DO NOT EDIT! XXX // | ||
2 | |||
3 | public: | ||
4 | AgentValue(); | ||
5 | AgentValue(const AgentValue&); | ||
6 | AgentValue(const QCString&); | ||
7 | AgentValue & operator = (AgentValue&); | ||
8 | AgentValue & operator = (const QCString&); | ||
9 | bool operator ==(AgentValue&); | ||
10 | bool operator !=(AgentValue& x) {return !(*this==x);} | ||
11 | bool operator ==(const QCString& s) {AgentValue a(s);return(*this==a);} | ||
12 | bool operator != (const QCString& s) {return !(*this == s);} | ||
13 | |||
14 | virtual ~AgentValue(); | ||
15 | void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;} | ||
16 | |||
17 | void assemble() {if(assembled_) return;parse();_assemble();assembled_=true;} | ||
18 | |||
19 | void _parse(); | ||
20 | void _assemble(); | ||
21 | const char * className() const { return "AgentValue"; } | ||
22 | |||
23 | // End of automatically generated code // | ||
diff --git a/kabc/vcard/include/generated/ClassValue-generated.h b/kabc/vcard/include/generated/ClassValue-generated.h new file mode 100644 index 0000000..df4ed5f --- a/dev/null +++ b/kabc/vcard/include/generated/ClassValue-generated.h | |||
@@ -0,0 +1,23 @@ | |||
1 | // XXX Automatically generated. DO NOT EDIT! XXX // | ||
2 | |||
3 | public: | ||
4 | ClassValue(); | ||
5 | ClassValue(const ClassValue&); | ||
6 | ClassValue(const QCString&); | ||
7 | ClassValue & operator = (ClassValue&); | ||
8 | ClassValue & operator = (const QCString&); | ||
9 | bool operator ==(ClassValue&); | ||
10 | bool operator !=(ClassValue& x) {return !(*this==x);} | ||
11 | bool operator ==(const QCString& s) {ClassValue a(s);return(*this==a);} | ||
12 | bool operator != (const QCString& s) {return !(*this == s);} | ||
13 | |||
14 | virtual ~ClassValue(); | ||
15 | void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;} | ||
16 | |||
17 | void assemble() {if(assembled_) return;parse();_assemble();assembled_=true;} | ||
18 | |||
19 | void _parse(); | ||
20 | void _assemble(); | ||
21 | const char * className() const { return "ClassValue"; } | ||
22 | |||
23 | // End of automatically generated code // | ||
diff --git a/kabc/vcard/include/generated/ContentLine-generated.h b/kabc/vcard/include/generated/ContentLine-generated.h new file mode 100644 index 0000000..9efe273 --- a/dev/null +++ b/kabc/vcard/include/generated/ContentLine-generated.h | |||
@@ -0,0 +1,23 @@ | |||
1 | // XXX Automatically generated. DO NOT EDIT! XXX // | ||
2 | |||
3 | public: | ||
4 | ContentLine(); | ||
5 | ContentLine(const ContentLine&); | ||
6 | ContentLine(const QCString&); | ||
7 | ContentLine & operator = (ContentLine&); | ||
8 | ContentLine & operator = (const QCString&); | ||
9 | bool operator ==(ContentLine&); | ||
10 | bool operator !=(ContentLine& x) {return !(*this==x);} | ||
11 | bool operator ==(const QCString& s) {ContentLine a(s);return(*this==a);} | ||
12 | bool operator != (const QCString& s) {return !(*this == s);} | ||
13 | |||
14 | virtual ~ContentLine(); | ||
15 | void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;} | ||
16 | |||
17 | void assemble() {if(assembled_) return;parse();_assemble();assembled_=true;} | ||
18 | |||
19 | void _parse(); | ||
20 | void _assemble(); | ||
21 | const char * className() const { return "ContentLine"; } | ||
22 | |||
23 | // End of automatically generated code // | ||
diff --git a/kabc/vcard/include/generated/DateParam-generated.h b/kabc/vcard/include/generated/DateParam-generated.h new file mode 100644 index 0000000..ff1da58 --- a/dev/null +++ b/kabc/vcard/include/generated/DateParam-generated.h | |||
@@ -0,0 +1,23 @@ | |||
1 | // XXX Automatically generated. DO NOT EDIT! XXX // | ||
2 | |||
3 | public: | ||
4 | DateParam(); | ||
5 | DateParam(const DateParam&); | ||
6 | DateParam(const QCString&); | ||
7 | DateParam & operator = (DateParam&); | ||
8 | DateParam & operator = (const QCString&); | ||
9 | bool operator ==(DateParam&); | ||
10 | bool operator !=(DateParam& x) {return !(*this==x);} | ||
11 | bool operator ==(const QCString& s) {DateParam a(s);return(*this==a);} | ||
12 | bool operator != (const QCString& s) {return !(*this == s);} | ||
13 | |||
14 | virtual ~DateParam(); | ||
15 | void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;} | ||
16 | |||
17 | void assemble() {if(assembled_) return;parse();_assemble();assembled_=true;} | ||
18 | |||
19 | void _parse(); | ||
20 | void _assemble(); | ||
21 | const char * className() const { return "DateParam"; } | ||
22 | |||
23 | // End of automatically generated code // | ||
diff --git a/kabc/vcard/include/generated/DateValue-generated.h b/kabc/vcard/include/generated/DateValue-generated.h new file mode 100644 index 0000000..a382823 --- a/dev/null +++ b/kabc/vcard/include/generated/DateValue-generated.h | |||
@@ -0,0 +1,23 @@ | |||
1 | // XXX Automatically generated. DO NOT EDIT! XXX // | ||
2 | |||
3 | public: | ||
4 | DateValue(); | ||
5 | DateValue(const DateValue&); | ||
6 | DateValue(const QCString&); | ||
7 | DateValue & operator = (DateValue&); | ||
8 | DateValue & operator = (const QCString&); | ||
9 | bool operator ==(DateValue&); | ||
10 | bool operator !=(DateValue& x) {return !(*this==x);} | ||
11 | bool operator ==(const QCString& s) {DateValue a(s);return(*this==a);} | ||
12 | bool operator != (const QCString& s) {return !(*this == s);} | ||
13 | |||
14 | virtual ~DateValue(); | ||
15 | void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;} | ||
16 | |||
17 | void assemble() {if(assembled_) return;parse();_assemble();assembled_=true;} | ||
18 | |||
19 | void _parse(); | ||
20 | void _assemble(); | ||
21 | const char * className() const { return "DateValue"; } | ||
22 | |||
23 | // End of automatically generated code // | ||
diff --git a/kabc/vcard/include/generated/EmailParam-generated.h b/kabc/vcard/include/generated/EmailParam-generated.h new file mode 100644 index 0000000..428a6fc --- a/dev/null +++ b/kabc/vcard/include/generated/EmailParam-generated.h | |||
@@ -0,0 +1,23 @@ | |||
1 | // XXX Automatically generated. DO NOT EDIT! XXX // | ||
2 | |||
3 | public: | ||
4 | EmailParam(); | ||
5 | EmailParam(const EmailParam&); | ||
6 | EmailParam(const QCString&); | ||
7 | EmailParam & operator = (EmailParam&); | ||
8 | EmailParam & operator = (const QCString&); | ||
9 | bool operator ==(EmailParam&); | ||
10 | bool operator !=(EmailParam& x) {return !(*this==x);} | ||
11 | bool operator ==(const QCString& s) {EmailParam a(s);return(*this==a);} | ||
12 | bool operator != (const QCString& s) {return !(*this == s);} | ||
13 | |||
14 | virtual ~EmailParam(); | ||
15 | void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;} | ||
16 | |||
17 | void assemble() {if(assembled_) return;parse();_assemble();assembled_=true;} | ||
18 | |||
19 | void _parse(); | ||
20 | void _assemble(); | ||
21 | const char * className() const { return "EmailParam"; } | ||
22 | |||
23 | // End of automatically generated code // | ||
diff --git a/kabc/vcard/include/generated/FloatValue-generated.h b/kabc/vcard/include/generated/FloatValue-generated.h new file mode 100644 index 0000000..cac55cf --- a/dev/null +++ b/kabc/vcard/include/generated/FloatValue-generated.h | |||
@@ -0,0 +1,23 @@ | |||
1 | // XXX Automatically generated. DO NOT EDIT! XXX // | ||
2 | |||
3 | public: | ||
4 | FloatValue(); | ||
5 | FloatValue(const FloatValue&); | ||
6 | FloatValue(const QCString&); | ||
7 | FloatValue & operator = (FloatValue&); | ||
8 | FloatValue & operator = (const QCString&); | ||
9 | bool operator ==(FloatValue&); | ||
10 | bool operator !=(FloatValue& x) {return !(*this==x);} | ||
11 | bool operator ==(const QCString& s) {FloatValue a(s);return(*this==a);} | ||
12 | bool operator != (const QCString& s) {return !(*this == s);} | ||
13 | |||
14 | virtual ~FloatValue(); | ||
15 | void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;} | ||
16 | |||
17 | void assemble() {if(assembled_) return;parse();_assemble();assembled_=true;} | ||
18 | |||
19 | void _parse(); | ||
20 | void _assemble(); | ||
21 | const char * className() const { return "FloatValue"; } | ||
22 | |||
23 | // End of automatically generated code // | ||
diff --git a/kabc/vcard/include/generated/GeoValue-generated.h b/kabc/vcard/include/generated/GeoValue-generated.h new file mode 100644 index 0000000..594f3ad --- a/dev/null +++ b/kabc/vcard/include/generated/GeoValue-generated.h | |||
@@ -0,0 +1,23 @@ | |||
1 | // XXX Automatically generated. DO NOT EDIT! XXX // | ||
2 | |||
3 | public: | ||
4 | GeoValue(); | ||
5 | GeoValue(const GeoValue&); | ||
6 | GeoValue(const QCString&); | ||
7 | GeoValue & operator = (GeoValue&); | ||
8 | GeoValue & operator = (const QCString&); | ||
9 | bool operator ==(GeoValue&); | ||
10 | bool operator !=(GeoValue& x) {return !(*this==x);} | ||
11 | bool operator ==(const QCString& s) {GeoValue a(s);return(*this==a);} | ||
12 | bool operator != (const QCString& s) {return !(*this == s);} | ||
13 | |||
14 | virtual ~GeoValue(); | ||
15 | void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;} | ||
16 | |||
17 | void assemble() {if(assembled_) return;parse();_assemble();assembled_=true;} | ||
18 | |||
19 | void _parse(); | ||
20 | void _assemble(); | ||
21 | const char * className() const { return "GeoValue"; } | ||
22 | |||
23 | // End of automatically generated code // | ||
diff --git a/kabc/vcard/include/generated/Group-generated.h b/kabc/vcard/include/generated/Group-generated.h new file mode 100644 index 0000000..f39302d --- a/dev/null +++ b/kabc/vcard/include/generated/Group-generated.h | |||
@@ -0,0 +1,23 @@ | |||
1 | // XXX Automatically generated. DO NOT EDIT! XXX // | ||
2 | |||
3 | public: | ||
4 | Group(); | ||
5 | Group(const Group&); | ||
6 | Group(const QCString&); | ||
7 | Group & operator = (Group&); | ||
8 | Group & operator = (const QCString&); | ||
9 | bool operator ==(Group&); | ||
10 | bool operator !=(Group& x) {return !(*this==x);} | ||
11 | bool operator ==(const QCString& s) {Group a(s);return(*this==a);} | ||
12 | bool operator != (const QCString& s) {return !(*this == s);} | ||
13 | |||
14 | virtual ~Group(); | ||
15 | void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;} | ||
16 | |||
17 | void assemble() {if(assembled_) return;parse();_assemble();assembled_=true;} | ||
18 | |||
19 | void _parse(); | ||
20 | void _assemble(); | ||
21 | const char * className() const { return "Group"; } | ||
22 | |||
23 | // End of automatically generated code // | ||
diff --git a/kabc/vcard/include/generated/ImageParam-generated.h b/kabc/vcard/include/generated/ImageParam-generated.h new file mode 100644 index 0000000..81edfd2 --- a/dev/null +++ b/kabc/vcard/include/generated/ImageParam-generated.h | |||
@@ -0,0 +1,23 @@ | |||
1 | // XXX Automatically generated. DO NOT EDIT! XXX // | ||
2 | |||
3 | public: | ||
4 | ImageParam(); | ||
5 | ImageParam(const ImageParam&); | ||
6 | ImageParam(const QCString&); | ||
7 | ImageParam & operator = (ImageParam&); | ||
8 | ImageParam & operator = (const QCString&); | ||
9 | bool operator ==(ImageParam&); | ||
10 | bool operator !=(ImageParam& x) {return !(*this==x);} | ||
11 | bool operator ==(const QCString& s) {ImageParam a(s);return(*this==a);} | ||
12 | bool operator != (const QCString& s) {return !(*this == s);} | ||
13 | |||
14 | virtual ~ImageParam(); | ||
15 | void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;} | ||
16 | |||
17 | void assemble() {if(assembled_) return;parse();_assemble();assembled_=true;} | ||
18 | |||
19 | void _parse(); | ||
20 | void _assemble(); | ||
21 | const char * className() const { return "ImageParam"; } | ||
22 | |||
23 | // End of automatically generated code // | ||
diff --git a/kabc/vcard/include/generated/ImageValue-generated.h b/kabc/vcard/include/generated/ImageValue-generated.h new file mode 100644 index 0000000..5a2c493 --- a/dev/null +++ b/kabc/vcard/include/generated/ImageValue-generated.h | |||
@@ -0,0 +1,23 @@ | |||
1 | // XXX Automatically generated. DO NOT EDIT! XXX // | ||
2 | |||
3 | public: | ||
4 | ImageValue(); | ||
5 | ImageValue(const ImageValue&); | ||
6 | ImageValue(const QCString&); | ||
7 | ImageValue & operator = (ImageValue&); | ||
8 | ImageValue & operator = (const QCString&); | ||
9 | bool operator ==(ImageValue&); | ||
10 | bool operator !=(ImageValue& x) {return !(*this==x);} | ||
11 | bool operator ==(const QCString& s) {ImageValue a(s);return(*this==a);} | ||
12 | bool operator != (const QCString& s) {return !(*this == s);} | ||
13 | |||
14 | virtual ~ImageValue(); | ||
15 | void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;} | ||
16 | |||
17 | void assemble() {if(assembled_) return;parse();_assemble();assembled_=true;} | ||
18 | |||
19 | void _parse(); | ||
20 | void _assemble(); | ||
21 | const char * className() const { return "ImageValue"; } | ||
22 | |||
23 | // End of automatically generated code // | ||
diff --git a/kabc/vcard/include/generated/ImgParam-generated.h b/kabc/vcard/include/generated/ImgParam-generated.h new file mode 100644 index 0000000..46a6ca0 --- a/dev/null +++ b/kabc/vcard/include/generated/ImgParam-generated.h | |||
@@ -0,0 +1,23 @@ | |||
1 | // XXX Automatically generated. DO NOT EDIT! XXX // | ||
2 | |||
3 | public: | ||
4 | ImgParam(); | ||
5 | ImgParam(const ImgParam&); | ||
6 | ImgParam(const QCString&); | ||
7 | ImgParam & operator = (ImgParam&); | ||
8 | ImgParam & operator = (const QCString&); | ||
9 | bool operator ==(ImgParam&); | ||
10 | bool operator !=(ImgParam& x) {return !(*this==x);} | ||
11 | bool operator ==(const QCString& s) {ImgParam a(s);return(*this==a);} | ||
12 | bool operator != (const QCString& s) {return !(*this == s);} | ||
13 | |||
14 | virtual ~ImgParam(); | ||
15 | void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;} | ||
16 | |||
17 | void assemble() {if(assembled_) return;parse();_assemble();assembled_=true;} | ||
18 | |||
19 | void _parse(); | ||
20 | void _assemble(); | ||
21 | virtual const char * className() const { return "ImgParam"; } | ||
22 | |||
23 | // End of automatically generated code // | ||
diff --git a/kabc/vcard/include/generated/ImgValue-generated.h b/kabc/vcard/include/generated/ImgValue-generated.h new file mode 100644 index 0000000..d75d545 --- a/dev/null +++ b/kabc/vcard/include/generated/ImgValue-generated.h | |||
@@ -0,0 +1,23 @@ | |||
1 | // XXX Automatically generated. DO NOT EDIT! XXX // | ||
2 | |||
3 | public: | ||
4 | ImgValue(); | ||
5 | ImgValue(const ImgValue&); | ||
6 | ImgValue(const QCString&); | ||
7 | ImgValue & operator = (ImgValue&); | ||
8 | ImgValue & operator = (const QCString&); | ||
9 | bool operator ==(ImgValue&); | ||
10 | bool operator !=(ImgValue& x) {return !(*this==x);} | ||
11 | bool operator ==(const QCString& s) {ImgValue a(s);return(*this==a);} | ||
12 | bool operator != (const QCString& s) {return !(*this == s);} | ||
13 | |||
14 | virtual ~ImgValue(); | ||
15 | void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;} | ||
16 | |||
17 | void assemble() {if(assembled_) return;parse();_assemble();assembled_=true;} | ||
18 | |||
19 | void _parse(); | ||
20 | void _assemble(); | ||
21 | virtual const char * className() const { return "ImgValue"; } | ||
22 | |||
23 | // End of automatically generated code // | ||
diff --git a/kabc/vcard/include/generated/LangValue-generated.h b/kabc/vcard/include/generated/LangValue-generated.h new file mode 100644 index 0000000..23e138b --- a/dev/null +++ b/kabc/vcard/include/generated/LangValue-generated.h | |||
@@ -0,0 +1,23 @@ | |||
1 | // XXX Automatically generated. DO NOT EDIT! XXX // | ||
2 | |||
3 | public: | ||
4 | LangValue(); | ||
5 | LangValue(const LangValue&); | ||
6 | LangValue(const QCString&); | ||
7 | LangValue & operator = (LangValue&); | ||
8 | LangValue & operator = (const QCString&); | ||
9 | bool operator ==(LangValue&); | ||
10 | bool operator !=(LangValue& x) {return !(*this==x);} | ||
11 | bool operator ==(const QCString& s) {LangValue a(s);return(*this==a);} | ||
12 | bool operator != (const QCString& s) {return !(*this == s);} | ||
13 | |||
14 | virtual ~LangValue(); | ||
15 | void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;} | ||
16 | |||
17 | void assemble() {if(assembled_) return;parse();_assemble();assembled_=true;} | ||
18 | |||
19 | void _parse(); | ||
20 | void _assemble(); | ||
21 | const char * className() const { return "LangValue"; } | ||
22 | |||
23 | // End of automatically generated code // | ||
diff --git a/kabc/vcard/include/generated/NValue-generated.h b/kabc/vcard/include/generated/NValue-generated.h new file mode 100644 index 0000000..082c253 --- a/dev/null +++ b/kabc/vcard/include/generated/NValue-generated.h | |||
@@ -0,0 +1,23 @@ | |||
1 | // XXX Automatically generated. DO NOT EDIT! XXX // | ||
2 | |||
3 | public: | ||
4 | NValue(); | ||
5 | NValue(const NValue&); | ||
6 | NValue(const QCString&); | ||
7 | NValue & operator = (NValue&); | ||
8 | NValue & operator = (const QCString&); | ||
9 | bool operator ==(NValue&); | ||
10 | bool operator !=(NValue& x) {return !(*this==x);} | ||
11 | bool operator ==(const QCString& s) {NValue a(s);return(*this==a);} | ||
12 | bool operator != (const QCString& s) {return !(*this == s);} | ||
13 | |||
14 | virtual ~NValue(); | ||
15 | void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;} | ||
16 | |||
17 | void assemble() {if(assembled_) return;parse();_assemble();assembled_=true;} | ||
18 | |||
19 | void _parse(); | ||
20 | void _assemble(); | ||
21 | const char * className() const { return "NValue"; } | ||
22 | |||
23 | // End of automatically generated code // | ||
diff --git a/kabc/vcard/include/generated/Name-generated.h b/kabc/vcard/include/generated/Name-generated.h new file mode 100644 index 0000000..0e69abd --- a/dev/null +++ b/kabc/vcard/include/generated/Name-generated.h | |||
@@ -0,0 +1,22 @@ | |||
1 | // XXX Automatically generated. DO NOT EDIT! XXX // | ||
2 | |||
3 | public: | ||
4 | V_Name(); | ||
5 | V_Name(const V_Name&); | ||
6 | V_Name(const QCString&); | ||
7 | V_Name & operator = (V_Name&); | ||
8 | V_Name & operator = (const QCString&); | ||
9 | bool operator ==(V_Name&); | ||
10 | bool operator !=(V_Name& x) {return !(*this==x);} | ||
11 | bool operator ==(const QCString& s) {V_Name a(s);return(*this==a);} | ||
12 | bool operator != (const QCString& s) {return !(*this == s);} | ||
13 | |||
14 | virtual ~V_Name(); | ||
15 | void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;} | ||
16 | |||
17 | void assemble() {if(assembled_) return;parse();_assemble();assembled_=true;} | ||
18 | |||
19 | void _parse(); | ||
20 | void _assemble(); | ||
21 | |||
22 | // End of automatically generated code // | ||
diff --git a/kabc/vcard/include/generated/OrgValue-generated.h b/kabc/vcard/include/generated/OrgValue-generated.h new file mode 100644 index 0000000..51eb1b7 --- a/dev/null +++ b/kabc/vcard/include/generated/OrgValue-generated.h | |||
@@ -0,0 +1,23 @@ | |||
1 | // XXX Automatically generated. DO NOT EDIT! XXX // | ||
2 | |||
3 | public: | ||
4 | OrgValue(); | ||
5 | OrgValue(const OrgValue&); | ||
6 | OrgValue(const QCString&); | ||
7 | OrgValue & operator = (OrgValue&); | ||
8 | OrgValue & operator = (const QCString&); | ||
9 | bool operator ==(OrgValue&); | ||
10 | bool operator !=(OrgValue& x) {return !(*this==x);} | ||
11 | bool operator ==(const QCString& s) {OrgValue a(s);return(*this==a);} | ||
12 | bool operator != (const QCString& s) {return !(*this == s);} | ||
13 | |||
14 | virtual ~OrgValue(); | ||
15 | void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;} | ||
16 | |||
17 | void assemble() {if(assembled_) return;parse();_assemble();assembled_=true;} | ||
18 | |||
19 | void _parse(); | ||
20 | void _assemble(); | ||
21 | const char * className() const { return "OrgValue"; } | ||
22 | |||
23 | // End of automatically generated code // | ||
diff --git a/kabc/vcard/include/generated/Param-generated.h b/kabc/vcard/include/generated/Param-generated.h new file mode 100644 index 0000000..cf4666a --- a/dev/null +++ b/kabc/vcard/include/generated/Param-generated.h | |||
@@ -0,0 +1,23 @@ | |||
1 | // XXX Automatically generated. DO NOT EDIT! XXX // | ||
2 | |||
3 | public: | ||
4 | Param(); | ||
5 | Param(const Param&); | ||
6 | Param(const QCString&); | ||
7 | Param & operator = (Param&); | ||
8 | Param & operator = (const QCString&); | ||
9 | bool operator ==(Param&); | ||
10 | bool operator !=(Param& x) {return !(*this==x);} | ||
11 | bool operator ==(const QCString& s) {Param a(s);return(*this==a);} | ||
12 | bool operator != (const QCString& s) {return !(*this == s);} | ||
13 | |||
14 | virtual ~Param(); | ||
15 | void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;} | ||
16 | |||
17 | void assemble() {if(assembled_) return;parse();_assemble();assembled_=true;} | ||
18 | |||
19 | void _parse(); | ||
20 | void _assemble(); | ||
21 | const char * className() const { return "Param"; } | ||
22 | |||
23 | // End of automatically generated code // | ||
diff --git a/kabc/vcard/include/generated/ParamName-generated.h b/kabc/vcard/include/generated/ParamName-generated.h new file mode 100644 index 0000000..ef673c3 --- a/dev/null +++ b/kabc/vcard/include/generated/ParamName-generated.h | |||
@@ -0,0 +1,22 @@ | |||
1 | // XXX Automatically generated. DO NOT EDIT! XXX // | ||
2 | |||
3 | public: | ||
4 | V_ParamName(); | ||
5 | V_ParamName(const V_ParamName&); | ||
6 | V_ParamName(const QCString&); | ||
7 | V_ParamName & operator = (V_ParamName&); | ||
8 | V_ParamName & operator = (const QCString&); | ||
9 | bool operator ==(V_ParamName&); | ||
10 | bool operator !=(V_ParamName& x) {return !(*this==x);} | ||
11 | bool operator ==(const QCString& s) {V_ParamName a(s);return(*this==a);} | ||
12 | bool operator != (const QCString& s) {return !(*this == s);} | ||
13 | |||
14 | virtual ~V_ParamName(); | ||
15 | void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;} | ||
16 | |||
17 | void assemble() {if(assembled_) return;parse();_assemble();assembled_=true;} | ||
18 | |||
19 | void _parse(); | ||
20 | void _assemble(); | ||
21 | |||
22 | // End of automatically generated code // | ||
diff --git a/kabc/vcard/include/generated/ParamValue-generated.h b/kabc/vcard/include/generated/ParamValue-generated.h new file mode 100644 index 0000000..e73500f --- a/dev/null +++ b/kabc/vcard/include/generated/ParamValue-generated.h | |||
@@ -0,0 +1,22 @@ | |||
1 | // XXX Automatically generated. DO NOT EDIT! XXX // | ||
2 | |||
3 | public: | ||
4 | V_ParamValue(); | ||
5 | V_ParamValue(const V_ParamValue&); | ||
6 | V_ParamValue(const QCString&); | ||
7 | V_ParamValue & operator = (V_ParamValue&); | ||
8 | V_ParamValue & operator = (const QCString&); | ||
9 | bool operator ==(V_ParamValue&); | ||
10 | bool operator !=(V_ParamValue& x) {return !(*this==x);} | ||
11 | bool operator ==(const QCString& s) {V_ParamValue a(s);return(*this==a);} | ||
12 | bool operator != (const QCString& s) {return !(*this == s);} | ||
13 | |||
14 | virtual ~V_ParamValue(); | ||
15 | void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;} | ||
16 | |||
17 | void assemble() {if(assembled_) return;parse();_assemble();assembled_=true;} | ||
18 | |||
19 | void _parse(); | ||
20 | void _assemble(); | ||
21 | |||
22 | // End of automatically generated code // | ||
diff --git a/kabc/vcard/include/generated/PhoneNumberValue-generated.h b/kabc/vcard/include/generated/PhoneNumberValue-generated.h new file mode 100644 index 0000000..1320f18 --- a/dev/null +++ b/kabc/vcard/include/generated/PhoneNumberValue-generated.h | |||
@@ -0,0 +1,23 @@ | |||
1 | // XXX Automatically generated. DO NOT EDIT! XXX // | ||
2 | |||
3 | public: | ||
4 | PhoneNumberValue(); | ||
5 | PhoneNumberValue(const PhoneNumberValue&); | ||
6 | PhoneNumberValue(const QCString&); | ||
7 | PhoneNumberValue & operator = (PhoneNumberValue&); | ||
8 | PhoneNumberValue & operator = (const QCString&); | ||
9 | bool operator ==(PhoneNumberValue&); | ||
10 | bool operator !=(PhoneNumberValue& x) {return !(*this==x);} | ||
11 | bool operator ==(const QCString& s) {PhoneNumberValue a(s);return(*this==a);} | ||
12 | bool operator != (const QCString& s) {return !(*this == s);} | ||
13 | |||
14 | virtual ~PhoneNumberValue(); | ||
15 | void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;} | ||
16 | |||
17 | void assemble() {if(assembled_) return;parse();_assemble();assembled_=true;} | ||
18 | |||
19 | void _parse(); | ||
20 | void _assemble(); | ||
21 | const char * className() const { return "PhoneNumberValue"; } | ||
22 | |||
23 | // End of automatically generated code // | ||
diff --git a/kabc/vcard/include/generated/SoundValue-generated.h b/kabc/vcard/include/generated/SoundValue-generated.h new file mode 100644 index 0000000..a9ab2e8 --- a/dev/null +++ b/kabc/vcard/include/generated/SoundValue-generated.h | |||
@@ -0,0 +1,23 @@ | |||
1 | // XXX Automatically generated. DO NOT EDIT! XXX // | ||
2 | |||
3 | public: | ||
4 | SoundValue(); | ||
5 | SoundValue(const SoundValue&); | ||
6 | SoundValue(const QCString&); | ||
7 | SoundValue & operator = (SoundValue&); | ||
8 | SoundValue & operator = (const QCString&); | ||
9 | bool operator ==(SoundValue&); | ||
10 | bool operator !=(SoundValue& x) {return !(*this==x);} | ||
11 | bool operator ==(const QCString& s) {SoundValue a(s);return(*this==a);} | ||
12 | bool operator != (const QCString& s) {return !(*this == s);} | ||
13 | |||
14 | virtual ~SoundValue(); | ||
15 | void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;} | ||
16 | |||
17 | void assemble() {if(assembled_) return;parse();_assemble();assembled_=true;} | ||
18 | |||
19 | void _parse(); | ||
20 | void _assemble(); | ||
21 | const char * className() const { return "SoundValue"; } | ||
22 | |||
23 | // End of automatically generated code // | ||
diff --git a/kabc/vcard/include/generated/SourceParam-generated.h b/kabc/vcard/include/generated/SourceParam-generated.h new file mode 100644 index 0000000..75fefb8 --- a/dev/null +++ b/kabc/vcard/include/generated/SourceParam-generated.h | |||
@@ -0,0 +1,23 @@ | |||
1 | // XXX Automatically generated. DO NOT EDIT! XXX // | ||
2 | |||
3 | public: | ||
4 | SourceParam(); | ||
5 | SourceParam(const SourceParam&); | ||
6 | SourceParam(const QCString&); | ||
7 | SourceParam & operator = (SourceParam&); | ||
8 | SourceParam & operator = (const QCString&); | ||
9 | bool operator ==(SourceParam&); | ||
10 | bool operator !=(SourceParam& x) {return !(*this==x);} | ||
11 | bool operator ==(const QCString& s) {SourceParam a(s);return(*this==a);} | ||
12 | bool operator != (const QCString& s) {return !(*this == s);} | ||
13 | |||
14 | virtual ~SourceParam(); | ||
15 | void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;} | ||
16 | |||
17 | void assemble() {if(assembled_) return;parse();_assemble();assembled_=true;} | ||
18 | |||
19 | void _parse(); | ||
20 | void _assemble(); | ||
21 | const char * className() const { return "SourceParam"; } | ||
22 | |||
23 | // End of automatically generated code // | ||
diff --git a/kabc/vcard/include/generated/TelParam-generated.h b/kabc/vcard/include/generated/TelParam-generated.h new file mode 100644 index 0000000..3ee77cc --- a/dev/null +++ b/kabc/vcard/include/generated/TelParam-generated.h | |||
@@ -0,0 +1,23 @@ | |||
1 | // XXX Automatically generated. DO NOT EDIT! XXX // | ||
2 | |||
3 | public: | ||
4 | TelParam(); | ||
5 | TelParam(const TelParam&); | ||
6 | TelParam(const QCString&); | ||
7 | TelParam & operator = (TelParam&); | ||
8 | TelParam & operator = (const QCString&); | ||
9 | bool operator ==(TelParam&); | ||
10 | bool operator !=(TelParam& x) {return !(*this==x);} | ||
11 | bool operator ==(const QCString& s) {TelParam a(s);return(*this==a);} | ||
12 | bool operator != (const QCString& s) {return !(*this == s);} | ||
13 | |||
14 | virtual ~TelParam(); | ||
15 | void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;} | ||
16 | |||
17 | void assemble() {if(assembled_) return;parse();_assemble();assembled_=true;} | ||
18 | |||
19 | void _parse(); | ||
20 | void _assemble(); | ||
21 | const char * className() const { return "TelParam"; } | ||
22 | |||
23 | // End of automatically generated code // | ||
diff --git a/kabc/vcard/include/generated/TelValue-generated.h b/kabc/vcard/include/generated/TelValue-generated.h new file mode 100644 index 0000000..3213e1c --- a/dev/null +++ b/kabc/vcard/include/generated/TelValue-generated.h | |||
@@ -0,0 +1,23 @@ | |||
1 | // XXX Automatically generated. DO NOT EDIT! XXX // | ||
2 | |||
3 | public: | ||
4 | TelValue(); | ||
5 | TelValue(const TelValue&); | ||
6 | TelValue(const QCString&); | ||
7 | TelValue & operator = (TelValue&); | ||
8 | TelValue & operator = (const QCString&); | ||
9 | bool operator ==(TelValue&); | ||
10 | bool operator !=(TelValue& x) {return !(*this==x);} | ||
11 | bool operator ==(const QCString& s) {TelValue a(s);return(*this==a);} | ||
12 | bool operator != (const QCString& s) {return !(*this == s);} | ||
13 | |||
14 | virtual ~TelValue(); | ||
15 | void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;} | ||
16 | |||
17 | void assemble() {if(assembled_) return;parse();_assemble();assembled_=true;} | ||
18 | |||
19 | void _parse(); | ||
20 | void _assemble(); | ||
21 | const char * className() const { return "TelValue"; } | ||
22 | |||
23 | // End of automatically generated code // | ||
diff --git a/kabc/vcard/include/generated/TextBinParam-generated.h b/kabc/vcard/include/generated/TextBinParam-generated.h new file mode 100644 index 0000000..d075c10 --- a/dev/null +++ b/kabc/vcard/include/generated/TextBinParam-generated.h | |||
@@ -0,0 +1,23 @@ | |||
1 | // XXX Automatically generated. DO NOT EDIT! XXX // | ||
2 | |||
3 | public: | ||
4 | TextBinParam(); | ||
5 | TextBinParam(const TextBinParam&); | ||
6 | TextBinParam(const QCString&); | ||
7 | TextBinParam & operator = (TextBinParam&); | ||
8 | TextBinParam & operator = (const QCString&); | ||
9 | bool operator ==(TextBinParam&); | ||
10 | bool operator !=(TextBinParam& x) {return !(*this==x);} | ||
11 | bool operator ==(const QCString& s) {TextBinParam a(s);return(*this==a);} | ||
12 | bool operator != (const QCString& s) {return !(*this == s);} | ||
13 | |||
14 | virtual ~TextBinParam(); | ||
15 | void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;} | ||
16 | |||
17 | void assemble() {if(assembled_) return;parse();_assemble();assembled_=true;} | ||
18 | |||
19 | void _parse(); | ||
20 | void _assemble(); | ||
21 | const char * className() const { return "TextBinParam"; } | ||
22 | |||
23 | // End of automatically generated code // | ||
diff --git a/kabc/vcard/include/generated/TextBinValue-generated.h b/kabc/vcard/include/generated/TextBinValue-generated.h new file mode 100644 index 0000000..e9553ac --- a/dev/null +++ b/kabc/vcard/include/generated/TextBinValue-generated.h | |||
@@ -0,0 +1,23 @@ | |||
1 | // XXX Automatically generated. DO NOT EDIT! XXX // | ||
2 | |||
3 | public: | ||
4 | TextBinValue(); | ||
5 | TextBinValue(const TextBinValue&); | ||
6 | TextBinValue(const QCString&); | ||
7 | TextBinValue & operator = (TextBinValue&); | ||
8 | TextBinValue & operator = (const QCString&); | ||
9 | bool operator ==(TextBinValue&); | ||
10 | bool operator !=(TextBinValue& x) {return !(*this==x);} | ||
11 | bool operator ==(const QCString& s) {TextBinValue a(s);return(*this==a);} | ||
12 | bool operator != (const QCString& s) {return !(*this == s);} | ||
13 | |||
14 | virtual ~TextBinValue(); | ||
15 | void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;} | ||
16 | |||
17 | void assemble() {if(assembled_) return;parse();_assemble();assembled_=true;} | ||
18 | |||
19 | void _parse(); | ||
20 | void _assemble(); | ||
21 | const char * className() const { return "TextBinValue"; } | ||
22 | |||
23 | // End of automatically generated code // | ||
diff --git a/kabc/vcard/include/generated/TextListValue-generated.h b/kabc/vcard/include/generated/TextListValue-generated.h new file mode 100644 index 0000000..9f46124 --- a/dev/null +++ b/kabc/vcard/include/generated/TextListValue-generated.h | |||
@@ -0,0 +1,23 @@ | |||
1 | // XXX Automatically generated. DO NOT EDIT! XXX // | ||
2 | |||
3 | public: | ||
4 | TextListValue(); | ||
5 | TextListValue(const TextListValue&); | ||
6 | TextListValue(const QCString&); | ||
7 | TextListValue & operator = (TextListValue&); | ||
8 | TextListValue & operator = (const QCString&); | ||
9 | bool operator ==(TextListValue&); | ||
10 | bool operator !=(TextListValue& x) {return !(*this==x);} | ||
11 | bool operator ==(const QCString& s) {TextListValue a(s);return(*this==a);} | ||
12 | bool operator != (const QCString& s) {return !(*this == s);} | ||
13 | |||
14 | virtual ~TextListValue(); | ||
15 | void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;} | ||
16 | |||
17 | void assemble() {if(assembled_) return;parse();_assemble();assembled_=true;} | ||
18 | |||
19 | void _parse(); | ||
20 | void _assemble(); | ||
21 | const char * className() const { return "TextListValue"; } | ||
22 | |||
23 | // End of automatically generated code // | ||
diff --git a/kabc/vcard/include/generated/TextNSParam-generated.h b/kabc/vcard/include/generated/TextNSParam-generated.h new file mode 100644 index 0000000..d7f58ca --- a/dev/null +++ b/kabc/vcard/include/generated/TextNSParam-generated.h | |||
@@ -0,0 +1,23 @@ | |||
1 | // XXX Automatically generated. DO NOT EDIT! XXX // | ||
2 | |||
3 | public: | ||
4 | TextNSParam(); | ||
5 | TextNSParam(const TextNSParam&); | ||
6 | TextNSParam(const QCString&); | ||
7 | TextNSParam & operator = (TextNSParam&); | ||
8 | TextNSParam & operator = (const QCString&); | ||
9 | bool operator ==(TextNSParam&); | ||
10 | bool operator !=(TextNSParam& x) {return !(*this==x);} | ||
11 | bool operator ==(const QCString& s) {TextNSParam a(s);return(*this==a);} | ||
12 | bool operator != (const QCString& s) {return !(*this == s);} | ||
13 | |||
14 | virtual ~TextNSParam(); | ||
15 | void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;} | ||
16 | |||
17 | void assemble() {if(assembled_) return;parse();_assemble();assembled_=true;} | ||
18 | |||
19 | void _parse(); | ||
20 | void _assemble(); | ||
21 | const char * className() const { return "TextNSParam"; } | ||
22 | |||
23 | // End of automatically generated code // | ||
diff --git a/kabc/vcard/include/generated/TextParam-generated.h b/kabc/vcard/include/generated/TextParam-generated.h new file mode 100644 index 0000000..154e1bf --- a/dev/null +++ b/kabc/vcard/include/generated/TextParam-generated.h | |||
@@ -0,0 +1,23 @@ | |||
1 | // XXX Automatically generated. DO NOT EDIT! XXX // | ||
2 | |||
3 | public: | ||
4 | TextParam(); | ||
5 | TextParam(const TextParam&); | ||
6 | TextParam(const QCString&); | ||
7 | TextParam & operator = (TextParam&); | ||
8 | TextParam & operator = (const QCString&); | ||
9 | bool operator ==(TextParam&); | ||
10 | bool operator !=(TextParam& x) {return !(*this==x);} | ||
11 | bool operator ==(const QCString& s) {TextParam a(s);return(*this==a);} | ||
12 | bool operator != (const QCString& s) {return !(*this == s);} | ||
13 | |||
14 | virtual ~TextParam(); | ||
15 | void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;} | ||
16 | |||
17 | void assemble() {if(assembled_) return;parse();_assemble();assembled_=true;} | ||
18 | |||
19 | void _parse(); | ||
20 | void _assemble(); | ||
21 | const char * className() const { return "TextParam"; } | ||
22 | |||
23 | // End of automatically generated code // | ||
diff --git a/kabc/vcard/include/generated/TextValue-generated.h b/kabc/vcard/include/generated/TextValue-generated.h new file mode 100644 index 0000000..e1c4dcc --- a/dev/null +++ b/kabc/vcard/include/generated/TextValue-generated.h | |||
@@ -0,0 +1,23 @@ | |||
1 | // XXX Automatically generated. DO NOT EDIT! XXX // | ||
2 | |||
3 | public: | ||
4 | TextValue(); | ||
5 | TextValue(const TextValue&); | ||
6 | TextValue(const QCString&); | ||
7 | TextValue & operator = (TextValue&); | ||
8 | TextValue & operator = (const QCString&); | ||
9 | bool operator ==(TextValue&); | ||
10 | bool operator !=(TextValue& x) {return !(*this==x);} | ||
11 | bool operator ==(const QCString& s) {TextValue a(s);return(*this==a);} | ||
12 | bool operator != (const QCString& s) {return !(*this == s);} | ||
13 | |||
14 | virtual ~TextValue(); | ||
15 | void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;} | ||
16 | |||
17 | void assemble() {if(assembled_) return;parse();_assemble();assembled_=true;} | ||
18 | |||
19 | void _parse(); | ||
20 | void _assemble(); | ||
21 | const char * className() const { return "TextValue"; } | ||
22 | |||
23 | // End of automatically generated code // | ||
diff --git a/kabc/vcard/include/generated/URIValue-generated.h b/kabc/vcard/include/generated/URIValue-generated.h new file mode 100644 index 0000000..dbcb5c1 --- a/dev/null +++ b/kabc/vcard/include/generated/URIValue-generated.h | |||
@@ -0,0 +1,23 @@ | |||
1 | // XXX Automatically generated. DO NOT EDIT! XXX // | ||
2 | |||
3 | public: | ||
4 | URIValue(); | ||
5 | URIValue(const URIValue&); | ||
6 | URIValue(const QCString&); | ||
7 | URIValue & operator = (URIValue&); | ||
8 | URIValue & operator = (const QCString&); | ||
9 | bool operator ==(URIValue&); | ||
10 | bool operator !=(URIValue& x) {return !(*this==x);} | ||
11 | bool operator ==(const QCString& s) {URIValue a(s);return(*this==a);} | ||
12 | bool operator != (const QCString& s) {return !(*this == s);} | ||
13 | |||
14 | virtual ~URIValue(); | ||
15 | void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;} | ||
16 | |||
17 | void assemble() {if(assembled_) return;parse();_assemble();assembled_=true;} | ||
18 | |||
19 | void _parse(); | ||
20 | void _assemble(); | ||
21 | const char * className() const { return "URIValue"; } | ||
22 | |||
23 | // End of automatically generated code // | ||
diff --git a/kabc/vcard/include/generated/UTCValue-generated.h b/kabc/vcard/include/generated/UTCValue-generated.h new file mode 100644 index 0000000..46e447b --- a/dev/null +++ b/kabc/vcard/include/generated/UTCValue-generated.h | |||
@@ -0,0 +1,23 @@ | |||
1 | // XXX Automatically generated. DO NOT EDIT! XXX // | ||
2 | |||
3 | public: | ||
4 | UTCValue(); | ||
5 | UTCValue(const UTCValue&); | ||
6 | UTCValue(const QCString&); | ||
7 | UTCValue & operator = (UTCValue&); | ||
8 | UTCValue & operator = (const QCString&); | ||
9 | bool operator ==(UTCValue&); | ||
10 | bool operator !=(UTCValue& x) {return !(*this==x);} | ||
11 | bool operator ==(const QCString& s) {UTCValue a(s);return(*this==a);} | ||
12 | bool operator != (const QCString& s) {return !(*this == s);} | ||
13 | |||
14 | virtual ~UTCValue(); | ||
15 | void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;} | ||
16 | |||
17 | void assemble() {if(assembled_) return;parse();_assemble();assembled_=true;} | ||
18 | |||
19 | void _parse(); | ||
20 | void _assemble(); | ||
21 | const char * className() const { return "UTCValue"; } | ||
22 | |||
23 | // End of automatically generated code // | ||
diff --git a/kabc/vcard/include/generated/VCard-generated.h b/kabc/vcard/include/generated/VCard-generated.h new file mode 100644 index 0000000..4d7d96d --- a/dev/null +++ b/kabc/vcard/include/generated/VCard-generated.h | |||
@@ -0,0 +1,23 @@ | |||
1 | // XXX Automatically generated. DO NOT EDIT! XXX // | ||
2 | |||
3 | public: | ||
4 | VCard(); | ||
5 | VCard(const VCard&); | ||
6 | VCard(const QCString&); | ||
7 | VCard & operator = (VCard&); | ||
8 | VCard & operator = (const QCString&); | ||
9 | bool operator ==(VCard&); | ||
10 | bool operator !=(VCard& x) {return !(*this==x);} | ||
11 | bool operator ==(const QCString& s) {VCard a(s);return(*this==a);} | ||
12 | bool operator != (const QCString& s) {return !(*this == s);} | ||
13 | |||
14 | virtual ~VCard(); | ||
15 | void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;} | ||
16 | |||
17 | void assemble() {if(assembled_) return;parse();_assemble();assembled_=true;} | ||
18 | |||
19 | void _parse(); | ||
20 | void _assemble(); | ||
21 | const char * className() const { return "VCard"; } | ||
22 | |||
23 | // End of automatically generated code // | ||
diff --git a/kabc/vcard/include/generated/VCardEntity-generated.h b/kabc/vcard/include/generated/VCardEntity-generated.h new file mode 100644 index 0000000..9f2dfbc --- a/dev/null +++ b/kabc/vcard/include/generated/VCardEntity-generated.h | |||
@@ -0,0 +1,23 @@ | |||
1 | // XXX Automatically generated. DO NOT EDIT! XXX // | ||
2 | |||
3 | public: | ||
4 | VCardEntity(); | ||
5 | VCardEntity(const VCardEntity&); | ||
6 | VCardEntity(const QCString&); | ||
7 | VCardEntity & operator = (VCardEntity&); | ||
8 | VCardEntity & operator = (const QCString&); | ||
9 | bool operator ==(VCardEntity&); | ||
10 | bool operator !=(VCardEntity& x) {return !(*this==x);} | ||
11 | bool operator ==(const QCString& s) {VCardEntity a(s);return(*this==a);} | ||
12 | bool operator != (const QCString& s) {return !(*this == s);} | ||
13 | |||
14 | virtual ~VCardEntity(); | ||
15 | void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;} | ||
16 | |||
17 | void assemble() {if(assembled_) return;parse();_assemble();assembled_=true;} | ||
18 | |||
19 | void _parse(); | ||
20 | void _assemble(); | ||
21 | const char * className() const { return "VCardEntity"; } | ||
22 | |||
23 | // End of automatically generated code // | ||
diff --git a/kabc/vcard/include/generated/Value-generated.h b/kabc/vcard/include/generated/Value-generated.h new file mode 100644 index 0000000..7afac34 --- a/dev/null +++ b/kabc/vcard/include/generated/Value-generated.h | |||
@@ -0,0 +1,23 @@ | |||
1 | // XXX Automatically generated. DO NOT EDIT! XXX // | ||
2 | |||
3 | public: | ||
4 | Value(); | ||
5 | Value(const Value&); | ||
6 | Value(const QCString&); | ||
7 | Value & operator = (Value&); | ||
8 | Value & operator = (const QCString&); | ||
9 | bool operator ==(Value&); | ||
10 | bool operator !=(Value& x) {return !(*this==x);} | ||
11 | bool operator ==(const QCString& s) {Value a(s);return(*this==a);} | ||
12 | bool operator != (const QCString& s) {return !(*this == s);} | ||
13 | |||
14 | virtual ~Value(); | ||
15 | void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;} | ||
16 | |||
17 | void assemble() {if(assembled_) return;parse();_assemble();assembled_=true;} | ||
18 | |||
19 | void _parse(); | ||
20 | void _assemble(); | ||
21 | const char * className() const { return "Value"; } | ||
22 | |||
23 | // End of automatically generated code // | ||
diff --git a/kabc/vcard/include/generated/generate b/kabc/vcard/include/generated/generate new file mode 100644 index 0000000..926dbf1 --- a/dev/null +++ b/kabc/vcard/include/generated/generate | |||
@@ -0,0 +1,2 @@ | |||
1 | #!/bin/sh | ||
2 | cat headerBodies | awk -f generateHeaders.awk | ||
diff --git a/kabc/vcard/include/generated/generateHeaders.awk b/kabc/vcard/include/generated/generateHeaders.awk new file mode 100644 index 0000000..1053144 --- a/dev/null +++ b/kabc/vcard/include/generated/generateHeaders.awk | |||
@@ -0,0 +1,40 @@ | |||
1 | #!/bin/awk -f | ||
2 | |||
3 | { | ||
4 | outfile = $1 "-generated.h" | ||
5 | name = $1 | ||
6 | |||
7 | OFS="" | ||
8 | |||
9 | print "// XXX Automatically generated. DO NOT EDIT! XXX //\n" > outfile | ||
10 | |||
11 | if ($2 == "v") { pre = "virtual " } else { pre = "" } | ||
12 | |||
13 | print "public:" >> outfile | ||
14 | print name "();" >> outfile | ||
15 | print name "(const " name "&);" >> outfile | ||
16 | print name "(const QCString&);" >> outfile | ||
17 | print pre name " & operator = (" name "&);" >> outfile | ||
18 | print pre name " & operator = (const QCString&);" >> outfile | ||
19 | print pre "bool operator ==(" name "&);" >> outfile | ||
20 | print pre "bool operator !=(" name "& x) {return !(*this==x);}" \ | ||
21 | >> outfile | ||
22 | print pre "bool operator ==(const QCString& s) {" name " a(s);" \ | ||
23 | "return(*this==a);} " >> outfile | ||
24 | print pre "bool operator != (const QCString& s) {return !(*this == s);}\n" \ | ||
25 | >> outfile | ||
26 | print "virtual ~" name "();" >> outfile | ||
27 | print pre "void parse() " \ | ||
28 | "{if(!parsed_) _parse();parsed_=true;assembled_=false;}\n" \ | ||
29 | >> outfile | ||
30 | print pre "void assemble() " \ | ||
31 | "{if(assembled_) return;parse();_assemble();assembled_=true;}\n" \ | ||
32 | >> outfile | ||
33 | print pre "void _parse();" >> outfile | ||
34 | print pre "void _assemble();" >> outfile | ||
35 | print pre "const char * className() const { return \"" name "\"; }" \ | ||
36 | >> outfile | ||
37 | |||
38 | print "\n// End of automatically generated code //" >> outfile | ||
39 | } | ||
40 | |||
diff --git a/kabc/vcard/include/generated/headerBodies b/kabc/vcard/include/generated/headerBodies new file mode 100644 index 0000000..5e77b2b --- a/dev/null +++ b/kabc/vcard/include/generated/headerBodies | |||
@@ -0,0 +1,34 @@ | |||
1 | AdrParam Param | ||
2 | AdrValue Value | ||
3 | AgentParam Param | ||
4 | ContentLine Entity | ||
5 | DateParam Param | ||
6 | DateValue Value | ||
7 | EmailParam Param | ||
8 | GeoValue Value | ||
9 | Group Entity | ||
10 | ImageParam Param | ||
11 | ImageValue Value | ||
12 | LangValue Value | ||
13 | NValue Value | ||
14 | Param Entity | ||
15 | PhoneNumberValue Value | ||
16 | SourceParam Param | ||
17 | TelParam Param | ||
18 | TextParam Param | ||
19 | TextNSParam Param | ||
20 | TextValue Value | ||
21 | TextBinParam Param | ||
22 | URIValue Value | ||
23 | VCard Entity | ||
24 | VCardEntity Entity | ||
25 | Value Entity | ||
26 | SoundValue Value | ||
27 | AgentValue Value | ||
28 | TelValue Value | ||
29 | TextBinValue Value | ||
30 | OrgValue Value | ||
31 | UTCValue Value | ||
32 | ClassValue Value | ||
33 | FloatValue Value | ||
34 | TextListValue Value | ||