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