aboutsummaryrefslogtreecommitdiff
path: root/tests/backend-dbus/mock-login1-manager.h
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2013-06-25 01:07:36 -0500
committerCharles Kerr <charles.kerr@canonical.com>2013-06-25 01:07:36 -0500
commitc572f9940e9c0081e281d13e8f8038dcb1b92c3c (patch)
tree6492ebdab58e6e14c9a8d3b9430b54902b620abc /tests/backend-dbus/mock-login1-manager.h
parent0f8caa36ee3efac6ccf0861deb9af9e1c186885d (diff)
downloadayatana-indicator-session-c572f9940e9c0081e281d13e8f8038dcb1b92c3c.tar.gz
ayatana-indicator-session-c572f9940e9c0081e281d13e8f8038dcb1b92c3c.tar.bz2
ayatana-indicator-session-c572f9940e9c0081e281d13e8f8038dcb1b92c3c.zip
in tests-users, fix 3 more tests: RealnameChanged, LogInLogOut, ActivateSession
Diffstat (limited to 'tests/backend-dbus/mock-login1-manager.h')
-rw-r--r--tests/backend-dbus/mock-login1-manager.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/backend-dbus/mock-login1-manager.h b/tests/backend-dbus/mock-login1-manager.h
index a093f7f..f630329 100644
--- a/tests/backend-dbus/mock-login1-manager.h
+++ b/tests/backend-dbus/mock-login1-manager.h
@@ -37,6 +37,7 @@ class MockLogin1Manager: public MockObject
virtual ~MockLogin1Manager ();
int add_session (MockLogin1Seat * seat, MockUser * user);
+ void remove_session (MockLogin1Seat * seat, int session_tag);
void add_seat (MockLogin1Seat * seat);
@@ -49,6 +50,7 @@ class MockLogin1Manager: public MockObject
private:
void emit_session_new (MockLogin1Seat * seat, int tag) const;
+ void emit_session_removed (MockLogin1Seat * seat, int tag) const;
GVariant * list_sessions () const;