Revision 4a54374...

Go back to digest for 16th November 2014

Other in User Interface

Martin Gräßlin committed changes in [kwayland] /:

[server] Introduce a base class Resource

The Resource base class is supposed to be used by all interface
classes which get created for a wl_resource.

Most interface classes are adjusted, but there are some exceptions:
* BufferInterface: is different as the wl_resource is already created
* PointerInterface and KeyboardInterface: those two need changes, the
implementation differs from all other interface implementations.

File Changes

Modified 18 files
  •   autotests/client/test_wayland_region.cpp
  •   src/server/CMakeLists.txt
  •   src/server/datadevice_interface.cpp
  •   src/server/datadevice_interface.h
  •   src/server/dataoffer_interface.cpp
  •   src/server/dataoffer_interface.h
  •   src/server/datasource_interface.cpp
  •   src/server/datasource_interface.h
  •   src/server/region_interface.cpp
  •   src/server/region_interface.h
  •   src/server/shell_interface.cpp
  •   src/server/shell_interface.h
  •   src/server/subcompositor_interface.cpp
  •   src/server/subcompositor_interface.h
  •   src/server/subsurface_interface_p.h
  •   src/server/surface_interface.cpp
  •   src/server/surface_interface.h
  •   src/server/surface_interface_p.h
18 files changed in total