summaryrefslogtreecommitdiffabout
path: root/kabc/vcard/include
authorzautrix <zautrix>2004-06-26 19:01:18 (UTC)
committer zautrix <zautrix>2004-06-26 19:01:18 (UTC)
commitb9aad1f15dc600e4dbe4c62d3fcced6363188ba3 (patch) (unidiff)
tree2c3d4004fb21c72cba65793859f9bcd8ffd3a49c /kabc/vcard/include
downloadkdepimpi-b9aad1f15dc600e4dbe4c62d3fcced6363188ba3.zip
kdepimpi-b9aad1f15dc600e4dbe4c62d3fcced6363188ba3.tar.gz
kdepimpi-b9aad1f15dc600e4dbe4c62d3fcced6363188ba3.tar.bz2
Initial revision
Diffstat (limited to 'kabc/vcard/include') (more/less context) (ignore whitespace changes)
-rw-r--r--kabc/vcard/include/VCard.h43
-rw-r--r--kabc/vcard/include/VCardAdrParam.h64
-rw-r--r--kabc/vcard/include/VCardAdrValue.h83
-rw-r--r--kabc/vcard/include/VCardAgentParam.h60
-rw-r--r--kabc/vcard/include/VCardAgentValue.h44
-rw-r--r--kabc/vcard/include/VCardClassValue.h56
-rw-r--r--kabc/vcard/include/VCardContentLine.h77
-rw-r--r--kabc/vcard/include/VCardDateParam.h44
-rw-r--r--kabc/vcard/include/VCardDateValue.h99
-rw-r--r--kabc/vcard/include/VCardDefines.h52
-rw-r--r--kabc/vcard/include/VCardEmailParam.h56
-rw-r--r--kabc/vcard/include/VCardEntity.h67
-rw-r--r--kabc/vcard/include/VCardEnum.h120
-rw-r--r--kabc/vcard/include/VCardFloatValue.h51
-rw-r--r--kabc/vcard/include/VCardGeoValue.h49
-rw-r--r--kabc/vcard/include/VCardGroup.h39
-rw-r--r--kabc/vcard/include/VCardImageParam.h44
-rw-r--r--kabc/vcard/include/VCardImageValue.h44
-rw-r--r--kabc/vcard/include/VCardImgValue.h39
-rw-r--r--kabc/vcard/include/VCardLangValue.h51
-rw-r--r--kabc/vcard/include/VCardNValue.h56
-rw-r--r--kabc/vcard/include/VCardOrgValue.h50
-rw-r--r--kabc/vcard/include/VCardParam.h59
-rw-r--r--kabc/vcard/include/VCardPhoneNumberValue.h39
-rw-r--r--kabc/vcard/include/VCardRToken.h38
-rw-r--r--kabc/vcard/include/VCardSndValue.h39
-rw-r--r--kabc/vcard/include/VCardSoundValue.h44
-rw-r--r--kabc/vcard/include/VCardSourceParam.h58
-rw-r--r--kabc/vcard/include/VCardTelParam.h51
-rw-r--r--kabc/vcard/include/VCardTelValue.h44
-rw-r--r--kabc/vcard/include/VCardTextBinParam.h44
-rw-r--r--kabc/vcard/include/VCardTextBinValue.h67
-rw-r--r--kabc/vcard/include/VCardTextListValue.h51
-rw-r--r--kabc/vcard/include/VCardTextParam.h44
-rw-r--r--kabc/vcard/include/VCardTextValue.h41
-rw-r--r--kabc/vcard/include/VCardURIValue.h52
-rw-r--r--kabc/vcard/include/VCardUTCValue.h58
-rw-r--r--kabc/vcard/include/VCardVCard.h63
-rw-r--r--kabc/vcard/include/VCardVCardEntity.h56
-rw-r--r--kabc/vcard/include/VCardValue.h46
-rw-r--r--kabc/vcard/include/generated/AdrParam-generated.h23
-rw-r--r--kabc/vcard/include/generated/AdrValue-generated.h23
-rw-r--r--kabc/vcard/include/generated/AgentParam-generated.h23
-rw-r--r--kabc/vcard/include/generated/AgentValue-generated.h23
-rw-r--r--kabc/vcard/include/generated/ClassValue-generated.h23
-rw-r--r--kabc/vcard/include/generated/ContentLine-generated.h23
-rw-r--r--kabc/vcard/include/generated/DateParam-generated.h23
-rw-r--r--kabc/vcard/include/generated/DateValue-generated.h23
-rw-r--r--kabc/vcard/include/generated/EmailParam-generated.h23
-rw-r--r--kabc/vcard/include/generated/FloatValue-generated.h23
-rw-r--r--kabc/vcard/include/generated/GeoValue-generated.h23
-rw-r--r--kabc/vcard/include/generated/Group-generated.h23
-rw-r--r--kabc/vcard/include/generated/ImageParam-generated.h23
-rw-r--r--kabc/vcard/include/generated/ImageValue-generated.h23
-rw-r--r--kabc/vcard/include/generated/ImgParam-generated.h23
-rw-r--r--kabc/vcard/include/generated/ImgValue-generated.h23
-rw-r--r--kabc/vcard/include/generated/LangValue-generated.h23
-rw-r--r--kabc/vcard/include/generated/NValue-generated.h23
-rw-r--r--kabc/vcard/include/generated/Name-generated.h22
-rw-r--r--kabc/vcard/include/generated/OrgValue-generated.h23
-rw-r--r--kabc/vcard/include/generated/Param-generated.h23
-rw-r--r--kabc/vcard/include/generated/ParamName-generated.h22
-rw-r--r--kabc/vcard/include/generated/ParamValue-generated.h22
-rw-r--r--kabc/vcard/include/generated/PhoneNumberValue-generated.h23
-rw-r--r--kabc/vcard/include/generated/SoundValue-generated.h23
-rw-r--r--kabc/vcard/include/generated/SourceParam-generated.h23
-rw-r--r--kabc/vcard/include/generated/TelParam-generated.h23
-rw-r--r--kabc/vcard/include/generated/TelValue-generated.h23
-rw-r--r--kabc/vcard/include/generated/TextBinParam-generated.h23
-rw-r--r--kabc/vcard/include/generated/TextBinValue-generated.h23
-rw-r--r--kabc/vcard/include/generated/TextListValue-generated.h23
-rw-r--r--kabc/vcard/include/generated/TextNSParam-generated.h23
-rw-r--r--kabc/vcard/include/generated/TextParam-generated.h23
-rw-r--r--kabc/vcard/include/generated/TextValue-generated.h23
-rw-r--r--kabc/vcard/include/generated/URIValue-generated.h23
-rw-r--r--kabc/vcard/include/generated/UTCValue-generated.h23
-rw-r--r--kabc/vcard/include/generated/VCard-generated.h23
-rw-r--r--kabc/vcard/include/generated/VCardEntity-generated.h23
-rw-r--r--kabc/vcard/include/generated/Value-generated.h23
-rw-r--r--kabc/vcard/include/generated/generate2
-rw-r--r--kabc/vcard/include/generated/generateHeaders.awk40
-rw-r--r--kabc/vcard/include/generated/headerBodies34
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
32namespace VCARD
33{
34
35class 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
30namespace VCARD
31{
32
33class 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
32namespace VCARD
33{
34
35class 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
31namespace VCARD
32{
33
34class 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
33namespace VCARD
34{
35
36class 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
34namespace VCARD
35{
36
37class 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
31namespace VCARD
32{
33
34class 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
32namespace VCARD
33{
34
35class 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
31namespace VCARD
32{
33
34class 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
29namespace VCARD
30{
31
32class 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
29namespace VCARD
30{
31
32extern const QCString paramNames [];
33
34enum 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
70enum 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
90enum 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
107extern const ParamType paramTypesTable[];
108
109ParamType EntityTypeToParamType(EntityType);
110ValueType EntityTypeToValueType(EntityType);
111QCString EntityTypeToParamName(EntityType);
112EntityType EntityNameToEntityType(const QCString &);
113
114char * encodeBase64(const char *, unsigned long, unsigned long &);
115char * 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
31namespace VCARD
32{
33
34class 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
26namespace VCARD
27{
28
29class 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
29namespace VCARD
30{
31
32class 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
31namespace VCARD
32{
33
34class 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
31namespace VCARD
32{
33
34class 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
29namespace VCARD
30{
31
32class 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
32namespace VCARD
33{
34
35class 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
29namespace VCARD
30{
31
32class 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
32namespace VCARD
33{
34
35class 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
32namespace VCARD
33{
34
35class 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
54typedef QPtrList<Param> ParamList;
55typedef 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
29namespace VCARD
30{
31
32class 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
30namespace VCARD
31{
32
33Q_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
29namespace VCARD
30{
31
32class 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
31namespace VCARD
32{
33
34class 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
31namespace VCARD
32{
33
34class 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
31namespace VCARD
32{
33
34class 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
31namespace VCARD
32{
33
34class 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
31namespace VCARD
32{
33
34class 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
31namespace VCARD
32{
33
34class 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
33namespace VCARD
34{
35
36class 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
31namespace VCARD
32{
33
34class 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
29namespace VCARD
30{
31
32class 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
29namespace VCARD
30{
31
32class 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
31namespace VCARD
32{
33
34class 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
34namespace VCARD
35{
36
37class 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
34namespace VCARD
35{
36
37typedef QPtrList<VCard> VCardList;
38typedef QPtrListIterator<VCard> VCardListIterator;
39
40class 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
31namespace VCARD
32{
33
34class Value : public Entity
35{
36#include "Value-generated.h"
37
38 virtual Value *clone() { return new Value( *this ); }
39};
40
41typedef QPtrList<Value> ValueList;
42typedef 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
3public:
4AdrParam();
5AdrParam(const AdrParam&);
6AdrParam(const QCString&);
7AdrParam & operator = (AdrParam&);
8AdrParam & operator = (const QCString&);
9bool operator ==(AdrParam&);
10bool operator !=(AdrParam& x) {return !(*this==x);}
11bool operator ==(const QCString& s) {AdrParam a(s);return(*this==a);}
12bool operator != (const QCString& s) {return !(*this == s);}
13
14virtual ~AdrParam();
15void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;}
16
17void assemble() {if(assembled_) return;parse();_assemble();assembled_=true;}
18
19void _parse();
20void _assemble();
21const 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
3public:
4AdrValue();
5AdrValue(const AdrValue&);
6AdrValue(const QCString&);
7AdrValue & operator = (AdrValue&);
8AdrValue & operator = (const QCString&);
9bool operator ==(AdrValue&);
10bool operator !=(AdrValue& x) {return !(*this==x);}
11bool operator ==(const QCString& s) {AdrValue a(s);return(*this==a);}
12bool operator != (const QCString& s) {return !(*this == s);}
13
14virtual ~AdrValue();
15void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;}
16
17void assemble() {if(assembled_) return;parse();_assemble();assembled_=true;}
18
19void _parse();
20void _assemble();
21const 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
3public:
4AgentParam();
5AgentParam(const AgentParam&);
6AgentParam(const QCString&);
7AgentParam & operator = (AgentParam&);
8AgentParam & operator = (const QCString&);
9bool operator ==(AgentParam&);
10bool operator !=(AgentParam& x) {return !(*this==x);}
11bool operator ==(const QCString& s) {AgentParam a(s);return(*this==a);}
12bool operator != (const QCString& s) {return !(*this == s);}
13
14virtual ~AgentParam();
15void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;}
16
17void assemble() {if(assembled_) return;parse();_assemble();assembled_=true;}
18
19void _parse();
20void _assemble();
21const 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
3public:
4AgentValue();
5AgentValue(const AgentValue&);
6AgentValue(const QCString&);
7AgentValue & operator = (AgentValue&);
8AgentValue & operator = (const QCString&);
9bool operator ==(AgentValue&);
10bool operator !=(AgentValue& x) {return !(*this==x);}
11bool operator ==(const QCString& s) {AgentValue a(s);return(*this==a);}
12bool operator != (const QCString& s) {return !(*this == s);}
13
14virtual ~AgentValue();
15void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;}
16
17void assemble() {if(assembled_) return;parse();_assemble();assembled_=true;}
18
19void _parse();
20void _assemble();
21const 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
3public:
4ClassValue();
5ClassValue(const ClassValue&);
6ClassValue(const QCString&);
7ClassValue & operator = (ClassValue&);
8ClassValue & operator = (const QCString&);
9bool operator ==(ClassValue&);
10bool operator !=(ClassValue& x) {return !(*this==x);}
11bool operator ==(const QCString& s) {ClassValue a(s);return(*this==a);}
12bool operator != (const QCString& s) {return !(*this == s);}
13
14virtual ~ClassValue();
15void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;}
16
17void assemble() {if(assembled_) return;parse();_assemble();assembled_=true;}
18
19void _parse();
20void _assemble();
21const 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
3public:
4ContentLine();
5ContentLine(const ContentLine&);
6ContentLine(const QCString&);
7ContentLine & operator = (ContentLine&);
8ContentLine & operator = (const QCString&);
9bool operator ==(ContentLine&);
10bool operator !=(ContentLine& x) {return !(*this==x);}
11bool operator ==(const QCString& s) {ContentLine a(s);return(*this==a);}
12bool operator != (const QCString& s) {return !(*this == s);}
13
14virtual ~ContentLine();
15void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;}
16
17void assemble() {if(assembled_) return;parse();_assemble();assembled_=true;}
18
19void _parse();
20void _assemble();
21const 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
3public:
4DateParam();
5DateParam(const DateParam&);
6DateParam(const QCString&);
7DateParam & operator = (DateParam&);
8DateParam & operator = (const QCString&);
9bool operator ==(DateParam&);
10bool operator !=(DateParam& x) {return !(*this==x);}
11bool operator ==(const QCString& s) {DateParam a(s);return(*this==a);}
12bool operator != (const QCString& s) {return !(*this == s);}
13
14virtual ~DateParam();
15void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;}
16
17void assemble() {if(assembled_) return;parse();_assemble();assembled_=true;}
18
19void _parse();
20void _assemble();
21const 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
3public:
4DateValue();
5DateValue(const DateValue&);
6DateValue(const QCString&);
7DateValue & operator = (DateValue&);
8DateValue & operator = (const QCString&);
9bool operator ==(DateValue&);
10bool operator !=(DateValue& x) {return !(*this==x);}
11bool operator ==(const QCString& s) {DateValue a(s);return(*this==a);}
12bool operator != (const QCString& s) {return !(*this == s);}
13
14virtual ~DateValue();
15void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;}
16
17void assemble() {if(assembled_) return;parse();_assemble();assembled_=true;}
18
19void _parse();
20void _assemble();
21const 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
3public:
4EmailParam();
5EmailParam(const EmailParam&);
6EmailParam(const QCString&);
7EmailParam & operator = (EmailParam&);
8EmailParam & operator = (const QCString&);
9bool operator ==(EmailParam&);
10bool operator !=(EmailParam& x) {return !(*this==x);}
11bool operator ==(const QCString& s) {EmailParam a(s);return(*this==a);}
12bool operator != (const QCString& s) {return !(*this == s);}
13
14virtual ~EmailParam();
15void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;}
16
17void assemble() {if(assembled_) return;parse();_assemble();assembled_=true;}
18
19void _parse();
20void _assemble();
21const 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
3public:
4FloatValue();
5FloatValue(const FloatValue&);
6FloatValue(const QCString&);
7FloatValue & operator = (FloatValue&);
8FloatValue & operator = (const QCString&);
9bool operator ==(FloatValue&);
10bool operator !=(FloatValue& x) {return !(*this==x);}
11bool operator ==(const QCString& s) {FloatValue a(s);return(*this==a);}
12bool operator != (const QCString& s) {return !(*this == s);}
13
14virtual ~FloatValue();
15void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;}
16
17void assemble() {if(assembled_) return;parse();_assemble();assembled_=true;}
18
19void _parse();
20void _assemble();
21const 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
3public:
4GeoValue();
5GeoValue(const GeoValue&);
6GeoValue(const QCString&);
7GeoValue & operator = (GeoValue&);
8GeoValue & operator = (const QCString&);
9bool operator ==(GeoValue&);
10bool operator !=(GeoValue& x) {return !(*this==x);}
11bool operator ==(const QCString& s) {GeoValue a(s);return(*this==a);}
12bool operator != (const QCString& s) {return !(*this == s);}
13
14virtual ~GeoValue();
15void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;}
16
17void assemble() {if(assembled_) return;parse();_assemble();assembled_=true;}
18
19void _parse();
20void _assemble();
21const 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
3public:
4Group();
5Group(const Group&);
6Group(const QCString&);
7Group & operator = (Group&);
8Group & operator = (const QCString&);
9bool operator ==(Group&);
10bool operator !=(Group& x) {return !(*this==x);}
11bool operator ==(const QCString& s) {Group a(s);return(*this==a);}
12bool operator != (const QCString& s) {return !(*this == s);}
13
14virtual ~Group();
15void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;}
16
17void assemble() {if(assembled_) return;parse();_assemble();assembled_=true;}
18
19void _parse();
20void _assemble();
21const 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
3public:
4ImageParam();
5ImageParam(const ImageParam&);
6ImageParam(const QCString&);
7ImageParam & operator = (ImageParam&);
8ImageParam & operator = (const QCString&);
9bool operator ==(ImageParam&);
10bool operator !=(ImageParam& x) {return !(*this==x);}
11bool operator ==(const QCString& s) {ImageParam a(s);return(*this==a);}
12bool operator != (const QCString& s) {return !(*this == s);}
13
14virtual ~ImageParam();
15void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;}
16
17void assemble() {if(assembled_) return;parse();_assemble();assembled_=true;}
18
19void _parse();
20void _assemble();
21const 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
3public:
4ImageValue();
5ImageValue(const ImageValue&);
6ImageValue(const QCString&);
7ImageValue & operator = (ImageValue&);
8ImageValue & operator = (const QCString&);
9bool operator ==(ImageValue&);
10bool operator !=(ImageValue& x) {return !(*this==x);}
11bool operator ==(const QCString& s) {ImageValue a(s);return(*this==a);}
12bool operator != (const QCString& s) {return !(*this == s);}
13
14virtual ~ImageValue();
15void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;}
16
17void assemble() {if(assembled_) return;parse();_assemble();assembled_=true;}
18
19void _parse();
20void _assemble();
21const 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
3public:
4ImgParam();
5ImgParam(const ImgParam&);
6ImgParam(const QCString&);
7ImgParam & operator = (ImgParam&);
8ImgParam & operator = (const QCString&);
9bool operator ==(ImgParam&);
10bool operator !=(ImgParam& x) {return !(*this==x);}
11bool operator ==(const QCString& s) {ImgParam a(s);return(*this==a);}
12bool operator != (const QCString& s) {return !(*this == s);}
13
14virtual ~ImgParam();
15void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;}
16
17void assemble() {if(assembled_) return;parse();_assemble();assembled_=true;}
18
19void _parse();
20void _assemble();
21virtual 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
3public:
4ImgValue();
5ImgValue(const ImgValue&);
6ImgValue(const QCString&);
7ImgValue & operator = (ImgValue&);
8ImgValue & operator = (const QCString&);
9bool operator ==(ImgValue&);
10bool operator !=(ImgValue& x) {return !(*this==x);}
11bool operator ==(const QCString& s) {ImgValue a(s);return(*this==a);}
12bool operator != (const QCString& s) {return !(*this == s);}
13
14virtual ~ImgValue();
15void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;}
16
17void assemble() {if(assembled_) return;parse();_assemble();assembled_=true;}
18
19void _parse();
20void _assemble();
21virtual 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
3public:
4LangValue();
5LangValue(const LangValue&);
6LangValue(const QCString&);
7LangValue & operator = (LangValue&);
8LangValue & operator = (const QCString&);
9bool operator ==(LangValue&);
10bool operator !=(LangValue& x) {return !(*this==x);}
11bool operator ==(const QCString& s) {LangValue a(s);return(*this==a);}
12bool operator != (const QCString& s) {return !(*this == s);}
13
14virtual ~LangValue();
15void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;}
16
17void assemble() {if(assembled_) return;parse();_assemble();assembled_=true;}
18
19void _parse();
20void _assemble();
21const 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
3public:
4NValue();
5NValue(const NValue&);
6NValue(const QCString&);
7NValue & operator = (NValue&);
8NValue & operator = (const QCString&);
9bool operator ==(NValue&);
10bool operator !=(NValue& x) {return !(*this==x);}
11bool operator ==(const QCString& s) {NValue a(s);return(*this==a);}
12bool operator != (const QCString& s) {return !(*this == s);}
13
14virtual ~NValue();
15void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;}
16
17void assemble() {if(assembled_) return;parse();_assemble();assembled_=true;}
18
19void _parse();
20void _assemble();
21const 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
3public:
4V_Name();
5V_Name(const V_Name&);
6V_Name(const QCString&);
7V_Name & operator = (V_Name&);
8V_Name & operator = (const QCString&);
9bool operator ==(V_Name&);
10bool operator !=(V_Name& x) {return !(*this==x);}
11bool operator ==(const QCString& s) {V_Name a(s);return(*this==a);}
12bool operator != (const QCString& s) {return !(*this == s);}
13
14virtual ~V_Name();
15void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;}
16
17void assemble() {if(assembled_) return;parse();_assemble();assembled_=true;}
18
19void _parse();
20void _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
3public:
4OrgValue();
5OrgValue(const OrgValue&);
6OrgValue(const QCString&);
7OrgValue & operator = (OrgValue&);
8OrgValue & operator = (const QCString&);
9bool operator ==(OrgValue&);
10bool operator !=(OrgValue& x) {return !(*this==x);}
11bool operator ==(const QCString& s) {OrgValue a(s);return(*this==a);}
12bool operator != (const QCString& s) {return !(*this == s);}
13
14virtual ~OrgValue();
15void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;}
16
17void assemble() {if(assembled_) return;parse();_assemble();assembled_=true;}
18
19void _parse();
20void _assemble();
21const 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
3public:
4Param();
5Param(const Param&);
6Param(const QCString&);
7Param & operator = (Param&);
8Param & operator = (const QCString&);
9bool operator ==(Param&);
10bool operator !=(Param& x) {return !(*this==x);}
11bool operator ==(const QCString& s) {Param a(s);return(*this==a);}
12bool operator != (const QCString& s) {return !(*this == s);}
13
14virtual ~Param();
15void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;}
16
17void assemble() {if(assembled_) return;parse();_assemble();assembled_=true;}
18
19void _parse();
20void _assemble();
21const 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
3public:
4V_ParamName();
5V_ParamName(const V_ParamName&);
6V_ParamName(const QCString&);
7V_ParamName & operator = (V_ParamName&);
8V_ParamName & operator = (const QCString&);
9bool operator ==(V_ParamName&);
10bool operator !=(V_ParamName& x) {return !(*this==x);}
11bool operator ==(const QCString& s) {V_ParamName a(s);return(*this==a);}
12bool operator != (const QCString& s) {return !(*this == s);}
13
14virtual ~V_ParamName();
15void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;}
16
17void assemble() {if(assembled_) return;parse();_assemble();assembled_=true;}
18
19void _parse();
20void _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
3public:
4V_ParamValue();
5V_ParamValue(const V_ParamValue&);
6V_ParamValue(const QCString&);
7V_ParamValue & operator = (V_ParamValue&);
8V_ParamValue & operator = (const QCString&);
9bool operator ==(V_ParamValue&);
10bool operator !=(V_ParamValue& x) {return !(*this==x);}
11bool operator ==(const QCString& s) {V_ParamValue a(s);return(*this==a);}
12bool operator != (const QCString& s) {return !(*this == s);}
13
14virtual ~V_ParamValue();
15void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;}
16
17void assemble() {if(assembled_) return;parse();_assemble();assembled_=true;}
18
19void _parse();
20void _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
3public:
4PhoneNumberValue();
5PhoneNumberValue(const PhoneNumberValue&);
6PhoneNumberValue(const QCString&);
7PhoneNumberValue & operator = (PhoneNumberValue&);
8PhoneNumberValue & operator = (const QCString&);
9bool operator ==(PhoneNumberValue&);
10bool operator !=(PhoneNumberValue& x) {return !(*this==x);}
11bool operator ==(const QCString& s) {PhoneNumberValue a(s);return(*this==a);}
12bool operator != (const QCString& s) {return !(*this == s);}
13
14virtual ~PhoneNumberValue();
15void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;}
16
17void assemble() {if(assembled_) return;parse();_assemble();assembled_=true;}
18
19void _parse();
20void _assemble();
21const 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
3public:
4SoundValue();
5SoundValue(const SoundValue&);
6SoundValue(const QCString&);
7SoundValue & operator = (SoundValue&);
8SoundValue & operator = (const QCString&);
9bool operator ==(SoundValue&);
10bool operator !=(SoundValue& x) {return !(*this==x);}
11bool operator ==(const QCString& s) {SoundValue a(s);return(*this==a);}
12bool operator != (const QCString& s) {return !(*this == s);}
13
14virtual ~SoundValue();
15void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;}
16
17void assemble() {if(assembled_) return;parse();_assemble();assembled_=true;}
18
19void _parse();
20void _assemble();
21const 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
3public:
4SourceParam();
5SourceParam(const SourceParam&);
6SourceParam(const QCString&);
7SourceParam & operator = (SourceParam&);
8SourceParam & operator = (const QCString&);
9bool operator ==(SourceParam&);
10bool operator !=(SourceParam& x) {return !(*this==x);}
11bool operator ==(const QCString& s) {SourceParam a(s);return(*this==a);}
12bool operator != (const QCString& s) {return !(*this == s);}
13
14virtual ~SourceParam();
15void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;}
16
17void assemble() {if(assembled_) return;parse();_assemble();assembled_=true;}
18
19void _parse();
20void _assemble();
21const 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
3public:
4TelParam();
5TelParam(const TelParam&);
6TelParam(const QCString&);
7TelParam & operator = (TelParam&);
8TelParam & operator = (const QCString&);
9bool operator ==(TelParam&);
10bool operator !=(TelParam& x) {return !(*this==x);}
11bool operator ==(const QCString& s) {TelParam a(s);return(*this==a);}
12bool operator != (const QCString& s) {return !(*this == s);}
13
14virtual ~TelParam();
15void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;}
16
17void assemble() {if(assembled_) return;parse();_assemble();assembled_=true;}
18
19void _parse();
20void _assemble();
21const 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
3public:
4TelValue();
5TelValue(const TelValue&);
6TelValue(const QCString&);
7TelValue & operator = (TelValue&);
8TelValue & operator = (const QCString&);
9bool operator ==(TelValue&);
10bool operator !=(TelValue& x) {return !(*this==x);}
11bool operator ==(const QCString& s) {TelValue a(s);return(*this==a);}
12bool operator != (const QCString& s) {return !(*this == s);}
13
14virtual ~TelValue();
15void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;}
16
17void assemble() {if(assembled_) return;parse();_assemble();assembled_=true;}
18
19void _parse();
20void _assemble();
21const 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
3public:
4TextBinParam();
5TextBinParam(const TextBinParam&);
6TextBinParam(const QCString&);
7TextBinParam & operator = (TextBinParam&);
8TextBinParam & operator = (const QCString&);
9bool operator ==(TextBinParam&);
10bool operator !=(TextBinParam& x) {return !(*this==x);}
11bool operator ==(const QCString& s) {TextBinParam a(s);return(*this==a);}
12bool operator != (const QCString& s) {return !(*this == s);}
13
14virtual ~TextBinParam();
15void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;}
16
17void assemble() {if(assembled_) return;parse();_assemble();assembled_=true;}
18
19void _parse();
20void _assemble();
21const 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
3public:
4TextBinValue();
5TextBinValue(const TextBinValue&);
6TextBinValue(const QCString&);
7TextBinValue & operator = (TextBinValue&);
8TextBinValue & operator = (const QCString&);
9bool operator ==(TextBinValue&);
10bool operator !=(TextBinValue& x) {return !(*this==x);}
11bool operator ==(const QCString& s) {TextBinValue a(s);return(*this==a);}
12bool operator != (const QCString& s) {return !(*this == s);}
13
14virtual ~TextBinValue();
15void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;}
16
17void assemble() {if(assembled_) return;parse();_assemble();assembled_=true;}
18
19void _parse();
20void _assemble();
21const 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
3public:
4TextListValue();
5TextListValue(const TextListValue&);
6TextListValue(const QCString&);
7TextListValue & operator = (TextListValue&);
8TextListValue & operator = (const QCString&);
9bool operator ==(TextListValue&);
10bool operator !=(TextListValue& x) {return !(*this==x);}
11bool operator ==(const QCString& s) {TextListValue a(s);return(*this==a);}
12bool operator != (const QCString& s) {return !(*this == s);}
13
14virtual ~TextListValue();
15void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;}
16
17void assemble() {if(assembled_) return;parse();_assemble();assembled_=true;}
18
19void _parse();
20void _assemble();
21const 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
3public:
4TextNSParam();
5TextNSParam(const TextNSParam&);
6TextNSParam(const QCString&);
7TextNSParam & operator = (TextNSParam&);
8TextNSParam & operator = (const QCString&);
9bool operator ==(TextNSParam&);
10bool operator !=(TextNSParam& x) {return !(*this==x);}
11bool operator ==(const QCString& s) {TextNSParam a(s);return(*this==a);}
12bool operator != (const QCString& s) {return !(*this == s);}
13
14virtual ~TextNSParam();
15void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;}
16
17void assemble() {if(assembled_) return;parse();_assemble();assembled_=true;}
18
19void _parse();
20void _assemble();
21const 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
3public:
4TextParam();
5TextParam(const TextParam&);
6TextParam(const QCString&);
7TextParam & operator = (TextParam&);
8TextParam & operator = (const QCString&);
9bool operator ==(TextParam&);
10bool operator !=(TextParam& x) {return !(*this==x);}
11bool operator ==(const QCString& s) {TextParam a(s);return(*this==a);}
12bool operator != (const QCString& s) {return !(*this == s);}
13
14virtual ~TextParam();
15void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;}
16
17void assemble() {if(assembled_) return;parse();_assemble();assembled_=true;}
18
19void _parse();
20void _assemble();
21const 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
3public:
4TextValue();
5TextValue(const TextValue&);
6TextValue(const QCString&);
7TextValue & operator = (TextValue&);
8TextValue & operator = (const QCString&);
9bool operator ==(TextValue&);
10bool operator !=(TextValue& x) {return !(*this==x);}
11bool operator ==(const QCString& s) {TextValue a(s);return(*this==a);}
12bool operator != (const QCString& s) {return !(*this == s);}
13
14virtual ~TextValue();
15void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;}
16
17void assemble() {if(assembled_) return;parse();_assemble();assembled_=true;}
18
19void _parse();
20void _assemble();
21const 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
3public:
4URIValue();
5URIValue(const URIValue&);
6URIValue(const QCString&);
7URIValue & operator = (URIValue&);
8URIValue & operator = (const QCString&);
9bool operator ==(URIValue&);
10bool operator !=(URIValue& x) {return !(*this==x);}
11bool operator ==(const QCString& s) {URIValue a(s);return(*this==a);}
12bool operator != (const QCString& s) {return !(*this == s);}
13
14virtual ~URIValue();
15void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;}
16
17void assemble() {if(assembled_) return;parse();_assemble();assembled_=true;}
18
19void _parse();
20void _assemble();
21const 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
3public:
4UTCValue();
5UTCValue(const UTCValue&);
6UTCValue(const QCString&);
7UTCValue & operator = (UTCValue&);
8UTCValue & operator = (const QCString&);
9bool operator ==(UTCValue&);
10bool operator !=(UTCValue& x) {return !(*this==x);}
11bool operator ==(const QCString& s) {UTCValue a(s);return(*this==a);}
12bool operator != (const QCString& s) {return !(*this == s);}
13
14virtual ~UTCValue();
15void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;}
16
17void assemble() {if(assembled_) return;parse();_assemble();assembled_=true;}
18
19void _parse();
20void _assemble();
21const 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
3public:
4VCard();
5VCard(const VCard&);
6VCard(const QCString&);
7VCard & operator = (VCard&);
8VCard & operator = (const QCString&);
9bool operator ==(VCard&);
10bool operator !=(VCard& x) {return !(*this==x);}
11bool operator ==(const QCString& s) {VCard a(s);return(*this==a);}
12bool operator != (const QCString& s) {return !(*this == s);}
13
14virtual ~VCard();
15void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;}
16
17void assemble() {if(assembled_) return;parse();_assemble();assembled_=true;}
18
19void _parse();
20void _assemble();
21const 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
3public:
4VCardEntity();
5VCardEntity(const VCardEntity&);
6VCardEntity(const QCString&);
7VCardEntity & operator = (VCardEntity&);
8VCardEntity & operator = (const QCString&);
9bool operator ==(VCardEntity&);
10bool operator !=(VCardEntity& x) {return !(*this==x);}
11bool operator ==(const QCString& s) {VCardEntity a(s);return(*this==a);}
12bool operator != (const QCString& s) {return !(*this == s);}
13
14virtual ~VCardEntity();
15void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;}
16
17void assemble() {if(assembled_) return;parse();_assemble();assembled_=true;}
18
19void _parse();
20void _assemble();
21const 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
3public:
4Value();
5Value(const Value&);
6Value(const QCString&);
7Value & operator = (Value&);
8Value & operator = (const QCString&);
9bool operator ==(Value&);
10bool operator !=(Value& x) {return !(*this==x);}
11bool operator ==(const QCString& s) {Value a(s);return(*this==a);}
12bool operator != (const QCString& s) {return !(*this == s);}
13
14virtual ~Value();
15void parse() {if(!parsed_) _parse();parsed_=true;assembled_=false;}
16
17void assemble() {if(assembled_) return;parse();_assemble();assembled_=true;}
18
19void _parse();
20void _assemble();
21const 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
2cat 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 @@
1AdrParam Param
2AdrValue Value
3AgentParam Param
4ContentLine Entity
5DateParam Param
6DateValue Value
7EmailParam Param
8GeoValue Value
9Group Entity
10ImageParam Param
11ImageValue Value
12LangValue Value
13NValue Value
14Param Entity
15PhoneNumberValue Value
16SourceParam Param
17TelParam Param
18TextParam Param
19TextNSParam Param
20TextValue Value
21TextBinParam Param
22URIValue Value
23VCard Entity
24VCardEntity Entity
25Value Entity
26SoundValue Value
27AgentValue Value
28TelValue Value
29TextBinValue Value
30OrgValue Value
31UTCValue Value
32ClassValue Value
33FloatValue Value
34TextListValue Value