File indexing completed on 2024-04-28 16:44:53

0001 #ifndef DAEMON_H
0002 #define DAEMON_H
0003 /* SPDX-FileCopyrightText: 2008 Michael Jansen <kde@michael-jansen.biz>
0004 
0005    SPDX-License-Identifier: LGPL-2.0-or-later
0006 */
0007 
0008 #include <qglobal.h>
0009 
0010 /**
0011  * @author Michael Jansen <kde@michael-jansen.biz>
0012  */
0013 namespace KHotKeys
0014 {
0015 namespace Daemon
0016 {
0017 Q_DECL_EXPORT bool isRunning();
0018 Q_DECL_EXPORT bool reload();
0019 Q_DECL_EXPORT bool start();
0020 Q_DECL_EXPORT bool stop();
0021 
0022 /**
0023  * Is the daemon enabled by the user?
0024  */
0025 Q_DECL_EXPORT bool isEnabled();
0026 }
0027 
0028 } // namespace KHotKeys::Daemon
0029 
0030 #endif /* #ifndef DAEMON_H */