diff options
Diffstat (limited to 'modules/camera/Camera.h')
-rw-r--r-- | modules/camera/Camera.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/camera/Camera.h b/modules/camera/Camera.h index 53672ae..4c869bb 100644 --- a/modules/camera/Camera.h +++ b/modules/camera/Camera.h @@ -59,8 +59,10 @@ class Camera { virtual bool isValidCaptureSettings(const camera_metadata_t *) = 0; // Separate initialization method for individual devices when opened virtual int initDevice() = 0; - // Accessor used by initDevice() - void setTemplate(int type, camera_metadata_t *static_info); + // Accessor used by initDevice() to set the templates' metadata + int setTemplate(int type, camera_metadata_t *static_info); + // Prettyprint template names + const char* templateToString(int type); private: // Camera device handle returned to framework for use |