Changeset View
Changeset View
Standalone View
Standalone View
src/desktopportal.h
- This file was copied to src/session.h.
Show All 25 Lines | |||||
26 | 26 | | |||
27 | #include "access.h" | 27 | #include "access.h" | ||
28 | #include "appchooser.h" | 28 | #include "appchooser.h" | ||
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 | #include "screencast.h" | ||||
34 | 35 | | |||
35 | class DesktopPortal : public QObject | 36 | class DesktopPortal : public QObject | ||
36 | { | 37 | { | ||
37 | Q_OBJECT | 38 | Q_OBJECT | ||
38 | public: | 39 | public: | ||
39 | explicit DesktopPortal(QObject *parent = nullptr); | 40 | explicit DesktopPortal(QObject *parent = nullptr); | ||
40 | ~DesktopPortal(); | 41 | ~DesktopPortal(); | ||
41 | 42 | | |||
42 | private: | 43 | private: | ||
43 | AccessPortal *m_access; | 44 | AccessPortal *m_access; | ||
44 | AppChooserPortal *m_appChooser; | 45 | AppChooserPortal *m_appChooser; | ||
45 | EmailPortal *m_email; | 46 | EmailPortal *m_email; | ||
46 | FileChooserPortal *m_fileChooser; | 47 | FileChooserPortal *m_fileChooser; | ||
47 | InhibitPortal *m_inhibit; | 48 | InhibitPortal *m_inhibit; | ||
48 | NotificationPortal *m_notification; | 49 | NotificationPortal *m_notification; | ||
49 | PrintPortal *m_print; | 50 | PrintPortal *m_print; | ||
51 | ScreenCastPortal *m_screenCast; | ||||
50 | }; | 52 | }; | ||
51 | 53 | | |||
52 | #endif // XDG_DESKTOP_PORTAL_KDE_DESKTOP_PORTAL_H | 54 | #endif // XDG_DESKTOP_PORTAL_KDE_DESKTOP_PORTAL_H | ||
53 | 55 | |