aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/backend/ebook/e-card-pairs.h
blob: f82f948ebbedd9b413f5c7caceb639a34017a424 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/* GnomeCard - a graphical contact manager.
 *
 * pairs.h: This file is part of GnomeCard.
 * 
 * Copyright (C) 1999 The Free Software Foundation
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of version 2 of the GNU General Public
 * License as published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public
 * License along with this program; if not, write to the
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 * Boston, MA 02111-1307, USA.
 */

#ifndef __E_CARD_PAIRS_H__
#define __E_CARD_PAIRS_H__

#include <libversit/vcc.h>
#include <ebook/e-card.h>


#if 0
struct pair
{
    char *str;
    ECardPropertyType i ;
};

struct pair prop_lookup[] = {
        {        VCFullNameProp, PROP_FNAME },
        {            VCNameProp, PROP_NAME },
        {           VCPhotoProp, PROP_PHOTO },
        {       VCBirthDateProp, PROP_BDAY },
        {             VCAdrProp, PROP_DELADDR },
        {   VCDeliveryLabelProp, PROP_DELLABEL },
        {       VCTelephoneProp, PROP_PHONE },
        {    VCEmailAddressProp, PROP_EMAIL },
        {          VCMailerProp, PROP_MAILER },
        {        VCTimeZoneProp, PROP_TIMEZN },
        {             VCGeoProp, PROP_GEOPOS },
        {           VCTitleProp, PROP_TITLE },
        {    VCBusinessRoleProp, PROP_ROLE },
        {            VCLogoProp, PROP_LOGO },
        {           VCAgentProp, PROP_AGENT },
        {             VCOrgProp, PROP_ORG },
        {      VCCategoriesProp, PROP_CATEGORIES },
        {         VCCommentProp, PROP_COMMENT },
        {     VCLastRevisedProp, PROP_REV },
        {   VCPronunciationProp, PROP_SOUND },
        {             VCURLProp, PROP_URL },
        {    VCUniqueStringProp, PROP_UID },
        {         VCVersionProp, PROP_VERSION },
        {       VCPublicKeyProp, PROP_KEY },
        {           VCValueProp, PROP_VALUE },
        {        VCEncodingProp, PROP_ENCODING },
        { VCQuotedPrintableProp, PROP_QUOTED_PRINTABLE },
        {            VC8bitProp, PROP_8BIT },
        {          VCBase64Prop, PROP_BASE64 },
        {        VCLanguageProp, PROP_LANG },
        {         VCCharSetProp, PROP_CHARSET },
        { NULL, PROP_NONE} };

struct pair photo_pairs[] = {
        { VCGIFProp, PHOTO_GIF },
        { VCCGMProp, PHOTO_CGM },
        { VCWMFProp, PHOTO_WMF },
        { VCBMPProp, PHOTO_BMP },
        { VCMETProp, PHOTO_MET },
        { VCPMBProp, PHOTO_PMB },
        { VCDIBProp, PHOTO_DIB },
        { VCPICTProp, PHOTO_PICT },
        { VCTIFFProp, PHOTO_TIFF },
        { VCPDFProp, PHOTO_PDF },
        { VCPSProp, PHOTO_PS },
        { VCJPEGProp, PHOTO_JPEG },
        { VCMPEGProp, PHOTO_MPEG },
        { VCMPEG2Prop, PHOTO_MPEG2 },
        { VCAVIProp, PHOTO_AVI },
        { VCQuickTimeProp, PHOTO_QTIME },
        { NULL, 0 } };

struct pair email_pairs[] = {
        { VCAOLProp, EMAIL_AOL },
        { VCAppleLinkProp, EMAIL_APPLE_LINK },
        { VCATTMailProp, EMAIL_ATT },
        { VCCISProp, EMAIL_CIS },
        { VCEWorldProp, EMAIL_EWORLD },
        { VCInternetProp, EMAIL_INET },
        { VCIBMMailProp, EMAIL_IBM },
        { VCMCIMailProp, EMAIL_MCI },
        { VCPowerShareProp, EMAIL_POWERSHARE },
        { VCProdigyProp, EMAIL_PRODIGY },
        { VCTLXProp, EMAIL_TLX },
        { VCX400Prop, EMAIL_X400 },
        { NULL, 0 } };

struct pair sound_pairs[] = {
        { VCAIFFProp, SOUND_AIFF },
        { VCPCMProp, SOUND_PCM },
        { VCWAVEProp, SOUND_WAVE },
        { NULL, 0 } };

struct pair key_pairs[] = {
        { VCX509Prop, KEY_X509 },
        { VCPGPProp, KEY_PGP },
        { NULL, 0 } };
      

#endif
#endif /* ! __E_CARD_PAIRS_H__ */