~mir-team/miral/no-change-rebuild

« back to all changes in this revision

Viewing changes to miral-qt/tests/framework/stub_windowcontroller.h

  • Committer: Alan Griffiths
  • Date: 2016-11-03 16:03:29 UTC
  • mfrom: (430.1.3 miral2)
  • Revision ID: alan@octopull.co.uk-20161103160329-nn5deso9jyz0d5tw
Add miral::WindowManagerTools::force_close(window) to forcefully close a window (i.e. without a close request to the client)

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
    void move  (const miral::Window &/*window*/, const QPoint &/*topLeft*/) override { return; }
31
31
 
32
32
    void requestClose(const miral::Window &/*window*/) override { return; }
 
33
    void forceClose(const miral::Window &/*window*/) override { return; }
33
34
 
34
35
    void requestState(const miral::Window &/*window*/, const Mir::State /*state*/) override { return; }
35
36