aboutsummaryrefslogtreecommitdiffstats
path: root/ebook/e-card.h
diff options
context:
space:
mode:
authorNat Friedman <nat@helixcode.com>1999-12-14 03:00:54 +0800
committerNat Friedman <nat@src.gnome.org>1999-12-14 03:00:54 +0800
commit8c10a60ff2cfb3b2a7db082c7bd6780efaa2b6b4 (patch)
tree8b3adeb4a8303178d807d2b628bf3a42b7765b12 /ebook/e-card.h
parent9bd34cd86289069720397e884d7664772458c33a (diff)
downloadgsoc2013-evolution-8c10a60ff2cfb3b2a7db082c7bd6780efaa2b6b4.tar
gsoc2013-evolution-8c10a60ff2cfb3b2a7db082c7bd6780efaa2b6b4.tar.gz
gsoc2013-evolution-8c10a60ff2cfb3b2a7db082c7bd6780efaa2b6b4.tar.bz2
gsoc2013-evolution-8c10a60ff2cfb3b2a7db082c7bd6780efaa2b6b4.tar.lz
gsoc2013-evolution-8c10a60ff2cfb3b2a7db082c7bd6780efaa2b6b4.tar.xz
gsoc2013-evolution-8c10a60ff2cfb3b2a7db082c7bd6780efaa2b6b4.tar.zst
gsoc2013-evolution-8c10a60ff2cfb3b2a7db082c7bd6780efaa2b6b4.zip
New file. New file. New file. New file. New file. :-)
1999-12-13 Nat Friedman <nat@helixcode.com> * ebook/e-book.h: New file. * ebook/e-book.c: New file. * ebook/e-card.h: New file. * ebook/e-card-fields.h: New file. * ebook/e-commerce.h: New file. :-) svn path=/trunk/; revision=1486
Diffstat (limited to 'ebook/e-card.h')
-rw-r--r--ebook/e-card.h61
1 files changed, 61 insertions, 0 deletions
diff --git a/ebook/e-card.h b/ebook/e-card.h
new file mode 100644
index 0000000000..4778b62e2c
--- /dev/null
+++ b/ebook/e-card.h
@@ -0,0 +1,61 @@
+/*
+ * The Evolution addressbook card object.
+ *
+ * Author:
+ * Nat Friedman (nat@helixcode.com)
+ *
+ * Copyright 1999, Helix Code, Inc.
+ */
+
+#ifndef __E_CARD_H__
+#define __E_CARD_H__
+
+#include <ebook/e-card-fields.h>
+
+typedef enum {
+} ECardDirtyFlags;
+
+typedef struct _ECardPrivate ECardPrivate;
+
+typedef struct {
+ GtkObject parent;
+ ECardPrivate *priv;
+} ECard;
+
+typedef struct {
+ GtkObjectClass parent;
+
+ /*
+ * Signals.
+ */
+ void (changed *) (ECardDirtyFlags dirty);
+} ECardClass;
+
+
+ECard *e_card_new (void);
+GtkType e_card_get_type (void);
+
+/* Name */
+char *e_card_get_full_name (ECard *card);
+
+/* Email */
+GList *e_card_get_emails (ECard *card);
+ECardEmail *e_card_get_email (ECard *card);
+
+/* Snail mail */
+GList *e_card_get_addresses (ECard *card);
+ECardAddress *e_card_get_address (ECard *card);
+
+/* Telephone */
+GList *e_card_get_phones (ECard *card);
+ECardPhone *e_card_get_phone (Ecard *card);
+
+/* Title, position, groups */
+char *e_card_get_title (ECard *card);
+GList *e_card_get_categories (ECard *card);
+
+/* Home page, other URLs associated with this person */
+GList *e_card_get_urls (ECard *card);
+ECardURL *e_card_get_url (ECard *card);
+
+#endif /* ! __E_CARD_H__ */