Move ETrustPromptResponse to e-source-enums.h.
authorMatthew Barnes <mbarnes@redhat.com>
Sat, 12 Jan 2013 16:34:50 +0000 (11:34 -0500)
committerMatthew Barnes <mbarnes@redhat.com>
Sat, 12 Jan 2013 17:26:26 +0000 (12:26 -0500)
libedataserver/e-source-enums.h
libedataserver/e-source-webdav.h

index 8e7bf05..40cdb48 100644 (file)
@@ -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 */
index 7209160..fce6907 100644 (file)
@@ -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);