summaryrefslogtreecommitdiff
path: root/vapi/libgphoto2.vapi
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2023-06-14 20:35:58 +0200
committerJörg Frings-Fürst <debian@jff.email>2023-06-14 20:35:58 +0200
commitd443a3c2509889533ca812c163056bace396b586 (patch)
treee94ffc0d9c054ca4efb8fb327e18dfac88e15dc7 /vapi/libgphoto2.vapi
parentbb9797c14470641b082ebf635e2ae3cfd5f27a3b (diff)
New upstream version 0.32.1upstream/0.32.1
Diffstat (limited to 'vapi/libgphoto2.vapi')
-rw-r--r--vapi/libgphoto2.vapi29
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 (