mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-14 22:56:12 -04:00
Add login_manager_client_glue.h
This commit is contained in:
@@ -0,0 +1,631 @@
|
||||
|
||||
/*
|
||||
* This file was automatically generated by sdbus-c++-xml2cpp; DO NOT EDIT!
|
||||
*/
|
||||
|
||||
#ifndef __sdbuscpp__login_manager_client_glue_h__proxy__H__
|
||||
#define __sdbuscpp__login_manager_client_glue_h__proxy__H__
|
||||
|
||||
#include <sdbus-c++/sdbus-c++.h>
|
||||
#include <string>
|
||||
#include <tuple>
|
||||
|
||||
namespace org {
|
||||
namespace freedesktop {
|
||||
namespace login1 {
|
||||
|
||||
class Manager_proxy
|
||||
{
|
||||
public:
|
||||
static constexpr const char* INTERFACE_NAME = "org.freedesktop.login1.Manager";
|
||||
|
||||
protected:
|
||||
Manager_proxy(sdbus::IProxy& proxy)
|
||||
: proxy_(proxy)
|
||||
{
|
||||
proxy_.uponSignal("SessionNew").onInterface(INTERFACE_NAME).call([this](const std::string& session_id, const sdbus::ObjectPath& object_path){ this->onSessionNew(session_id, object_path); });
|
||||
proxy_.uponSignal("SessionRemoved").onInterface(INTERFACE_NAME).call([this](const std::string& session_id, const sdbus::ObjectPath& object_path){ this->onSessionRemoved(session_id, object_path); });
|
||||
proxy_.uponSignal("UserNew").onInterface(INTERFACE_NAME).call([this](const uint32_t& uid, const sdbus::ObjectPath& object_path){ this->onUserNew(uid, object_path); });
|
||||
proxy_.uponSignal("UserRemoved").onInterface(INTERFACE_NAME).call([this](const uint32_t& uid, const sdbus::ObjectPath& object_path){ this->onUserRemoved(uid, object_path); });
|
||||
proxy_.uponSignal("SeatNew").onInterface(INTERFACE_NAME).call([this](const std::string& seat_id, const sdbus::ObjectPath& object_path){ this->onSeatNew(seat_id, object_path); });
|
||||
proxy_.uponSignal("SeatRemoved").onInterface(INTERFACE_NAME).call([this](const std::string& seat_id, const sdbus::ObjectPath& object_path){ this->onSeatRemoved(seat_id, object_path); });
|
||||
proxy_.uponSignal("PrepareForShutdown").onInterface(INTERFACE_NAME).call([this](const bool& start){ this->onPrepareForShutdown(start); });
|
||||
proxy_.uponSignal("PrepareForSleep").onInterface(INTERFACE_NAME).call([this](const bool& start){ this->onPrepareForSleep(start); });
|
||||
}
|
||||
|
||||
~Manager_proxy() = default;
|
||||
|
||||
virtual void onSessionNew(const std::string& session_id, const sdbus::ObjectPath& object_path) = 0;
|
||||
virtual void onSessionRemoved(const std::string& session_id, const sdbus::ObjectPath& object_path) = 0;
|
||||
virtual void onUserNew(const uint32_t& uid, const sdbus::ObjectPath& object_path) = 0;
|
||||
virtual void onUserRemoved(const uint32_t& uid, const sdbus::ObjectPath& object_path) = 0;
|
||||
virtual void onSeatNew(const std::string& seat_id, const sdbus::ObjectPath& object_path) = 0;
|
||||
virtual void onSeatRemoved(const std::string& seat_id, const sdbus::ObjectPath& object_path) = 0;
|
||||
virtual void onPrepareForShutdown(const bool& start) = 0;
|
||||
virtual void onPrepareForSleep(const bool& start) = 0;
|
||||
|
||||
public:
|
||||
sdbus::ObjectPath GetSession(const std::string& session_id)
|
||||
{
|
||||
sdbus::ObjectPath result;
|
||||
proxy_.callMethod("GetSession").onInterface(INTERFACE_NAME).withArguments(session_id).storeResultsTo(result);
|
||||
return result;
|
||||
}
|
||||
|
||||
sdbus::ObjectPath GetSessionByPID(const uint32_t& pid)
|
||||
{
|
||||
sdbus::ObjectPath result;
|
||||
proxy_.callMethod("GetSessionByPID").onInterface(INTERFACE_NAME).withArguments(pid).storeResultsTo(result);
|
||||
return result;
|
||||
}
|
||||
|
||||
sdbus::ObjectPath GetUser(const uint32_t& uid)
|
||||
{
|
||||
sdbus::ObjectPath result;
|
||||
proxy_.callMethod("GetUser").onInterface(INTERFACE_NAME).withArguments(uid).storeResultsTo(result);
|
||||
return result;
|
||||
}
|
||||
|
||||
sdbus::ObjectPath GetUserByPID(const uint32_t& pid)
|
||||
{
|
||||
sdbus::ObjectPath result;
|
||||
proxy_.callMethod("GetUserByPID").onInterface(INTERFACE_NAME).withArguments(pid).storeResultsTo(result);
|
||||
return result;
|
||||
}
|
||||
|
||||
sdbus::ObjectPath GetSeat(const std::string& seat_id)
|
||||
{
|
||||
sdbus::ObjectPath result;
|
||||
proxy_.callMethod("GetSeat").onInterface(INTERFACE_NAME).withArguments(seat_id).storeResultsTo(result);
|
||||
return result;
|
||||
}
|
||||
|
||||
std::vector<sdbus::Struct<std::string, uint32_t, std::string, std::string, sdbus::ObjectPath>> ListSessions()
|
||||
{
|
||||
std::vector<sdbus::Struct<std::string, uint32_t, std::string, std::string, sdbus::ObjectPath>> result;
|
||||
proxy_.callMethod("ListSessions").onInterface(INTERFACE_NAME).storeResultsTo(result);
|
||||
return result;
|
||||
}
|
||||
|
||||
std::vector<sdbus::Struct<uint32_t, std::string, sdbus::ObjectPath>> ListUsers()
|
||||
{
|
||||
std::vector<sdbus::Struct<uint32_t, std::string, sdbus::ObjectPath>> result;
|
||||
proxy_.callMethod("ListUsers").onInterface(INTERFACE_NAME).storeResultsTo(result);
|
||||
return result;
|
||||
}
|
||||
|
||||
std::vector<sdbus::Struct<std::string, sdbus::ObjectPath>> ListSeats()
|
||||
{
|
||||
std::vector<sdbus::Struct<std::string, sdbus::ObjectPath>> result;
|
||||
proxy_.callMethod("ListSeats").onInterface(INTERFACE_NAME).storeResultsTo(result);
|
||||
return result;
|
||||
}
|
||||
|
||||
std::vector<sdbus::Struct<std::string, std::string, std::string, std::string, uint32_t, uint32_t>> ListInhibitors()
|
||||
{
|
||||
std::vector<sdbus::Struct<std::string, std::string, std::string, std::string, uint32_t, uint32_t>> result;
|
||||
proxy_.callMethod("ListInhibitors").onInterface(INTERFACE_NAME).storeResultsTo(result);
|
||||
return result;
|
||||
}
|
||||
|
||||
std::tuple<std::string, sdbus::ObjectPath, std::string, sdbus::UnixFd, uint32_t, std::string, uint32_t, bool> CreateSession(const uint32_t& uid, const uint32_t& pid, const std::string& service, const std::string& type, const std::string& class_, const std::string& desktop, const std::string& seat_id, const uint32_t& vtnr, const std::string& tty, const std::string& display, const bool& remote, const std::string& remote_user, const std::string& remote_host, const std::vector<sdbus::Struct<std::string, sdbus::Variant>>& properties)
|
||||
{
|
||||
std::tuple<std::string, sdbus::ObjectPath, std::string, sdbus::UnixFd, uint32_t, std::string, uint32_t, bool> result;
|
||||
proxy_.callMethod("CreateSession").onInterface(INTERFACE_NAME).withArguments(uid, pid, service, type, class_, desktop, seat_id, vtnr, tty, display, remote, remote_user, remote_host, properties).storeResultsTo(result);
|
||||
return result;
|
||||
}
|
||||
|
||||
void ReleaseSession(const std::string& session_id)
|
||||
{
|
||||
proxy_.callMethod("ReleaseSession").onInterface(INTERFACE_NAME).withArguments(session_id);
|
||||
}
|
||||
|
||||
void ActivateSession(const std::string& session_id)
|
||||
{
|
||||
proxy_.callMethod("ActivateSession").onInterface(INTERFACE_NAME).withArguments(session_id);
|
||||
}
|
||||
|
||||
void ActivateSessionOnSeat(const std::string& session_id, const std::string& seat_id)
|
||||
{
|
||||
proxy_.callMethod("ActivateSessionOnSeat").onInterface(INTERFACE_NAME).withArguments(session_id, seat_id);
|
||||
}
|
||||
|
||||
void LockSession(const std::string& session_id)
|
||||
{
|
||||
proxy_.callMethod("LockSession").onInterface(INTERFACE_NAME).withArguments(session_id);
|
||||
}
|
||||
|
||||
void UnlockSession(const std::string& session_id)
|
||||
{
|
||||
proxy_.callMethod("UnlockSession").onInterface(INTERFACE_NAME).withArguments(session_id);
|
||||
}
|
||||
|
||||
void LockSessions()
|
||||
{
|
||||
proxy_.callMethod("LockSessions").onInterface(INTERFACE_NAME);
|
||||
}
|
||||
|
||||
void UnlockSessions()
|
||||
{
|
||||
proxy_.callMethod("UnlockSessions").onInterface(INTERFACE_NAME);
|
||||
}
|
||||
|
||||
void KillSession(const std::string& session_id, const std::string& who, const int32_t& signal_number)
|
||||
{
|
||||
proxy_.callMethod("KillSession").onInterface(INTERFACE_NAME).withArguments(session_id, who, signal_number);
|
||||
}
|
||||
|
||||
void KillUser(const uint32_t& uid, const int32_t& signal_number)
|
||||
{
|
||||
proxy_.callMethod("KillUser").onInterface(INTERFACE_NAME).withArguments(uid, signal_number);
|
||||
}
|
||||
|
||||
void TerminateSession(const std::string& session_id)
|
||||
{
|
||||
proxy_.callMethod("TerminateSession").onInterface(INTERFACE_NAME).withArguments(session_id);
|
||||
}
|
||||
|
||||
void TerminateUser(const uint32_t& uid)
|
||||
{
|
||||
proxy_.callMethod("TerminateUser").onInterface(INTERFACE_NAME).withArguments(uid);
|
||||
}
|
||||
|
||||
void TerminateSeat(const std::string& seat_id)
|
||||
{
|
||||
proxy_.callMethod("TerminateSeat").onInterface(INTERFACE_NAME).withArguments(seat_id);
|
||||
}
|
||||
|
||||
void SetUserLinger(const uint32_t& uid, const bool& enable, const bool& interactive)
|
||||
{
|
||||
proxy_.callMethod("SetUserLinger").onInterface(INTERFACE_NAME).withArguments(uid, enable, interactive);
|
||||
}
|
||||
|
||||
void AttachDevice(const std::string& seat_id, const std::string& sysfs_path, const bool& interactive)
|
||||
{
|
||||
proxy_.callMethod("AttachDevice").onInterface(INTERFACE_NAME).withArguments(seat_id, sysfs_path, interactive);
|
||||
}
|
||||
|
||||
void FlushDevices(const bool& interactive)
|
||||
{
|
||||
proxy_.callMethod("FlushDevices").onInterface(INTERFACE_NAME).withArguments(interactive);
|
||||
}
|
||||
|
||||
void PowerOff(const bool& interactive)
|
||||
{
|
||||
proxy_.callMethod("PowerOff").onInterface(INTERFACE_NAME).withArguments(interactive);
|
||||
}
|
||||
|
||||
void PowerOffWithFlags(const uint64_t& flags)
|
||||
{
|
||||
proxy_.callMethod("PowerOffWithFlags").onInterface(INTERFACE_NAME).withArguments(flags);
|
||||
}
|
||||
|
||||
void Reboot(const bool& interactive)
|
||||
{
|
||||
proxy_.callMethod("Reboot").onInterface(INTERFACE_NAME).withArguments(interactive);
|
||||
}
|
||||
|
||||
void RebootWithFlags(const uint64_t& flags)
|
||||
{
|
||||
proxy_.callMethod("RebootWithFlags").onInterface(INTERFACE_NAME).withArguments(flags);
|
||||
}
|
||||
|
||||
void Halt(const bool& interactive)
|
||||
{
|
||||
proxy_.callMethod("Halt").onInterface(INTERFACE_NAME).withArguments(interactive);
|
||||
}
|
||||
|
||||
void HaltWithFlags(const uint64_t& flags)
|
||||
{
|
||||
proxy_.callMethod("HaltWithFlags").onInterface(INTERFACE_NAME).withArguments(flags);
|
||||
}
|
||||
|
||||
void Suspend(const bool& interactive)
|
||||
{
|
||||
proxy_.callMethod("Suspend").onInterface(INTERFACE_NAME).withArguments(interactive);
|
||||
}
|
||||
|
||||
void SuspendWithFlags(const uint64_t& flags)
|
||||
{
|
||||
proxy_.callMethod("SuspendWithFlags").onInterface(INTERFACE_NAME).withArguments(flags);
|
||||
}
|
||||
|
||||
void Hibernate(const bool& interactive)
|
||||
{
|
||||
proxy_.callMethod("Hibernate").onInterface(INTERFACE_NAME).withArguments(interactive);
|
||||
}
|
||||
|
||||
void HibernateWithFlags(const uint64_t& flags)
|
||||
{
|
||||
proxy_.callMethod("HibernateWithFlags").onInterface(INTERFACE_NAME).withArguments(flags);
|
||||
}
|
||||
|
||||
void HybridSleep(const bool& interactive)
|
||||
{
|
||||
proxy_.callMethod("HybridSleep").onInterface(INTERFACE_NAME).withArguments(interactive);
|
||||
}
|
||||
|
||||
void HybridSleepWithFlags(const uint64_t& flags)
|
||||
{
|
||||
proxy_.callMethod("HybridSleepWithFlags").onInterface(INTERFACE_NAME).withArguments(flags);
|
||||
}
|
||||
|
||||
void SuspendThenHibernate(const bool& interactive)
|
||||
{
|
||||
proxy_.callMethod("SuspendThenHibernate").onInterface(INTERFACE_NAME).withArguments(interactive);
|
||||
}
|
||||
|
||||
void SuspendThenHibernateWithFlags(const uint64_t& flags)
|
||||
{
|
||||
proxy_.callMethod("SuspendThenHibernateWithFlags").onInterface(INTERFACE_NAME).withArguments(flags);
|
||||
}
|
||||
|
||||
std::string CanPowerOff()
|
||||
{
|
||||
std::string result;
|
||||
proxy_.callMethod("CanPowerOff").onInterface(INTERFACE_NAME).storeResultsTo(result);
|
||||
return result;
|
||||
}
|
||||
|
||||
std::string CanReboot()
|
||||
{
|
||||
std::string result;
|
||||
proxy_.callMethod("CanReboot").onInterface(INTERFACE_NAME).storeResultsTo(result);
|
||||
return result;
|
||||
}
|
||||
|
||||
std::string CanHalt()
|
||||
{
|
||||
std::string result;
|
||||
proxy_.callMethod("CanHalt").onInterface(INTERFACE_NAME).storeResultsTo(result);
|
||||
return result;
|
||||
}
|
||||
|
||||
std::string CanSuspend()
|
||||
{
|
||||
std::string result;
|
||||
proxy_.callMethod("CanSuspend").onInterface(INTERFACE_NAME).storeResultsTo(result);
|
||||
return result;
|
||||
}
|
||||
|
||||
std::string CanHibernate()
|
||||
{
|
||||
std::string result;
|
||||
proxy_.callMethod("CanHibernate").onInterface(INTERFACE_NAME).storeResultsTo(result);
|
||||
return result;
|
||||
}
|
||||
|
||||
std::string CanHybridSleep()
|
||||
{
|
||||
std::string result;
|
||||
proxy_.callMethod("CanHybridSleep").onInterface(INTERFACE_NAME).storeResultsTo(result);
|
||||
return result;
|
||||
}
|
||||
|
||||
std::string CanSuspendThenHibernate()
|
||||
{
|
||||
std::string result;
|
||||
proxy_.callMethod("CanSuspendThenHibernate").onInterface(INTERFACE_NAME).storeResultsTo(result);
|
||||
return result;
|
||||
}
|
||||
|
||||
void ScheduleShutdown(const std::string& type, const uint64_t& usec)
|
||||
{
|
||||
proxy_.callMethod("ScheduleShutdown").onInterface(INTERFACE_NAME).withArguments(type, usec);
|
||||
}
|
||||
|
||||
bool CancelScheduledShutdown()
|
||||
{
|
||||
bool result;
|
||||
proxy_.callMethod("CancelScheduledShutdown").onInterface(INTERFACE_NAME).storeResultsTo(result);
|
||||
return result;
|
||||
}
|
||||
|
||||
sdbus::UnixFd Inhibit(const std::string& what, const std::string& who, const std::string& why, const std::string& mode)
|
||||
{
|
||||
sdbus::UnixFd result;
|
||||
proxy_.callMethod("Inhibit").onInterface(INTERFACE_NAME).withArguments(what, who, why, mode).storeResultsTo(result);
|
||||
return result;
|
||||
}
|
||||
|
||||
std::string CanRebootParameter()
|
||||
{
|
||||
std::string result;
|
||||
proxy_.callMethod("CanRebootParameter").onInterface(INTERFACE_NAME).storeResultsTo(result);
|
||||
return result;
|
||||
}
|
||||
|
||||
void SetRebootParameter(const std::string& parameter)
|
||||
{
|
||||
proxy_.callMethod("SetRebootParameter").onInterface(INTERFACE_NAME).withArguments(parameter);
|
||||
}
|
||||
|
||||
std::string CanRebootToFirmwareSetup()
|
||||
{
|
||||
std::string result;
|
||||
proxy_.callMethod("CanRebootToFirmwareSetup").onInterface(INTERFACE_NAME).storeResultsTo(result);
|
||||
return result;
|
||||
}
|
||||
|
||||
void SetRebootToFirmwareSetup(const bool& enable)
|
||||
{
|
||||
proxy_.callMethod("SetRebootToFirmwareSetup").onInterface(INTERFACE_NAME).withArguments(enable);
|
||||
}
|
||||
|
||||
std::string CanRebootToBootLoaderMenu()
|
||||
{
|
||||
std::string result;
|
||||
proxy_.callMethod("CanRebootToBootLoaderMenu").onInterface(INTERFACE_NAME).storeResultsTo(result);
|
||||
return result;
|
||||
}
|
||||
|
||||
void SetRebootToBootLoaderMenu(const uint64_t& timeout)
|
||||
{
|
||||
proxy_.callMethod("SetRebootToBootLoaderMenu").onInterface(INTERFACE_NAME).withArguments(timeout);
|
||||
}
|
||||
|
||||
std::string CanRebootToBootLoaderEntry()
|
||||
{
|
||||
std::string result;
|
||||
proxy_.callMethod("CanRebootToBootLoaderEntry").onInterface(INTERFACE_NAME).storeResultsTo(result);
|
||||
return result;
|
||||
}
|
||||
|
||||
void SetRebootToBootLoaderEntry(const std::string& boot_loader_entry)
|
||||
{
|
||||
proxy_.callMethod("SetRebootToBootLoaderEntry").onInterface(INTERFACE_NAME).withArguments(boot_loader_entry);
|
||||
}
|
||||
|
||||
void SetWallMessage(const std::string& wall_message, const bool& enable)
|
||||
{
|
||||
proxy_.callMethod("SetWallMessage").onInterface(INTERFACE_NAME).withArguments(wall_message, enable);
|
||||
}
|
||||
|
||||
public:
|
||||
bool EnableWallMessages()
|
||||
{
|
||||
return proxy_.getProperty("EnableWallMessages").onInterface(INTERFACE_NAME);
|
||||
}
|
||||
|
||||
void EnableWallMessages(const bool& value)
|
||||
{
|
||||
proxy_.setProperty("EnableWallMessages").onInterface(INTERFACE_NAME).toValue(value);
|
||||
}
|
||||
|
||||
std::string WallMessage()
|
||||
{
|
||||
return proxy_.getProperty("WallMessage").onInterface(INTERFACE_NAME);
|
||||
}
|
||||
|
||||
void WallMessage(const std::string& value)
|
||||
{
|
||||
proxy_.setProperty("WallMessage").onInterface(INTERFACE_NAME).toValue(value);
|
||||
}
|
||||
|
||||
uint32_t NAutoVTs()
|
||||
{
|
||||
return proxy_.getProperty("NAutoVTs").onInterface(INTERFACE_NAME);
|
||||
}
|
||||
|
||||
std::vector<std::string> KillOnlyUsers()
|
||||
{
|
||||
return proxy_.getProperty("KillOnlyUsers").onInterface(INTERFACE_NAME);
|
||||
}
|
||||
|
||||
std::vector<std::string> KillExcludeUsers()
|
||||
{
|
||||
return proxy_.getProperty("KillExcludeUsers").onInterface(INTERFACE_NAME);
|
||||
}
|
||||
|
||||
bool KillUserProcesses()
|
||||
{
|
||||
return proxy_.getProperty("KillUserProcesses").onInterface(INTERFACE_NAME);
|
||||
}
|
||||
|
||||
std::string RebootParameter()
|
||||
{
|
||||
return proxy_.getProperty("RebootParameter").onInterface(INTERFACE_NAME);
|
||||
}
|
||||
|
||||
bool RebootToFirmwareSetup()
|
||||
{
|
||||
return proxy_.getProperty("RebootToFirmwareSetup").onInterface(INTERFACE_NAME);
|
||||
}
|
||||
|
||||
uint64_t RebootToBootLoaderMenu()
|
||||
{
|
||||
return proxy_.getProperty("RebootToBootLoaderMenu").onInterface(INTERFACE_NAME);
|
||||
}
|
||||
|
||||
std::string RebootToBootLoaderEntry()
|
||||
{
|
||||
return proxy_.getProperty("RebootToBootLoaderEntry").onInterface(INTERFACE_NAME);
|
||||
}
|
||||
|
||||
std::vector<std::string> BootLoaderEntries()
|
||||
{
|
||||
return proxy_.getProperty("BootLoaderEntries").onInterface(INTERFACE_NAME);
|
||||
}
|
||||
|
||||
bool IdleHint()
|
||||
{
|
||||
return proxy_.getProperty("IdleHint").onInterface(INTERFACE_NAME);
|
||||
}
|
||||
|
||||
uint64_t IdleSinceHint()
|
||||
{
|
||||
return proxy_.getProperty("IdleSinceHint").onInterface(INTERFACE_NAME);
|
||||
}
|
||||
|
||||
uint64_t IdleSinceHintMonotonic()
|
||||
{
|
||||
return proxy_.getProperty("IdleSinceHintMonotonic").onInterface(INTERFACE_NAME);
|
||||
}
|
||||
|
||||
std::string BlockInhibited()
|
||||
{
|
||||
return proxy_.getProperty("BlockInhibited").onInterface(INTERFACE_NAME);
|
||||
}
|
||||
|
||||
std::string DelayInhibited()
|
||||
{
|
||||
return proxy_.getProperty("DelayInhibited").onInterface(INTERFACE_NAME);
|
||||
}
|
||||
|
||||
uint64_t InhibitDelayMaxUSec()
|
||||
{
|
||||
return proxy_.getProperty("InhibitDelayMaxUSec").onInterface(INTERFACE_NAME);
|
||||
}
|
||||
|
||||
uint64_t UserStopDelayUSec()
|
||||
{
|
||||
return proxy_.getProperty("UserStopDelayUSec").onInterface(INTERFACE_NAME);
|
||||
}
|
||||
|
||||
std::string HandlePowerKey()
|
||||
{
|
||||
return proxy_.getProperty("HandlePowerKey").onInterface(INTERFACE_NAME);
|
||||
}
|
||||
|
||||
std::string HandlePowerKeyLongPress()
|
||||
{
|
||||
return proxy_.getProperty("HandlePowerKeyLongPress").onInterface(INTERFACE_NAME);
|
||||
}
|
||||
|
||||
std::string HandleRebootKey()
|
||||
{
|
||||
return proxy_.getProperty("HandleRebootKey").onInterface(INTERFACE_NAME);
|
||||
}
|
||||
|
||||
std::string HandleRebootKeyLongPress()
|
||||
{
|
||||
return proxy_.getProperty("HandleRebootKeyLongPress").onInterface(INTERFACE_NAME);
|
||||
}
|
||||
|
||||
std::string HandleSuspendKey()
|
||||
{
|
||||
return proxy_.getProperty("HandleSuspendKey").onInterface(INTERFACE_NAME);
|
||||
}
|
||||
|
||||
std::string HandleSuspendKeyLongPress()
|
||||
{
|
||||
return proxy_.getProperty("HandleSuspendKeyLongPress").onInterface(INTERFACE_NAME);
|
||||
}
|
||||
|
||||
std::string HandleHibernateKey()
|
||||
{
|
||||
return proxy_.getProperty("HandleHibernateKey").onInterface(INTERFACE_NAME);
|
||||
}
|
||||
|
||||
std::string HandleHibernateKeyLongPress()
|
||||
{
|
||||
return proxy_.getProperty("HandleHibernateKeyLongPress").onInterface(INTERFACE_NAME);
|
||||
}
|
||||
|
||||
std::string HandleLidSwitch()
|
||||
{
|
||||
return proxy_.getProperty("HandleLidSwitch").onInterface(INTERFACE_NAME);
|
||||
}
|
||||
|
||||
std::string HandleLidSwitchExternalPower()
|
||||
{
|
||||
return proxy_.getProperty("HandleLidSwitchExternalPower").onInterface(INTERFACE_NAME);
|
||||
}
|
||||
|
||||
std::string HandleLidSwitchDocked()
|
||||
{
|
||||
return proxy_.getProperty("HandleLidSwitchDocked").onInterface(INTERFACE_NAME);
|
||||
}
|
||||
|
||||
uint64_t HoldoffTimeoutUSec()
|
||||
{
|
||||
return proxy_.getProperty("HoldoffTimeoutUSec").onInterface(INTERFACE_NAME);
|
||||
}
|
||||
|
||||
std::string IdleAction()
|
||||
{
|
||||
return proxy_.getProperty("IdleAction").onInterface(INTERFACE_NAME);
|
||||
}
|
||||
|
||||
uint64_t IdleActionUSec()
|
||||
{
|
||||
return proxy_.getProperty("IdleActionUSec").onInterface(INTERFACE_NAME);
|
||||
}
|
||||
|
||||
bool PreparingForShutdown()
|
||||
{
|
||||
return proxy_.getProperty("PreparingForShutdown").onInterface(INTERFACE_NAME);
|
||||
}
|
||||
|
||||
bool PreparingForSleep()
|
||||
{
|
||||
return proxy_.getProperty("PreparingForSleep").onInterface(INTERFACE_NAME);
|
||||
}
|
||||
|
||||
sdbus::Struct<std::string, uint64_t> ScheduledShutdown()
|
||||
{
|
||||
return proxy_.getProperty("ScheduledShutdown").onInterface(INTERFACE_NAME);
|
||||
}
|
||||
|
||||
bool Docked()
|
||||
{
|
||||
return proxy_.getProperty("Docked").onInterface(INTERFACE_NAME);
|
||||
}
|
||||
|
||||
bool LidClosed()
|
||||
{
|
||||
return proxy_.getProperty("LidClosed").onInterface(INTERFACE_NAME);
|
||||
}
|
||||
|
||||
bool OnExternalPower()
|
||||
{
|
||||
return proxy_.getProperty("OnExternalPower").onInterface(INTERFACE_NAME);
|
||||
}
|
||||
|
||||
bool RemoveIPC()
|
||||
{
|
||||
return proxy_.getProperty("RemoveIPC").onInterface(INTERFACE_NAME);
|
||||
}
|
||||
|
||||
uint64_t RuntimeDirectorySize()
|
||||
{
|
||||
return proxy_.getProperty("RuntimeDirectorySize").onInterface(INTERFACE_NAME);
|
||||
}
|
||||
|
||||
uint64_t RuntimeDirectoryInodesMax()
|
||||
{
|
||||
return proxy_.getProperty("RuntimeDirectoryInodesMax").onInterface(INTERFACE_NAME);
|
||||
}
|
||||
|
||||
uint64_t InhibitorsMax()
|
||||
{
|
||||
return proxy_.getProperty("InhibitorsMax").onInterface(INTERFACE_NAME);
|
||||
}
|
||||
|
||||
uint64_t NCurrentInhibitors()
|
||||
{
|
||||
return proxy_.getProperty("NCurrentInhibitors").onInterface(INTERFACE_NAME);
|
||||
}
|
||||
|
||||
uint64_t SessionsMax()
|
||||
{
|
||||
return proxy_.getProperty("SessionsMax").onInterface(INTERFACE_NAME);
|
||||
}
|
||||
|
||||
uint64_t NCurrentSessions()
|
||||
{
|
||||
return proxy_.getProperty("NCurrentSessions").onInterface(INTERFACE_NAME);
|
||||
}
|
||||
|
||||
uint64_t StopIdleSessionUSec()
|
||||
{
|
||||
return proxy_.getProperty("StopIdleSessionUSec").onInterface(INTERFACE_NAME);
|
||||
}
|
||||
|
||||
private:
|
||||
sdbus::IProxy& proxy_;
|
||||
};
|
||||
|
||||
}}} // namespaces
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,388 @@
|
||||
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
|
||||
"https://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
|
||||
<node>
|
||||
<interface name="org.freedesktop.login1.Manager">
|
||||
<property name="EnableWallMessages" type="b" access="readwrite">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/>
|
||||
<annotation name="org.freedesktop.systemd1.Privileged" value="true"/>
|
||||
</property>
|
||||
<property name="WallMessage" type="s" access="readwrite">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/>
|
||||
<annotation name="org.freedesktop.systemd1.Privileged" value="true"/>
|
||||
</property>
|
||||
<property name="NAutoVTs" type="u" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="KillOnlyUsers" type="as" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="KillExcludeUsers" type="as" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="KillUserProcesses" type="b" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="RebootParameter" type="s" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/>
|
||||
</property>
|
||||
<property name="RebootToFirmwareSetup" type="b" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/>
|
||||
</property>
|
||||
<property name="RebootToBootLoaderMenu" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/>
|
||||
</property>
|
||||
<property name="RebootToBootLoaderEntry" type="s" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/>
|
||||
</property>
|
||||
<property name="BootLoaderEntries" type="as" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="IdleHint" type="b" access="read">
|
||||
</property>
|
||||
<property name="IdleSinceHint" type="t" access="read">
|
||||
</property>
|
||||
<property name="IdleSinceHintMonotonic" type="t" access="read">
|
||||
</property>
|
||||
<property name="BlockInhibited" type="s" access="read">
|
||||
</property>
|
||||
<property name="DelayInhibited" type="s" access="read">
|
||||
</property>
|
||||
<property name="InhibitDelayMaxUSec" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="UserStopDelayUSec" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="HandlePowerKey" type="s" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="HandlePowerKeyLongPress" type="s" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="HandleRebootKey" type="s" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="HandleRebootKeyLongPress" type="s" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="HandleSuspendKey" type="s" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="HandleSuspendKeyLongPress" type="s" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="HandleHibernateKey" type="s" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="HandleHibernateKeyLongPress" type="s" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="HandleLidSwitch" type="s" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="HandleLidSwitchExternalPower" type="s" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="HandleLidSwitchDocked" type="s" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="HoldoffTimeoutUSec" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="IdleAction" type="s" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="IdleActionUSec" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="PreparingForShutdown" type="b" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/>
|
||||
</property>
|
||||
<property name="PreparingForSleep" type="b" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/>
|
||||
</property>
|
||||
<property name="ScheduledShutdown" type="(st)" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/>
|
||||
</property>
|
||||
<property name="Docked" type="b" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/>
|
||||
</property>
|
||||
<property name="LidClosed" type="b" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/>
|
||||
</property>
|
||||
<property name="OnExternalPower" type="b" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/>
|
||||
</property>
|
||||
<property name="RemoveIPC" type="b" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="RuntimeDirectorySize" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="RuntimeDirectoryInodesMax" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="InhibitorsMax" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="NCurrentInhibitors" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/>
|
||||
</property>
|
||||
<property name="SessionsMax" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<property name="NCurrentSessions" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/>
|
||||
</property>
|
||||
<property name="StopIdleSessionUSec" type="t" access="read">
|
||||
<annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/>
|
||||
</property>
|
||||
<method name="GetSession">
|
||||
<arg type="s" name="session_id" direction="in"/>
|
||||
<arg type="o" name="object_path" direction="out"/>
|
||||
</method>
|
||||
<method name="GetSessionByPID">
|
||||
<arg type="u" name="pid" direction="in"/>
|
||||
<arg type="o" name="object_path" direction="out"/>
|
||||
</method>
|
||||
<method name="GetUser">
|
||||
<arg type="u" name="uid" direction="in"/>
|
||||
<arg type="o" name="object_path" direction="out"/>
|
||||
</method>
|
||||
<method name="GetUserByPID">
|
||||
<arg type="u" name="pid" direction="in"/>
|
||||
<arg type="o" name="object_path" direction="out"/>
|
||||
</method>
|
||||
<method name="GetSeat">
|
||||
<arg type="s" name="seat_id" direction="in"/>
|
||||
<arg type="o" name="object_path" direction="out"/>
|
||||
</method>
|
||||
<method name="ListSessions">
|
||||
<arg type="a(susso)" name="sessions" direction="out"/>
|
||||
</method>
|
||||
<method name="ListUsers">
|
||||
<arg type="a(uso)" name="users" direction="out"/>
|
||||
</method>
|
||||
<method name="ListSeats">
|
||||
<arg type="a(so)" name="seats" direction="out"/>
|
||||
</method>
|
||||
<method name="ListInhibitors">
|
||||
<arg type="a(ssssuu)" name="inhibitors" direction="out"/>
|
||||
</method>
|
||||
<method name="CreateSession">
|
||||
<arg type="u" name="uid" direction="in"/>
|
||||
<arg type="u" name="pid" direction="in"/>
|
||||
<arg type="s" name="service" direction="in"/>
|
||||
<arg type="s" name="type" direction="in"/>
|
||||
<arg type="s" name="class" direction="in"/>
|
||||
<arg type="s" name="desktop" direction="in"/>
|
||||
<arg type="s" name="seat_id" direction="in"/>
|
||||
<arg type="u" name="vtnr" direction="in"/>
|
||||
<arg type="s" name="tty" direction="in"/>
|
||||
<arg type="s" name="display" direction="in"/>
|
||||
<arg type="b" name="remote" direction="in"/>
|
||||
<arg type="s" name="remote_user" direction="in"/>
|
||||
<arg type="s" name="remote_host" direction="in"/>
|
||||
<arg type="a(sv)" name="properties" direction="in"/>
|
||||
<arg type="s" name="session_id" direction="out"/>
|
||||
<arg type="o" name="object_path" direction="out"/>
|
||||
<arg type="s" name="runtime_path" direction="out"/>
|
||||
<arg type="h" name="fifo_fd" direction="out"/>
|
||||
<arg type="u" name="uid" direction="out"/>
|
||||
<arg type="s" name="seat_id" direction="out"/>
|
||||
<arg type="u" name="vtnr" direction="out"/>
|
||||
<arg type="b" name="existing" direction="out"/>
|
||||
<annotation name="org.freedesktop.systemd1.Privileged" value="true"/>
|
||||
</method>
|
||||
<method name="ReleaseSession">
|
||||
<arg type="s" name="session_id" direction="in"/>
|
||||
<annotation name="org.freedesktop.systemd1.Privileged" value="true"/>
|
||||
</method>
|
||||
<method name="ActivateSession">
|
||||
<arg type="s" name="session_id" direction="in"/>
|
||||
</method>
|
||||
<method name="ActivateSessionOnSeat">
|
||||
<arg type="s" name="session_id" direction="in"/>
|
||||
<arg type="s" name="seat_id" direction="in"/>
|
||||
</method>
|
||||
<method name="LockSession">
|
||||
<arg type="s" name="session_id" direction="in"/>
|
||||
</method>
|
||||
<method name="UnlockSession">
|
||||
<arg type="s" name="session_id" direction="in"/>
|
||||
</method>
|
||||
<method name="LockSessions">
|
||||
</method>
|
||||
<method name="UnlockSessions">
|
||||
</method>
|
||||
<method name="KillSession">
|
||||
<arg type="s" name="session_id" direction="in"/>
|
||||
<arg type="s" name="who" direction="in"/>
|
||||
<arg type="i" name="signal_number" direction="in"/>
|
||||
</method>
|
||||
<method name="KillUser">
|
||||
<arg type="u" name="uid" direction="in"/>
|
||||
<arg type="i" name="signal_number" direction="in"/>
|
||||
</method>
|
||||
<method name="TerminateSession">
|
||||
<arg type="s" name="session_id" direction="in"/>
|
||||
</method>
|
||||
<method name="TerminateUser">
|
||||
<arg type="u" name="uid" direction="in"/>
|
||||
</method>
|
||||
<method name="TerminateSeat">
|
||||
<arg type="s" name="seat_id" direction="in"/>
|
||||
</method>
|
||||
<method name="SetUserLinger">
|
||||
<arg type="u" name="uid" direction="in"/>
|
||||
<arg type="b" name="enable" direction="in"/>
|
||||
<arg type="b" name="interactive" direction="in"/>
|
||||
</method>
|
||||
<method name="AttachDevice">
|
||||
<arg type="s" name="seat_id" direction="in"/>
|
||||
<arg type="s" name="sysfs_path" direction="in"/>
|
||||
<arg type="b" name="interactive" direction="in"/>
|
||||
</method>
|
||||
<method name="FlushDevices">
|
||||
<arg type="b" name="interactive" direction="in"/>
|
||||
</method>
|
||||
<method name="PowerOff">
|
||||
<arg type="b" name="interactive" direction="in"/>
|
||||
</method>
|
||||
<method name="PowerOffWithFlags">
|
||||
<arg type="t" name="flags" direction="in"/>
|
||||
</method>
|
||||
<method name="Reboot">
|
||||
<arg type="b" name="interactive" direction="in"/>
|
||||
</method>
|
||||
<method name="RebootWithFlags">
|
||||
<arg type="t" name="flags" direction="in"/>
|
||||
</method>
|
||||
<method name="Halt">
|
||||
<arg type="b" name="interactive" direction="in"/>
|
||||
</method>
|
||||
<method name="HaltWithFlags">
|
||||
<arg type="t" name="flags" direction="in"/>
|
||||
</method>
|
||||
<method name="Suspend">
|
||||
<arg type="b" name="interactive" direction="in"/>
|
||||
</method>
|
||||
<method name="SuspendWithFlags">
|
||||
<arg type="t" name="flags" direction="in"/>
|
||||
</method>
|
||||
<method name="Hibernate">
|
||||
<arg type="b" name="interactive" direction="in"/>
|
||||
</method>
|
||||
<method name="HibernateWithFlags">
|
||||
<arg type="t" name="flags" direction="in"/>
|
||||
</method>
|
||||
<method name="HybridSleep">
|
||||
<arg type="b" name="interactive" direction="in"/>
|
||||
</method>
|
||||
<method name="HybridSleepWithFlags">
|
||||
<arg type="t" name="flags" direction="in"/>
|
||||
</method>
|
||||
<method name="SuspendThenHibernate">
|
||||
<arg type="b" name="interactive" direction="in"/>
|
||||
</method>
|
||||
<method name="SuspendThenHibernateWithFlags">
|
||||
<arg type="t" name="flags" direction="in"/>
|
||||
</method>
|
||||
<method name="CanPowerOff">
|
||||
<arg type="s" name="result" direction="out"/>
|
||||
</method>
|
||||
<method name="CanReboot">
|
||||
<arg type="s" name="result" direction="out"/>
|
||||
</method>
|
||||
<method name="CanHalt">
|
||||
<arg type="s" name="result" direction="out"/>
|
||||
</method>
|
||||
<method name="CanSuspend">
|
||||
<arg type="s" name="result" direction="out"/>
|
||||
</method>
|
||||
<method name="CanHibernate">
|
||||
<arg type="s" name="result" direction="out"/>
|
||||
</method>
|
||||
<method name="CanHybridSleep">
|
||||
<arg type="s" name="result" direction="out"/>
|
||||
</method>
|
||||
<method name="CanSuspendThenHibernate">
|
||||
<arg type="s" name="result" direction="out"/>
|
||||
</method>
|
||||
<method name="ScheduleShutdown">
|
||||
<arg type="s" name="type" direction="in"/>
|
||||
<arg type="t" name="usec" direction="in"/>
|
||||
</method>
|
||||
<method name="CancelScheduledShutdown">
|
||||
<arg type="b" name="cancelled" direction="out"/>
|
||||
</method>
|
||||
<method name="Inhibit">
|
||||
<arg type="s" name="what" direction="in"/>
|
||||
<arg type="s" name="who" direction="in"/>
|
||||
<arg type="s" name="why" direction="in"/>
|
||||
<arg type="s" name="mode" direction="in"/>
|
||||
<arg type="h" name="pipe_fd" direction="out"/>
|
||||
</method>
|
||||
<method name="CanRebootParameter">
|
||||
<arg type="s" name="result" direction="out"/>
|
||||
</method>
|
||||
<method name="SetRebootParameter">
|
||||
<arg type="s" name="parameter" direction="in"/>
|
||||
</method>
|
||||
<method name="CanRebootToFirmwareSetup">
|
||||
<arg type="s" name="result" direction="out"/>
|
||||
</method>
|
||||
<method name="SetRebootToFirmwareSetup">
|
||||
<arg type="b" name="enable" direction="in"/>
|
||||
</method>
|
||||
<method name="CanRebootToBootLoaderMenu">
|
||||
<arg type="s" name="result" direction="out"/>
|
||||
</method>
|
||||
<method name="SetRebootToBootLoaderMenu">
|
||||
<arg type="t" name="timeout" direction="in"/>
|
||||
</method>
|
||||
<method name="CanRebootToBootLoaderEntry">
|
||||
<arg type="s" name="result" direction="out"/>
|
||||
</method>
|
||||
<method name="SetRebootToBootLoaderEntry">
|
||||
<arg type="s" name="boot_loader_entry" direction="in"/>
|
||||
</method>
|
||||
<method name="SetWallMessage">
|
||||
<arg type="s" name="wall_message" direction="in"/>
|
||||
<arg type="b" name="enable" direction="in"/>
|
||||
</method>
|
||||
<signal name="SessionNew">
|
||||
<arg type="s" name="session_id"/>
|
||||
<arg type="o" name="object_path"/>
|
||||
</signal>
|
||||
<signal name="SessionRemoved">
|
||||
<arg type="s" name="session_id"/>
|
||||
<arg type="o" name="object_path"/>
|
||||
</signal>
|
||||
<signal name="UserNew">
|
||||
<arg type="u" name="uid"/>
|
||||
<arg type="o" name="object_path"/>
|
||||
</signal>
|
||||
<signal name="UserRemoved">
|
||||
<arg type="u" name="uid"/>
|
||||
<arg type="o" name="object_path"/>
|
||||
</signal>
|
||||
<signal name="SeatNew">
|
||||
<arg type="s" name="seat_id"/>
|
||||
<arg type="o" name="object_path"/>
|
||||
</signal>
|
||||
<signal name="SeatRemoved">
|
||||
<arg type="s" name="seat_id"/>
|
||||
<arg type="o" name="object_path"/>
|
||||
</signal>
|
||||
<signal name="PrepareForShutdown">
|
||||
<arg type="b" name="start"/>
|
||||
</signal>
|
||||
<signal name="PrepareForSleep">
|
||||
<arg type="b" name="start"/>
|
||||
</signal>
|
||||
</interface>
|
||||
<node name="seat"/>
|
||||
<node name="session"/>
|
||||
<node name="user"/>
|
||||
</node>
|
||||
Reference in New Issue
Block a user