~mzanetti/qtmir/dpr

« back to all changes in this revision

Viewing changes to src/platforms/mirserver/focussetter.h

  • Committer: CI Train Bot
  • Author(s): Alan Griffiths
  • Date: 2015-02-09 16:28:40 UTC
  • mfrom: (309.3.10 qtmir)
  • Revision ID: ci-train-bot@canonical.com-20150209162840-usi931idfs1kk79m
Port to the msh::Shell API in Mir 
Approved by: Alberto Aguirre, Gerry Boland

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 * Copyright (C) 2014 Canonical, Ltd.
3
 
 *
4
 
 * This program is free software: you can redistribute it and/or modify it under
5
 
 * the terms of the GNU Lesser General Public License version 3, as published by
6
 
 * the Free Software Foundation.
7
 
 *
8
 
 * This program is distributed in the hope that it will be useful, but WITHOUT
9
 
 * ANY WARRANTY; without even the implied warranties of MERCHANTABILITY,
10
 
 * SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11
 
 * Lesser General Public License for more details.
12
 
 *
13
 
 * You should have received a copy of the GNU Lesser General Public License
14
 
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
15
 
 */
16
 
 
17
 
#ifndef QPAMIRSERVER_FOCUS_SETTER_H
18
 
#define QPAMIRSERVER_FOCUS_SETTER_H
19
 
 
20
 
#include <mir/shell/focus_setter.h>
21
 
 
22
 
class FocusSetter : public mir::shell::FocusSetter
23
 
{
24
 
public:
25
 
    void set_focus_to(std::shared_ptr<mir::scene::Session> const& new_focus) override;
26
 
};
27
 
 
28
 
#endif // QPAMIRSERVER_FOCUS_SETTER_H