libzypp 17.31.23
|
Attempts to create a lock to prevent the system from going into hibernate/shutdown. More...
#include <ShutdownLock_p.h>
Public Member Functions | |
ShutdownLock (const std::string &who, const std::string &reason) | |
~ShutdownLock () | |
Private Attributes | |
shared_ptr< ExternalProgramWithSeperatePgid > | _prog |
Attempts to create a lock to prevent the system from going into hibernate/shutdown.
The lock is automatically released when the object is destroyed.
Definition at line 31 of file ShutdownLock_p.h.
zypp::ShutdownLock::ShutdownLock | ( | const std::string & | who, |
const std::string & | reason | ||
) |
Definition at line 8 of file ShutdownLock.cc.
zypp::ShutdownLock::~ShutdownLock | ( | ) |
Definition at line 30 of file ShutdownLock.cc.
|
private |
Definition at line 38 of file ShutdownLock_p.h.