ckb-next  v0.2.8 at branch master
ckb-next driver for corsair devices
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
autorun.h
Go to the documentation of this file.
1 #ifndef AUTORUN_H
2 #define AUTORUN_H
3 
4 #include <QObject>
5 
6 // Class for running ckb at login
7 
8 class AutoRun
9 {
10 public:
11  // Whether or not run at login is possible
12  static bool available();
13 
14  // Whether or not ckb has been set to run at login at least once before
15  static bool once();
16 
17  // Enable/disable launch at login
18  static bool isEnabled();
19  static void enable();
20  static void disable();
21 };
22 
23 #endif // AUTORUN_H
static bool available()
Definition: autorun.cpp:20
static void disable()
Definition: autorun.cpp:53
Definition: autorun.h:8
static bool isEnabled()
Definition: autorun.cpp:33
static void enable()
Definition: autorun.cpp:42
static bool once()
Definition: autorun.cpp:29