mirror of https://github.com/Icinga/icinga2.git
parent
8c9fdb537f
commit
c7d9c415eb
|
@ -44,6 +44,11 @@ bool ReplCommand::IsHidden(void) const
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ImpersonationLevel ReplCommand::GetImpersonationLevel(void) const
|
||||||
|
{
|
||||||
|
return ImpersonateNone;
|
||||||
|
}
|
||||||
|
|
||||||
void ReplCommand::InitParameters(boost::program_options::options_description& visibleDesc,
|
void ReplCommand::InitParameters(boost::program_options::options_description& visibleDesc,
|
||||||
boost::program_options::options_description& hiddenDesc) const
|
boost::program_options::options_description& hiddenDesc) const
|
||||||
{
|
{
|
||||||
|
|
|
@ -38,6 +38,7 @@ public:
|
||||||
virtual String GetDescription(void) const;
|
virtual String GetDescription(void) const;
|
||||||
virtual String GetShortDescription(void) const;
|
virtual String GetShortDescription(void) const;
|
||||||
virtual bool IsHidden(void) const;
|
virtual bool IsHidden(void) const;
|
||||||
|
virtual ImpersonationLevel GetImpersonationLevel(void) const;
|
||||||
virtual void InitParameters(boost::program_options::options_description& visibleDesc,
|
virtual void InitParameters(boost::program_options::options_description& visibleDesc,
|
||||||
boost::program_options::options_description& hiddenDesc) const;
|
boost::program_options::options_description& hiddenDesc) const;
|
||||||
virtual int Run(const boost::program_options::variables_map& vm, const std::vector<std::string>& ap) const;
|
virtual int Run(const boost::program_options::variables_map& vm, const std::vector<std::string>& ap) const;
|
||||||
|
|
Loading…
Reference in New Issue