[evolution-data-server] Move ETrustPromptResponse to e-source-enums.h.



commit 2bc6ae25591a89e8a7ab4179c54ddf0febf26bb0
Author: Matthew Barnes <mbarnes redhat com>
Date:   Sat Jan 12 11:34:50 2013 -0500

    Move ETrustPromptResponse to e-source-enums.h.

 libedataserver/e-source-enums.h  |   15 +++++++++++++++
 libedataserver/e-source-webdav.h |    9 +--------
 2 files changed, 16 insertions(+), 8 deletions(-)
---
diff --git a/libedataserver/e-source-enums.h b/libedataserver/e-source-enums.h
index 8e7bf05..40cdb48 100644
--- a/libedataserver/e-source-enums.h
+++ b/libedataserver/e-source-enums.h
@@ -63,4 +63,19 @@ typedef enum {
 	E_SOURCE_AUTHENTICATION_REJECTED
 } ESourceAuthenticationResult;
 
+/**
+ * ETrustPromptResponse:
+ *
+ * XXX Document me!
+ *
+ * Since: 3.8
+ **/
+typedef enum {
+	E_TRUST_PROMPT_RESPONSE_UNKNOWN			= -1,
+	E_TRUST_PROMPT_RESPONSE_REJECT			=  0,
+	E_TRUST_PROMPT_RESPONSE_ACCEPT			=  1,
+	E_TRUST_PROMPT_RESPONSE_ACCEPT_TEMPORARILY	=  2,
+	E_TRUST_PROMPT_RESPONSE_REJECT_TEMPORARILY	=  3
+} ETrustPromptResponse;
+
 #endif /* E_SOURCE_ENUMS_H */
diff --git a/libedataserver/e-source-webdav.h b/libedataserver/e-source-webdav.h
index 7209160..fce6907 100644
--- a/libedataserver/e-source-webdav.h
+++ b/libedataserver/e-source-webdav.h
@@ -24,6 +24,7 @@
 #define E_SOURCE_WEBDAV_H
 
 #include <libsoup/soup.h>
+#include <libedataserver/e-source-enums.h>
 #include <libedataserver/e-source-extension.h>
 
 /* Standard GObject macros */
@@ -82,14 +83,6 @@ struct _ESourceWebdavClass {
 	ESourceExtensionClass parent_class;
 };
 
-typedef enum {
-	E_TRUST_PROMPT_RESPONSE_UNKNOWN			= -1,
-	E_TRUST_PROMPT_RESPONSE_REJECT			=  0,
-	E_TRUST_PROMPT_RESPONSE_ACCEPT			=  1,
-	E_TRUST_PROMPT_RESPONSE_ACCEPT_TEMPORARILY	=  2,
-	E_TRUST_PROMPT_RESPONSE_REJECT_TEMPORARILY	=  3
-} ETrustPromptResponse;
-
 GType		e_source_webdav_get_type	(void) G_GNUC_CONST;
 gboolean	e_source_webdav_get_avoid_ifmatch
 						(ESourceWebdav *extension);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]