summaryrefslogtreecommitdiff
path: root/src/managers/SessionLockManager.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/managers/SessionLockManager.hpp')
-rw-r--r--src/managers/SessionLockManager.hpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/managers/SessionLockManager.hpp b/src/managers/SessionLockManager.hpp
index aaf78819..51d4cefb 100644
--- a/src/managers/SessionLockManager.hpp
+++ b/src/managers/SessionLockManager.hpp
@@ -49,20 +49,20 @@ class CSessionLockManager {
CSessionLockManager();
~CSessionLockManager() = default;
- SSessionLockSurface* getSessionLockSurfaceForMonitor(uint64_t);
+ WP<SSessionLockSurface> getSessionLockSurfaceForMonitor(uint64_t);
- float getRedScreenAlphaForMonitor(uint64_t);
+ float getRedScreenAlphaForMonitor(uint64_t);
- bool isSessionLocked();
- bool isSessionLockPresent();
- bool isSurfaceSessionLock(SP<CWLSurfaceResource>);
- bool anySessionLockSurfacesPresent();
+ bool isSessionLocked();
+ bool isSessionLockPresent();
+ bool isSurfaceSessionLock(SP<CWLSurfaceResource>);
+ bool anySessionLockSurfacesPresent();
- void removeSessionLockSurface(SSessionLockSurface*);
+ void removeSessionLockSurface(SSessionLockSurface*);
- void onLockscreenRenderedOnMonitor(uint64_t id);
+ void onLockscreenRenderedOnMonitor(uint64_t id);
- bool shallConsiderLockMissing();
+ bool shallConsiderLockMissing();
private:
UP<SSessionLock> m_pSessionLock;