# kabc Library API Documentation

Overview | Class Hierarchy | Classes | Classes (annotated) | Members | Source Files

# VCardEnum.h

    00001 /*
    00002         libvcard - vCard parsing library for vCard version 3.0
    00003
    00004         Copyright (C) 1999 Rik Hemsley rik@kde.org
    00005
    00006   Permission is hereby granted, free of charge, to any person obtaining a copy
    00007   of this software and associated documentation files (the "Software"), to
    00008   deal in the Software without restriction, including without limitation the
    00009   rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
    00010   sell copies of the Software, and to permit persons to whom the Software is
    00011   furnished to do so, subject to the following conditions:
    00012
    00013   The above copyright notice and this permission notice shall be included in
    00014   all copies or substantial portions of the Software.
    00015
    00016   THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    00017   IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    00018   FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
    00019   AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
    00020   ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
    00021   WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
    00022 */
    00023
    00024 #ifndef  ENUM_H
    00025 #define  ENUM_H
    00026
    00027 #include <qcstring.h>
    00028
    00029 namespace VCARD
    00030 {
    00031
    00032 extern const QCString paramNames [];
    00033
    00034 enum EntityType {
    00035         EntityName,
    00036         EntityProfile,
    00037         EntitySource,
    00038         EntityFullName,
    00039         EntityN,
    00040         EntityNickname,
    00041         EntityPhoto,
    00042         EntityBirthday,
    00043         EntityAddress,
    00044         EntityLabel,
    00045         EntityTelephone,
    00046         EntityEmail,
    00047         EntityMailer,
    00048         EntityTimeZone,
    00049         EntityGeo,
    00050         EntityTitle,
    00051         EntityRole,
    00052         EntityLogo,
    00053         EntityAgent,
    00054         EntityOrganisation,
    00055         EntityCategories,
    00056         EntityNote,
    00057         EntityProductID,
    00058         EntityRevision,
    00059         EntitySortString,
    00060         EntitySound,
    00061         EntityUID,
    00062         EntityURL,
    00063         EntityVersion,
    00064         EntityClass,
    00065         EntityKey,
    00066         EntityExtension,
    00067         EntityUnknown
    00068 };
    00069
    00070 enum ValueType {
    00071         ValueSound,
    00072         ValueAgent,
    00073         ValueAddress,
    00074         ValueTel,
    00075         ValueTextBin,
    00076         ValueOrg,
    00077         ValueN,
    00078         ValueUTC,
    00079         ValueURI,
    00080         ValueClass,
    00081         ValueFloat,
    00082         ValueImage,
    00083         ValueDate,
    00084         ValueTextList,
    00085         ValueText,
    00086         ValueGeo,
    00087         ValueUnknown
    00088 };
    00089
    00090 enum ParamType {
    00091         ParamUnknown,
    00092         ParamNone,
    00093         ParamSource,
    00094         ParamText,
    00095         ParamImage,
    00096         ParamDate,
    00097         ParamAddrText,
    00098         ParamTel,
    00099         ParamEmail,
    00100         ParamMailer,
    00101         ParamAgent,
    00102         ParamTextBin,
    00103         ParamTextNS,
    00104         ParamSound
    00105 };
    00106
    00107 extern const ParamType paramTypesTable[];
    00108
    00109 ParamType EntityTypeToParamType(EntityType);
    00110 ValueType EntityTypeToValueType(EntityType);
    00111 QCString EntityTypeToParamName(EntityType);
    00112 EntityType EntityNameToEntityType(const QCString &);
    00113
    00114 char * encodeBase64(const char *, unsigned long, unsigned long &);
    00115 char * decodeBase64(const char *, unsigned long, unsigned long &);
    00116
    00117 }
    00118
    00119 #endif
    00120

This file is part of the documentation for kdelibs Version 3.1.5.
Documentation copyright © 1996-2002 the KDE developers.
Generated on Wed Jan 28 13:29:24 2004 by doxygen 1.3.4 written by Dimitri van Heesch, © 1997-2001