summaryrefslogtreecommitdiff
path: root/tests/test-gestures
diff options
authorSam Spilsbury <sam.spilsbury@canonical.com>2012-12-19 17:45:55 +0800
committerSam Spilsbury <sam.spilsbury@canonical.com>2012-12-19 17:45:55 +0800
commite69bbd24113d215173b7fa44ea6a5dc1311474a3 (patch)
tree362afad114b3587466276987f57ccbf64c738b9e /tests/test-gestures
parent159d6ca00a57bc6c322a748eb17b09a3ebf9d8c9 (diff)
Pull a nonvirtual interface out of switcher::Controller and rename
switcher::Controller impl to switcher::ShellController (bzr r3001.2.1)
Diffstat (limited to 'tests/test-gestures')
-rw-r--r--tests/test-gestures/SwitcherControllerMock.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test-gestures/SwitcherControllerMock.h b/tests/test-gestures/SwitcherControllerMock.h
index 9c14a8ee7..69aa02b86 100644
--- a/tests/test-gestures/SwitcherControllerMock.h
+++ b/tests/test-gestures/SwitcherControllerMock.h
@@ -83,6 +83,11 @@ public:
return &view_;
}
+ sigc::connection ConnectToViewBuilt (sigc::slot<void> const& f)
+ {
+ return view_built.connect (f);
+ }
+
bool is_visible_;
SwitcherViewMock view_;
int prev_count_;