diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2023-06-28 21:35:52 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2023-06-28 21:35:52 +0200 |
commit | b86540b743f1a87a163ffb811c8fe22a01fefa38 (patch) | |
tree | b47cb3bb83c2377234226fb3987ab3320a987dd9 /vapi/libgphoto2.vapi | |
parent | ac6e0b731b9f0b2efd392e3309a5c07e2a66adad (diff) | |
parent | e905d8e16eec152d19797937f13ba3cf4b8f8aca (diff) |
Merge branch 'release/debian/0.32.1-1'debian/0.32.1-1
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 ( |