From 5ee85ed5c0d4c34195a2bbe1b30bcc3c715c99d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Haris=20Gu=C5=A1i=C4=87?= Date: Fri, 8 Oct 2021 03:06:57 +0200 Subject: [PATCH] Add requestCapture DBus call MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Haris Gušić --- data/dbus/org.flameshot.Flameshot.xml | 11 ++++++++++- src/core/capturerequest.cpp | 23 +++++++++++++++++++++++ src/core/capturerequest.h | 6 ++++++ src/core/flameshotdbusadapter.cpp | 7 +++++++ src/core/flameshotdbusadapter.h | 1 + src/main.cpp | 27 +++++++++++++++++++++------ 6 files changed, 68 insertions(+), 7 deletions(-) diff --git a/data/dbus/org.flameshot.Flameshot.xml b/data/dbus/org.flameshot.Flameshot.xml index 619de8cd..bf311e77 100644 --- a/data/dbus/org.flameshot.Flameshot.xml +++ b/data/dbus/org.flameshot.Flameshot.xml @@ -2,7 +2,16 @@ - + + + +