~alan-griffiths/mir/knee-jerk-mir_surface_state_automatic

« back to all changes in this revision

Viewing changes to include/mir_client/mir_client_surface.h

  • Committer: Kevin DuBois
  • Date: 2012-11-13 01:36:29 UTC
  • mfrom: (245 trunk)
  • mto: This revision was merged to the branch mainline in revision 246.
  • Revision ID: kevin.dubois@canonical.com-20121113013629-q4496w4mp5e33auk
merge in base branch. move the demo clients to a new directory, examples/

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
class ClientBuffer;
30
30
class ClientSurface
31
31
{
32
 
public:
 
32
  public:
33
33
    virtual MirSurfaceParameters get_parameters() const = 0;
34
34
    virtual std::shared_ptr<ClientBuffer> get_current_buffer() = 0;
35
35
    virtual MirWaitHandle* next_buffer(mir_surface_lifecycle_callback callback, void * context) = 0;
 
36
  protected:
 
37
    ClientSurface() {}
 
38
    virtual ~ClientSurface() {}
 
39
    
 
40
    ClientSurface(const ClientSurface&) = delete;
 
41
    ClientSurface& operator=(const ClientSurface&) = delete;
36
42
};
37
43
 
38
44
}