]> spindle.queued.net Git - midori/commitdiff
add MidoriDownloadType to VAPI
authorAndré Stösel <andre@stoesel.de>
Tue, 21 Aug 2012 17:19:34 +0000 (19:19 +0200)
committerChristian Dywan <christian@twotoasts.de>
Wed, 22 Aug 2012 00:06:04 +0000 (02:06 +0200)
midori/midori.vapi

index 265a7e9df0412e706c47177f095c4833ba019d96..088390e300faf577372326d8b6c2f0d6a333b65b 100644 (file)
@@ -174,6 +174,15 @@ namespace Midori {
 
     }
 
+    [CCode (cheader_filename = "midori/midori-view.h", cprefix = "MIDORI_DOWNLOAD_")]
+    public enum DownloadType {
+        CANCEL,
+        OPEN,
+        SAVE,
+        SAVE_AS,
+        OPEN_IN_VIEWER
+    }
+
     public class WebSettings : WebKit.WebSettings {
         public WebSettings ();
         [NoAccessorMethod]