• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • tdeabc
 

tdeabc

  • tdeabc
  • vcard
  • include
VCardEnum.h
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 <tqcstring.h>
28 
29 #include <tdelibs_export.h>
30 
31 namespace VCARD
32 {
33 
34 extern const TQCString paramNames [];
35 
36 enum EntityType {
37  EntityName,
38  EntityProfile,
39  EntitySource,
40  EntityFullName,
41  EntityN,
42  EntityNickname,
43  EntityPhoto,
44  EntityBirthday,
45  EntityAddress,
46  EntityLabel,
47  EntityTelephone,
48  EntityEmail,
49  EntityMailer,
50  EntityTimeZone,
51  EntityGeo,
52  EntityTitle,
53  EntityRole,
54  EntityLogo,
55  EntityAgent,
56  EntityOrganisation,
57  EntityCategories,
58  EntityNote,
59  EntityProductID,
60  EntityRevision,
61  EntitySortString,
62  EntitySound,
63  EntityUID,
64  EntityURI,
65  EntityURL,
66  EntityVersion,
67  EntityClass,
68  EntityKey,
69  EntityExtension,
70  EntityUnknown
71 };
72 
73 enum ValueType {
74  ValueSound,
75  ValueAgent,
76  ValueAddress,
77  ValueTel,
78  ValueTextBin,
79  ValueOrg,
80  ValueN,
81  ValueUTC,
82  ValueURI,
83  ValueClass,
84  ValueFloat,
85  ValueImage,
86  ValueDate,
87  ValueTextList,
88  ValueText,
89  ValueGeo,
90  ValueUnknown
91 };
92 
93 enum ParamType {
94  ParamUnknown,
95  ParamNone,
96  ParamSource,
97  ParamText,
98  ParamImage,
99  ParamDate,
100  ParamAddrText,
101  ParamTel,
102  ParamEmail,
103  ParamMailer,
104  ParamAgent,
105  ParamTextBin,
106  ParamTextNS,
107  ParamSound
108 };
109 
110 extern const ParamType paramTypesTable[];
111 
112 KVCARD_EXPORT ParamType EntityTypeToParamType(EntityType);
113 KVCARD_EXPORT ValueType EntityTypeToValueType(EntityType);
114 KVCARD_EXPORT TQCString EntityTypeToParamName(EntityType);
115 KVCARD_EXPORT EntityType EntityNameToEntityType(const TQCString &);
116 
117 KVCARD_EXPORT char * encodeBase64(const char *, unsigned long, unsigned long &);
118 KVCARD_EXPORT char * decodeBase64(const char *, unsigned long, unsigned long &);
119 
120 }
121 
122 #endif
123 
VCARD
Definition: VCardAdrParam.h:32

tdeabc

Skip menu "tdeabc"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

tdeabc

Skip menu "tdeabc"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  •     tdecore
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  • tdeioslave
  •   http
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdeabc by doxygen 1.8.8
This website is maintained by Timothy Pearson.