Commit Graph

14 Commits

Author SHA1 Message Date
Ingvar Stepanyan
1072d5faa5 Remove triggerCapture 2021-07-26 13:09:38 +00:00
Ingvar Stepanyan
e3ea463db5 Integrate supported ops into the UI 2021-07-26 13:09:10 +00:00
Ingvar Stepanyan
95ed711729 Return supported ops as an object 2021-07-26 12:52:38 +00:00
Ingvar Stepanyan
ca75f61289 Check for pending events before updating the config
Small optimisation that significantly reduces number of config updates.
2021-07-23 20:04:32 +00:00
Ingvar Stepanyan
86f9be758f Fix context error handler
This can be called deep in the gphoto2 callstack, and throwing here would prevent proper C cleanup.

Instead, just log an error here and rely on status values higher up in the APIs to throw actual C++ errors.
2021-07-23 19:22:34 +00:00
Ingvar Stepanyan
fc52ce5c84 Remove few unused C++ funcs 2021-07-23 19:20:06 +00:00
Ingvar Stepanyan
5e54c25c55 Reduce scope of temp camera file 2021-07-21 14:14:58 +00:00
Ingvar Stepanyan
3b85b63d20 Delete camera file in destructor
This makes sure it gets deleted even on exception.
2021-07-21 14:13:39 +00:00
Ingvar Stepanyan
26d55fb32f Remove spurious constructor 2021-07-19 19:14:14 +00:00
Ingvar Stepanyan
d66ef27c33 Add datetime support 2021-07-14 12:02:32 +00:00
Ingvar Stepanyan
6613d89d7d Implement capture 2021-07-14 11:40:17 +00:00
Ingvar Stepanyan
d0a53669d2 Use object keys for setting names 2021-07-12 12:04:56 +00:00
Ingvar Stepanyan
5e5d7be282 Various fixes and improvements
Among other things, periodically poll settings back from the camera.
2021-07-08 20:36:44 +00:00
Ingvar Stepanyan
7ab5c04496 Basic example 2021-07-08 00:38:20 +00:00