Changeset View
Changeset View
Standalone View
Standalone View
src/server/server_decoration_interface.cpp
Show First 20 Lines • Show All 54 Lines • ▼ Show 20 Line(s) | 45 | private: | |||
---|---|---|---|---|---|
55 | 55 | | |||
56 | ServerSideDecorationManagerInterface *q; | 56 | ServerSideDecorationManagerInterface *q; | ||
57 | static const struct org_kde_kwin_server_decoration_manager_interface s_interface; | 57 | static const struct org_kde_kwin_server_decoration_manager_interface s_interface; | ||
58 | static const quint32 s_version; | 58 | static const quint32 s_version; | ||
59 | }; | 59 | }; | ||
60 | 60 | | |||
61 | const quint32 ServerSideDecorationManagerInterface::Private::s_version = 1; | 61 | const quint32 ServerSideDecorationManagerInterface::Private::s_version = 1; | ||
62 | 62 | | |||
63 | #ifndef DOXYGEN_SHOULD_SKIP_THIS | 63 | #ifndef K_DOXYGEN | ||
64 | const struct org_kde_kwin_server_decoration_manager_interface ServerSideDecorationManagerInterface::Private::s_interface = { | 64 | const struct org_kde_kwin_server_decoration_manager_interface ServerSideDecorationManagerInterface::Private::s_interface = { | ||
65 | createCallback | 65 | createCallback | ||
66 | }; | 66 | }; | ||
67 | #endif | 67 | #endif | ||
68 | 68 | | |||
69 | void ServerSideDecorationManagerInterface::Private::createCallback(wl_client *client, wl_resource *resource, uint32_t id, wl_resource *surface) | 69 | void ServerSideDecorationManagerInterface::Private::createCallback(wl_client *client, wl_resource *resource, uint32_t id, wl_resource *surface) | ||
70 | { | 70 | { | ||
71 | reinterpret_cast<Private*>(wl_resource_get_user_data(resource))->create(client, resource, id, surface); | 71 | reinterpret_cast<Private*>(wl_resource_get_user_data(resource))->create(client, resource, id, surface); | ||
▲ Show 20 Lines • Show All 108 Lines • ▼ Show 20 Line(s) | 177 | private: | |||
180 | ServerSideDecorationInterface *q_func() { | 180 | ServerSideDecorationInterface *q_func() { | ||
181 | return reinterpret_cast<ServerSideDecorationInterface *>(q); | 181 | return reinterpret_cast<ServerSideDecorationInterface *>(q); | ||
182 | } | 182 | } | ||
183 | 183 | | |||
184 | static const struct org_kde_kwin_server_decoration_interface s_interface; | 184 | static const struct org_kde_kwin_server_decoration_interface s_interface; | ||
185 | static QVector<Private*> s_all; | 185 | static QVector<Private*> s_all; | ||
186 | }; | 186 | }; | ||
187 | 187 | | |||
188 | #ifndef DOXYGEN_SHOULD_SKIP_THIS | 188 | #ifndef K_DOXYGEN | ||
189 | const struct org_kde_kwin_server_decoration_interface ServerSideDecorationInterface::Private::s_interface = { | 189 | const struct org_kde_kwin_server_decoration_interface ServerSideDecorationInterface::Private::s_interface = { | ||
190 | resourceDestroyedCallback, | 190 | resourceDestroyedCallback, | ||
191 | requestModeCallback | 191 | requestModeCallback | ||
192 | }; | 192 | }; | ||
193 | QVector<ServerSideDecorationInterface::Private*> ServerSideDecorationInterface::Private::s_all; | 193 | QVector<ServerSideDecorationInterface::Private*> ServerSideDecorationInterface::Private::s_all; | ||
194 | #endif | 194 | #endif | ||
195 | 195 | | |||
196 | void ServerSideDecorationInterface::Private::requestModeCallback(wl_client *client, wl_resource *resource, uint32_t mode) | 196 | void ServerSideDecorationInterface::Private::requestModeCallback(wl_client *client, wl_resource *resource, uint32_t mode) | ||
▲ Show 20 Lines • Show All 81 Lines • Show Last 20 Lines |