summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/libcamera/internal/message.h1
-rw-r--r--include/libcamera/object.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/include/libcamera/internal/message.h b/include/libcamera/internal/message.h
index 92ea64a5..f1b133bf 100644
--- a/include/libcamera/internal/message.h
+++ b/include/libcamera/internal/message.h
@@ -25,6 +25,7 @@ public:
None = 0,
InvokeMessage = 1,
ThreadMoveMessage = 2,
+ DeferredDelete = 3,
UserMessage = 1000,
};
diff --git a/include/libcamera/object.h b/include/libcamera/object.h
index 9a3dd070..a1882f05 100644
--- a/include/libcamera/object.h
+++ b/include/libcamera/object.h
@@ -27,6 +27,8 @@ public:
Object(Object *parent = nullptr);
virtual ~Object();
+ void deleteLater();
+
void postMessage(std::unique_ptr<Message> msg);
template<typename T, typename R, typename... FuncArgs, typename... Args,