13 #ifndef ZYPP_SHUTDOWNLOCK_P_H_INCLUDED 14 #define ZYPP_SHUTDOWNLOCK_P_H_INCLUDED 24 class ExternalProgramWithSeperatePgid;
38 ShutdownLock(
const std::string &who,
const std::string &reason );
42 shared_ptr<ExternalProgramWithSeperatePgid>
_prog;
Attempts to create a lock to prevent the system from going into hibernate/shutdown.
Provides API related macros.
ShutdownLockCommit(const std::string &who)
ShutdownLock(const std::string &who, const std::string &reason)
shared_ptr< ExternalProgramWithSeperatePgid > _prog