summaryrefslogtreecommitdiff
path: root/include/libcamera
diff options
context:
space:
mode:
authorJacopo Mondi <jacopo@jmondi.org>2019-10-27 02:28:40 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2019-10-29 16:41:33 +0200
commit1e2db0eee7b3752507de50788c974e40dcafaf1b (patch)
treed34a2387d7ff32b5155e673635c2a70bd8f73bb8 /include/libcamera
parent66e7c5b774e288faa3a9b413861d6a77723db3ad (diff)
libcamera: bound_method: Define connection type for method invocation
Define an enumeration of connection types to describe the delivery method of signals and method invocation. Signed-off-by: Jacopo Mondi <jacopo@jmondi.org> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Diffstat (limited to 'include/libcamera')
-rw-r--r--include/libcamera/bound_method.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/libcamera/bound_method.h b/include/libcamera/bound_method.h
index 8ebaadbe..e1524c91 100644
--- a/include/libcamera/bound_method.h
+++ b/include/libcamera/bound_method.h
@@ -14,6 +14,13 @@ namespace libcamera {
class Object;
+enum ConnectionType {
+ ConnectionTypeAuto,
+ ConnectionTypeDirect,
+ ConnectionTypeQueued,
+ ConnectionTypeBlocking,
+};
+
class BoundMethodBase
{
public: