Auto start dialog for Microsoft Windows launcher. More...
#include <CAutoStart.h>
Public Member Functions | |
CAutoStart (HWND parent, bool isServer, const CString &cmdLine) | |
Static Public Member Functions | |
accessors | |
static bool | isDaemonInstalled () |
Tests if any daemons are installed. | |
manipulators | |
| |
void | doModal () |
Run dialog. | |
static void | reinstallDaemon (bool isClient, const CString &cmdLine) |
Reinstall daemon. | |
static void | uninstallDaemons (bool client) |
Uninstalls daemon. | |
static bool | startDaemon () |
Starts an installed daemon. |
Auto start dialog for Microsoft Windows launcher.
Definition at line 24 of file CAutoStart.h.
void CAutoStart::doModal | ( | ) |
Run dialog.
Display and handle the dialog until closed by the user.
Definition at line 83 of file CAutoStart.cpp.
bool CAutoStart::isDaemonInstalled | ( | ) | [static] |
Tests if any daemons are installed.
Returns true
if any daemons are installed.
Definition at line 182 of file CAutoStart.cpp.
void CAutoStart::reinstallDaemon | ( | bool | isClient, | |
const CString & | cmdLine | |||
) | [static] |
Reinstall daemon.
Reinstalls the currently installed daemon.
Definition at line 97 of file CAutoStart.cpp.
bool CAutoStart::startDaemon | ( | ) | [static] |
Starts an installed daemon.
Returns true
iff a daemon was started. This will only start daemons installed for all users.
Definition at line 145 of file CAutoStart.cpp.
void CAutoStart::uninstallDaemons | ( | bool | client | ) | [static] |
Uninstalls daemon.
Uninstalls all installed client (client
is true
) or server daemons.
Definition at line 116 of file CAutoStart.cpp.