aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/widgets/eab-popup.h
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@src.gnome.org>2006-04-26 13:32:01 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2006-04-26 13:32:01 +0800
commit57b27c587e386ae2c66a9088c2b1e46f4046b157 (patch)
treeca819172b832b73129a9a862a88fe6b1fede0213 /addressbook/gui/widgets/eab-popup.h
parent7a39173f57d7d37ab856638b983a20b739fbdabc (diff)
downloadgsoc2013-evolution-57b27c587e386ae2c66a9088c2b1e46f4046b157.tar
gsoc2013-evolution-57b27c587e386ae2c66a9088c2b1e46f4046b157.tar.gz
gsoc2013-evolution-57b27c587e386ae2c66a9088c2b1e46f4046b157.tar.bz2
gsoc2013-evolution-57b27c587e386ae2c66a9088c2b1e46f4046b157.tar.lz
gsoc2013-evolution-57b27c587e386ae2c66a9088c2b1e46f4046b157.tar.xz
gsoc2013-evolution-57b27c587e386ae2c66a9088c2b1e46f4046b157.tar.zst
gsoc2013-evolution-57b27c587e386ae2c66a9088c2b1e46f4046b157.zip
Committing patch for bug #317512.
svn path=/trunk/; revision=31895
Diffstat (limited to 'addressbook/gui/widgets/eab-popup.h')
-rw-r--r--addressbook/gui/widgets/eab-popup.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/addressbook/gui/widgets/eab-popup.h b/addressbook/gui/widgets/eab-popup.h
index 11e46f4c8c..1ae069dac3 100644
--- a/addressbook/gui/widgets/eab-popup.h
+++ b/addressbook/gui/widgets/eab-popup.h
@@ -46,6 +46,7 @@ typedef struct _EABPopupClass EABPopupClass;
**/
enum _eab_popup_target_t {
EAB_POPUP_TARGET_SELECT,
+ EAB_POPUP_TARGET_URI,
EAB_POPUP_TARGET_SOURCE,
EAB_POPUP_TARGET_SELECT_NAMES,
};
@@ -69,6 +70,11 @@ enum _eab_popup_target_select_t {
EAB_POPUP_CONTACT = 1<<6,
};
+enum _eab_popup_target_uri_t {
+ EAB_POPUP_URI_HTTP = 1<<0,
+ EAB_POPUP_URI_MAILTO = 1<<1,
+ EAB_POPUP_URI_NOT_MAILTO = 1<<2,
+};
/**
* enum _eab_popup_target_source_t - EABPopupTargetSource qualifiers.
*
@@ -85,7 +91,7 @@ enum _eab_popup_target_source_t {
typedef struct _EABPopupTargetSelect EABPopupTargetSelect;
typedef struct _EABPopupTargetSource EABPopupTargetSource;
typedef struct _EABPopupTargetSelectNames EABPopupTargetSelectNames;
-
+typedef struct _EABPopupTargetURI EABPopupTargetURI;
/**
* struct _EABPopupTargetSelect - A list of address cards.
*
@@ -103,6 +109,12 @@ struct _EABPopupTargetSelect {
GPtrArray *cards;
};
+
+struct _EABPopupTargetURI {
+ EPopupTarget target;
+ char *uri;
+};
+
/**
* struct _EABPopupTargetSource - A source target.
*
@@ -156,6 +168,7 @@ GType eab_popup_get_type(void);
EABPopup *eab_popup_new(const char *menuid);
EABPopupTargetSelect *eab_popup_target_new_select(EABPopup *eabp, struct _EBook *book, int readonly, GPtrArray *cards);
+EABPopupTargetURI *eab_popup_target_new_uri(EABPopup *emp, const char *uri);
EABPopupTargetSource *eab_popup_target_new_source(EABPopup *eabp, struct _ESourceSelector *selector);
#ifdef ADAPTED_TO_E_NAME_SELECTOR