Changeset View
Changeset View
Standalone View
Standalone View
src/desktopportal.h
Show All 28 Lines | |||||
29 | #include "email.h" | 29 | #include "email.h" | ||
30 | #include "filechooser.h" | 30 | #include "filechooser.h" | ||
31 | #include "inhibit.h" | 31 | #include "inhibit.h" | ||
32 | #include "notification.h" | 32 | #include "notification.h" | ||
33 | #include "print.h" | 33 | #include "print.h" | ||
34 | #if SCREENCAST_ENABLED | 34 | #if SCREENCAST_ENABLED | ||
35 | #include "screencast.h" | 35 | #include "screencast.h" | ||
36 | #endif | 36 | #endif | ||
37 | #include "screenshot.h" | ||||
37 | 38 | | |||
38 | class DesktopPortal : public QObject | 39 | class DesktopPortal : public QObject | ||
39 | { | 40 | { | ||
40 | Q_OBJECT | 41 | Q_OBJECT | ||
41 | public: | 42 | public: | ||
42 | explicit DesktopPortal(QObject *parent = nullptr); | 43 | explicit DesktopPortal(QObject *parent = nullptr); | ||
43 | ~DesktopPortal(); | 44 | ~DesktopPortal(); | ||
44 | 45 | | |||
45 | private: | 46 | private: | ||
46 | AccessPortal *m_access; | 47 | AccessPortal *m_access; | ||
47 | AppChooserPortal *m_appChooser; | 48 | AppChooserPortal *m_appChooser; | ||
48 | EmailPortal *m_email; | 49 | EmailPortal *m_email; | ||
49 | FileChooserPortal *m_fileChooser; | 50 | FileChooserPortal *m_fileChooser; | ||
50 | InhibitPortal *m_inhibit; | 51 | InhibitPortal *m_inhibit; | ||
51 | NotificationPortal *m_notification; | 52 | NotificationPortal *m_notification; | ||
52 | PrintPortal *m_print; | 53 | PrintPortal *m_print; | ||
53 | #if SCREENCAST_ENABLED | 54 | #if SCREENCAST_ENABLED | ||
54 | ScreenCastPortal *m_screenCast; | 55 | ScreenCastPortal *m_screenCast; | ||
55 | #endif | 56 | #endif | ||
57 | ScreenshotPortal *m_screenshot; | ||||
56 | }; | 58 | }; | ||
57 | 59 | | |||
58 | #endif // XDG_DESKTOP_PORTAL_KDE_DESKTOP_PORTAL_H | 60 | #endif // XDG_DESKTOP_PORTAL_KDE_DESKTOP_PORTAL_H | ||
59 | 61 | |