~mir-team/mir/trunk

« back to all changes in this revision

Viewing changes to include/server/mir/frontend/session.h

  • Committer: Tarmac
  • Author(s): Daniel van Vugt
  • Date: 2013-03-22 03:33:00 UTC
  • mfrom: (440.1.138 surface-types)
  • Revision ID: tarmac-20130322033300-qj6cjcvsqhl4mpaw
Add support for surface types (client API, protocol and server).

This work will also form the foundation of supporting surface states.

Approved by PS Jenkins bot, Alan Griffiths, Robert Ancell.

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
#ifndef MIR_FRONTEND_SESSION_H_
20
20
#define MIR_FRONTEND_SESSION_H_
21
21
 
 
22
#include "mir_toolkit/common.h"
22
23
#include "mir/frontend/surface_id.h"
23
24
 
24
25
#include <mutex>
49
50
    virtual void hide() = 0;
50
51
    virtual void show() = 0;
51
52
 
 
53
    virtual int configure_surface(SurfaceId id, MirSurfaceAttrib attrib, int value) = 0;
 
54
 
52
55
protected:
53
56
    Session() = default;
54
57
    Session(Session const&) = delete;