From d443a3c2509889533ca812c163056bace396b586 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Wed, 14 Jun 2023 20:35:58 +0200 Subject: New upstream version 0.32.1 --- vapi/libgphoto2.vapi | 29 +++++++++++++++++++++++++---- 1 file changed, 25 insertions(+), 4 deletions(-) (limited to 'vapi/libgphoto2.vapi') diff --git a/vapi/libgphoto2.vapi b/vapi/libgphoto2.vapi index 34fc1c4..67cb209 100644 --- a/vapi/libgphoto2.vapi +++ b/vapi/libgphoto2.vapi @@ -53,7 +53,7 @@ namespace GPhoto { ref_function="GPHOTO_REF_CAMERA", unref_function="gp_camera_unref", free_function="gp_camera_free", - cheader_filename="gphoto2/gphoto2-camera.h,gphoto.h" + cheader_filename="gphoto2/gphoto2-camera.h,shotwell-gphoto-helper.h" )] public class Camera { [CCode (cname="gp_camera_new")] @@ -99,7 +99,7 @@ namespace GPhoto { ref_function="GPHOTO_REF_FILE", unref_function="gp_file_unref", free_function="gp_file_free", - cheader_filename="gphoto2/gphoto2-file.h,gphoto.h" + cheader_filename="gphoto2/gphoto2-file.h,shotwell-gphoto-helper.h" )] public class CameraFile { [CCode (cname="gp_file_new")] @@ -253,7 +253,7 @@ namespace GPhoto { ref_function="GPHOTO_REF_LIST", unref_function="gp_list_unref", free_function="gp_list_free", - cheader_filename="gphoto2/gphoto2-list.h,gphoto.h" + cheader_filename="gphoto2/gphoto2-list.h,shotwell-gphoto-helper.h" )] public class CameraList { [CCode (cname="gp_list_new")] @@ -325,7 +325,7 @@ namespace GPhoto { [CCode ( ref_function="GPHOTO_REF_CONTEXT", unref_function="gp_context_unref", - cheader_filename="gphoto2/gphoto2-context.h,gphoto.h" + cheader_filename="gphoto2/gphoto2-context.h,shotwell-gphoto-helper.h" )] public class Context { [CCode (cname="gp_context_new")] @@ -340,19 +340,40 @@ namespace GPhoto { public void set_message_func([CCode (delegate_target_pos=3.1)] ContextMessageFunc messageFunc); } + [CCode ( + cheader_filename="gphoto2/gphoto2-context.h" + )] public delegate void ContextIdleFunc(Context context); + [CCode ( + cheader_filename="gphoto2/gphoto2-context.h" + )] public delegate void ContextErrorFunc(Context context, string text); + [CCode ( + cheader_filename="gphoto2/gphoto2-context.h" + )] public delegate void ContextStatusFunc(Context context, string text); + [CCode ( + cheader_filename="gphoto2/gphoto2-context.h" + )] public delegate void ContextMessageFunc(Context context, string text); // TODO: Support for va_args in Vala, esp. for delegates? + [CCode ( + cheader_filename="gphoto2/gphoto2-context.h" + )] public delegate uint ContextProgressStartFunc(Context context, float target, string text); + [CCode ( + cheader_filename="gphoto2/gphoto2-context.h" + )] public delegate void ContextProgressUpdateFunc(Context context, uint id, float current); + [CCode ( + cheader_filename="gphoto2/gphoto2-context.h" + )] public delegate void ContextProgressStopFunc(Context context, uint id); [CCode ( -- cgit v1.2.3