diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2023-06-14 20:36:17 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2023-06-14 20:36:17 +0200 |
commit | 31804433d72460cbe0a39f9f8ea5e76058d84cda (patch) | |
tree | 2084a84c39f159c6aea254775dc0880d52579d45 /vapi/libgphoto2.vapi | |
parent | a9898fb3f39c44a85876930ef6b2558052569ae6 (diff) | |
parent | d443a3c2509889533ca812c163056bace396b586 (diff) |
Update upstream source from tag 'upstream/0.32.1'
Update to upstream version '0.32.1'
with Debian dir c460ad6e13d3c39eaa2d5399059385e64e6fba4c
Diffstat (limited to 'vapi/libgphoto2.vapi')
-rw-r--r-- | vapi/libgphoto2.vapi | 29 |
1 files changed, 25 insertions, 4 deletions
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 ( |