aboutsummaryrefslogtreecommitdiff
path: root/tests/backend-dbus/mock-login1-manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/backend-dbus/mock-login1-manager.h')
-rw-r--r--tests/backend-dbus/mock-login1-manager.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/backend-dbus/mock-login1-manager.h b/tests/backend-dbus/mock-login1-manager.h
index da05660..a093f7f 100644
--- a/tests/backend-dbus/mock-login1-manager.h
+++ b/tests/backend-dbus/mock-login1-manager.h
@@ -47,8 +47,12 @@ class MockLogin1Manager: public MockObject
void clear_last_action () { my_last_action.clear(); }
private:
+
void emit_session_new (MockLogin1Seat * seat, int tag) const;
+ GVariant * list_sessions () const;
+
+ static gboolean handle_list_sessions (Login1Manager *, GDBusMethodInvocation *, gpointer);
static gboolean handle_can_suspend (Login1Manager *, GDBusMethodInvocation *, gpointer);
static gboolean handle_can_hibernate (Login1Manager *, GDBusMethodInvocation *, gpointer);
static gboolean handle_reboot (Login1Manager *, GDBusMethodInvocation *, gboolean, gpointer);