Changeset View
Changeset View
Standalone View
Standalone View
src/server/xdgforeign_v2_interface.cpp
Show First 20 Lines • Show All 55 Lines • ▼ Show 20 Line(s) | 46 | private: | |||
---|---|---|---|---|---|
56 | 56 | | |||
57 | XdgExporterUnstableV2Interface *q; | 57 | XdgExporterUnstableV2Interface *q; | ||
58 | static const struct zxdg_exporter_v2_interface s_interface; | 58 | static const struct zxdg_exporter_v2_interface s_interface; | ||
59 | static const quint32 s_version; | 59 | static const quint32 s_version; | ||
60 | }; | 60 | }; | ||
61 | 61 | | |||
62 | const quint32 XdgExporterUnstableV2Interface::Private::s_version = 1; | 62 | const quint32 XdgExporterUnstableV2Interface::Private::s_version = 1; | ||
63 | 63 | | |||
64 | #ifndef DOXYGEN_SHOULD_SKIP_THIS | 64 | #ifndef K_DOXYGEN | ||
65 | const struct zxdg_exporter_v2_interface XdgExporterUnstableV2Interface::Private::s_interface = { | 65 | const struct zxdg_exporter_v2_interface XdgExporterUnstableV2Interface::Private::s_interface = { | ||
66 | destroyCallback, | 66 | destroyCallback, | ||
67 | exportCallback | 67 | exportCallback | ||
68 | }; | 68 | }; | ||
69 | #endif | 69 | #endif | ||
70 | 70 | | |||
71 | XdgExporterUnstableV2Interface::XdgExporterUnstableV2Interface(Display *display, XdgForeignInterface *parent) | 71 | XdgExporterUnstableV2Interface::XdgExporterUnstableV2Interface(Display *display, XdgForeignInterface *parent) | ||
72 | : Global(new Private(this, display, parent), parent) | 72 | : Global(new Private(this, display, parent), parent) | ||
▲ Show 20 Lines • Show All 114 Lines • ▼ Show 20 Line(s) | 177 | private: | |||
187 | 187 | | |||
188 | XdgImporterUnstableV2Interface *q; | 188 | XdgImporterUnstableV2Interface *q; | ||
189 | static const struct zxdg_importer_v2_interface s_interface; | 189 | static const struct zxdg_importer_v2_interface s_interface; | ||
190 | static const quint32 s_version; | 190 | static const quint32 s_version; | ||
191 | }; | 191 | }; | ||
192 | 192 | | |||
193 | const quint32 XdgImporterUnstableV2Interface::Private::s_version = 1; | 193 | const quint32 XdgImporterUnstableV2Interface::Private::s_version = 1; | ||
194 | 194 | | |||
195 | #ifndef DOXYGEN_SHOULD_SKIP_THIS | 195 | #ifndef K_DOXYGEN | ||
196 | const struct zxdg_importer_v2_interface XdgImporterUnstableV2Interface::Private::s_interface = { | 196 | const struct zxdg_importer_v2_interface XdgImporterUnstableV2Interface::Private::s_interface = { | ||
197 | destroyCallback, | 197 | destroyCallback, | ||
198 | importCallback | 198 | importCallback | ||
199 | }; | 199 | }; | ||
200 | #endif | 200 | #endif | ||
201 | 201 | | |||
202 | XdgImporterUnstableV2Interface::XdgImporterUnstableV2Interface(Display *display, XdgForeignInterface *parent) | 202 | XdgImporterUnstableV2Interface::XdgImporterUnstableV2Interface(Display *display, XdgForeignInterface *parent) | ||
203 | : Global(new Private(this, display, parent), parent) | 203 | : Global(new Private(this, display, parent), parent) | ||
▲ Show 20 Lines • Show All 158 Lines • ▼ Show 20 Line(s) | 361 | private: | |||
362 | 362 | | |||
363 | XdgExportedUnstableV2Interface *q_func() { | 363 | XdgExportedUnstableV2Interface *q_func() { | ||
364 | return reinterpret_cast<XdgExportedUnstableV2Interface *>(q); | 364 | return reinterpret_cast<XdgExportedUnstableV2Interface *>(q); | ||
365 | } | 365 | } | ||
366 | 366 | | |||
367 | static const struct zxdg_exported_v2_interface s_interface; | 367 | static const struct zxdg_exported_v2_interface s_interface; | ||
368 | }; | 368 | }; | ||
369 | 369 | | |||
370 | #ifndef DOXYGEN_SHOULD_SKIP_THIS | 370 | #ifndef K_DOXYGEN | ||
371 | const struct zxdg_exported_v2_interface XdgExportedUnstableV2Interface::Private::s_interface = { | 371 | const struct zxdg_exported_v2_interface XdgExportedUnstableV2Interface::Private::s_interface = { | ||
372 | resourceDestroyedCallback | 372 | resourceDestroyedCallback | ||
373 | }; | 373 | }; | ||
374 | #endif | 374 | #endif | ||
375 | 375 | | |||
376 | XdgExportedUnstableV2Interface::XdgExportedUnstableV2Interface(XdgExporterUnstableV2Interface *parent, wl_resource *parentResource) | 376 | XdgExportedUnstableV2Interface::XdgExportedUnstableV2Interface(XdgExporterUnstableV2Interface *parent, wl_resource *parentResource) | ||
377 | : Resource(new Private(this, parent, parentResource)) | 377 | : Resource(new Private(this, parent, parentResource)) | ||
378 | { | 378 | { | ||
Show All 28 Lines | 405 | private: | |||
407 | 407 | | |||
408 | XdgImportedUnstableV2Interface *q_func() { | 408 | XdgImportedUnstableV2Interface *q_func() { | ||
409 | return reinterpret_cast<XdgImportedUnstableV2Interface *>(q); | 409 | return reinterpret_cast<XdgImportedUnstableV2Interface *>(q); | ||
410 | } | 410 | } | ||
411 | 411 | | |||
412 | static const struct zxdg_imported_v2_interface s_interface; | 412 | static const struct zxdg_imported_v2_interface s_interface; | ||
413 | }; | 413 | }; | ||
414 | 414 | | |||
415 | #ifndef DOXYGEN_SHOULD_SKIP_THIS | 415 | #ifndef K_DOXYGEN | ||
416 | const struct zxdg_imported_v2_interface XdgImportedUnstableV2Interface::Private::s_interface = { | 416 | const struct zxdg_imported_v2_interface XdgImportedUnstableV2Interface::Private::s_interface = { | ||
417 | resourceDestroyedCallback, | 417 | resourceDestroyedCallback, | ||
418 | setParentOfCallback | 418 | setParentOfCallback | ||
419 | }; | 419 | }; | ||
420 | #endif | 420 | #endif | ||
421 | 421 | | |||
422 | XdgImportedUnstableV2Interface::XdgImportedUnstableV2Interface(XdgImporterUnstableV2Interface *parent, wl_resource *parentResource) | 422 | XdgImportedUnstableV2Interface::XdgImportedUnstableV2Interface(XdgImporterUnstableV2Interface *parent, wl_resource *parentResource) | ||
423 | : Resource(new Private(this, parent, parentResource)) | 423 | : Resource(new Private(this, parent, parentResource)) | ||
▲ Show 20 Lines • Show All 43 Lines • Show Last 20 Lines |