diff options
author | Mavridis Philippe <[email protected]> | 2024-07-08 18:58:28 +0300 |
---|---|---|
committer | Mavridis Philippe <[email protected]> | 2024-07-08 18:59:14 +0300 |
commit | a5eb53fcbc12342f0a12ef4819146b2d0bb14652 (patch) | |
tree | 0d7bd718644ded44e69b6a6102173d699131c0b2 /src/util.h | |
parent | 87769ed51d8087ddc4a02705f39fe4f21431b66f (diff) | |
download | xdg-desktop-portal-tde-a5eb53fcbc12342f0a12ef4819146b2d0bb14652.tar.gz xdg-desktop-portal-tde-a5eb53fcbc12342f0a12ef4819146b2d0bb14652.zip |
Added Account portal, permission dialog class, moved some code to util
Signed-off-by: Mavridis Philippe <[email protected]>
Diffstat (limited to 'src/util.h')
-rw-r--r-- | src/util.h | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -26,6 +26,7 @@ #include <tqdbusvariant.h> #include <tqdbusdatalist.h> #include <tqvariant.h> +#include <twin.h> // TDE #include <kurl.h> @@ -33,6 +34,18 @@ typedef TQMap<TQString, TQT_DBusVariant> TQT_DBusVariantMap; typedef TQValueList<TQT_DBusData> TQT_DBusValueList; +struct ApplicationInfo +{ + TQString name; + TQString path; + TQString desktopFile; + int pid; +}; + +extern WId parse_window_id(const TQString data); + +extern ApplicationInfo application_info_from_wid(WId wid); + extern bool check_variant(TQT_DBusVariant variant, TQString signature); extern TQString bytelist_to_string(TQT_DBusDataList list); |