Deskflow 1.22.0.197
Keyboard and mouse sharing utility
Loading...
Searching...
No Matches
IScreenSaver.h
Go to the documentation of this file.
1/*
2 * Deskflow -- mouse and keyboard sharing utility
3 * SPDX-FileCopyrightText: (C) 2012 - 2016 Symless Ltd.
4 * SPDX-FileCopyrightText: (C) 2002 Chris Schoeneman
5 * SPDX-License-Identifier: GPL-2.0-only WITH LicenseRef-OpenSSL-Exception
6 */
7
8#pragma once
9
10#include "base/Event.h"
11#include "common/IInterface.h"
12
14
18{
19public:
20 // note -- the c'tor/d'tor must *not* enable/disable the screen saver
21
23
24
26
32 virtual void enable() = 0;
33
35
39 virtual void disable() = 0;
40
42
45 virtual void activate() = 0;
46
48
52 virtual void deactivate() = 0;
53
55
57
59
62 virtual bool isActive() const = 0;
63
65};
Base class of interfaces.
Definition IInterface.h:18
Screen saver interface.
Definition IScreenSaver.h:18
virtual bool isActive() const =0
Test if screen saver on.
virtual void activate()=0
Activate screen saver.
virtual void deactivate()=0
Deactivate screen saver.
virtual void disable()=0
Disable screen saver.
virtual void enable()=0
Enable screen saver.