13#ifndef ZYPP_SHUTDOWNLOCK_P_H_INCLUDED
14#define ZYPP_SHUTDOWNLOCK_P_H_INCLUDED
18#include <zypp-core/Globals.h>
19#include <zypp-core/base/PtrTypes.h>
24class 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.
shared_ptr< ExternalProgramWithSeperatePgid > _prog
Easy-to use interface to the ZYPP dependency resolver.