~robertcarr/mir/surface-shell-data

« back to all changes in this revision

Viewing changes to src/server/scene/surface_impl.h

  • Committer: Robert Carr
  • Date: 2014-02-18 20:00:28 UTC
  • Revision ID: robert.carr@canonical.com-20140218200028-pm7ji32hbiutfqzv
Add shell_data storage to shell surface interface for assosciation to shell side surface object.

Show diffs side-by-side

added added

removed removed

Lines of Context:
93
93
    virtual float alpha() const;
94
94
    virtual void set_alpha(float alpha);
95
95
 
 
96
    virtual void set_shell_data(void *shell_data, std::function<void()> const& destroy_shell_data);
 
97
    virtual void *shell_data() const;
 
98
 
96
99
private:
97
100
    bool set_type(MirSurfaceType t);  // Use configure() to make public changes
98
101
    bool set_state(MirSurfaceState s);