| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
#ifndef PLASMA_WINDOW_MANAGEMENT_CLIENT_PROTOCOL_H |
| 26 |
#define PLASMA_WINDOW_MANAGEMENT_CLIENT_PROTOCOL_H |
| 27 |
|
| 28 |
#include <stdint.h> |
| 29 |
#include <stddef.h> |
| 30 |
#include "wayland-client.h" |
| 31 |
|
| 32 |
#ifdef __cplusplus |
| 33 |
extern "C" { |
| 34 |
#endif |
| 35 |
|
| 36 |
|
| 37 |
|
| 38 |
|
| 39 |
|
| 40 |
|
| 41 |
|
| 42 |
|
| 43 |
|
| 44 |
|
| 45 |
|
| 46 |
|
| 47 |
|
| 48 |
|
| 49 |
|
| 50 |
|
| 51 |
struct org_kde_plasma_activation; |
| 52 |
struct org_kde_plasma_activation_feedback; |
| 53 |
struct org_kde_plasma_window; |
| 54 |
struct org_kde_plasma_window_management; |
| 55 |
struct wl_output; |
| 56 |
struct wl_surface; |
| 57 |
|
| 58 |
#ifndef ORG_KDE_PLASMA_WINDOW_MANAGEMENT_INTERFACE |
| 59 |
#define ORG_KDE_PLASMA_WINDOW_MANAGEMENT_INTERFACE |
| 60 |
|
| 61 |
|
| 62 |
|
| 63 |
|
| 64 |
|
| 65 |
|
| 66 |
|
| 67 |
|
| 68 |
|
| 69 |
|
| 70 |
|
| 71 |
|
| 72 |
|
| 73 |
|
| 74 |
|
| 75 |
|
| 76 |
|
| 77 |
|
| 78 |
|
| 79 |
|
| 80 |
|
| 81 |
|
| 82 |
|
| 83 |
extern const struct wl_interface org_kde_plasma_window_management_interface; |
| 84 |
#endif |
| 85 |
#ifndef ORG_KDE_PLASMA_WINDOW_INTERFACE |
| 86 |
#define ORG_KDE_PLASMA_WINDOW_INTERFACE |
| 87 |
|
| 88 |
|
| 89 |
|
| 90 |
|
| 91 |
|
| 92 |
|
| 93 |
|
| 94 |
|
| 95 |
|
| 96 |
|
| 97 |
|
| 98 |
|
| 99 |
|
| 100 |
|
| 101 |
|
| 102 |
|
| 103 |
|
| 104 |
extern const struct wl_interface org_kde_plasma_window_interface; |
| 105 |
#endif |
| 106 |
#ifndef ORG_KDE_PLASMA_ACTIVATION_FEEDBACK_INTERFACE |
| 107 |
#define ORG_KDE_PLASMA_ACTIVATION_FEEDBACK_INTERFACE |
| 108 |
|
| 109 |
|
| 110 |
|
| 111 |
|
| 112 |
|
| 113 |
|
| 114 |
|
| 115 |
|
| 116 |
|
| 117 |
|
| 118 |
|
| 119 |
|
| 120 |
|
| 121 |
|
| 122 |
|
| 123 |
extern const struct wl_interface org_kde_plasma_activation_feedback_interface; |
| 124 |
#endif |
| 125 |
#ifndef ORG_KDE_PLASMA_ACTIVATION_INTERFACE |
| 126 |
#define ORG_KDE_PLASMA_ACTIVATION_INTERFACE |
| 127 |
|
| 128 |
|
| 129 |
|
| 130 |
|
| 131 |
|
| 132 |
|
| 133 |
|
| 134 |
|
| 135 |
extern const struct wl_interface org_kde_plasma_activation_interface; |
| 136 |
#endif |
| 137 |
|
| 138 |
#ifndef ORG_KDE_PLASMA_WINDOW_MANAGEMENT_STATE_ENUM |
| 139 |
#define ORG_KDE_PLASMA_WINDOW_MANAGEMENT_STATE_ENUM |
| 140 |
enum org_kde_plasma_window_management_state { |
| 141 |
ORG_KDE_PLASMA_WINDOW_MANAGEMENT_STATE_ACTIVE = 1 << 0, |
| 142 |
ORG_KDE_PLASMA_WINDOW_MANAGEMENT_STATE_MINIMIZED = 1 << 1, |
| 143 |
ORG_KDE_PLASMA_WINDOW_MANAGEMENT_STATE_MAXIMIZED = 1 << 2, |
| 144 |
ORG_KDE_PLASMA_WINDOW_MANAGEMENT_STATE_FULLSCREEN = 1 << 3, |
| 145 |
ORG_KDE_PLASMA_WINDOW_MANAGEMENT_STATE_KEEP_ABOVE = 1 << 4, |
| 146 |
ORG_KDE_PLASMA_WINDOW_MANAGEMENT_STATE_KEEP_BELOW = 1 << 5, |
| 147 |
ORG_KDE_PLASMA_WINDOW_MANAGEMENT_STATE_ON_ALL_DESKTOPS = 1 << 6, |
| 148 |
ORG_KDE_PLASMA_WINDOW_MANAGEMENT_STATE_DEMANDS_ATTENTION = 1 << 7, |
| 149 |
ORG_KDE_PLASMA_WINDOW_MANAGEMENT_STATE_CLOSEABLE = 1 << 8, |
| 150 |
ORG_KDE_PLASMA_WINDOW_MANAGEMENT_STATE_MINIMIZABLE = 1 << 9, |
| 151 |
ORG_KDE_PLASMA_WINDOW_MANAGEMENT_STATE_MAXIMIZABLE = 1 << 10, |
| 152 |
ORG_KDE_PLASMA_WINDOW_MANAGEMENT_STATE_FULLSCREENABLE = 1 << 11, |
| 153 |
|
| 154 |
|
| 155 |
|
| 156 |
ORG_KDE_PLASMA_WINDOW_MANAGEMENT_STATE_SKIPTASKBAR = 1 << 12, |
| 157 |
|
| 158 |
|
| 159 |
|
| 160 |
ORG_KDE_PLASMA_WINDOW_MANAGEMENT_STATE_SHADEABLE = 1 << 13, |
| 161 |
|
| 162 |
|
| 163 |
|
| 164 |
ORG_KDE_PLASMA_WINDOW_MANAGEMENT_STATE_SHADED = 1 << 14, |
| 165 |
|
| 166 |
|
| 167 |
|
| 168 |
ORG_KDE_PLASMA_WINDOW_MANAGEMENT_STATE_MOVABLE = 1 << 15, |
| 169 |
|
| 170 |
|
| 171 |
|
| 172 |
ORG_KDE_PLASMA_WINDOW_MANAGEMENT_STATE_RESIZABLE = 1 << 16, |
| 173 |
|
| 174 |
|
| 175 |
|
| 176 |
ORG_KDE_PLASMA_WINDOW_MANAGEMENT_STATE_VIRTUAL_DESKTOP_CHANGEABLE = 1 << 17, |
| 177 |
|
| 178 |
|
| 179 |
|
| 180 |
ORG_KDE_PLASMA_WINDOW_MANAGEMENT_STATE_SKIPSWITCHER = 1 << 18, |
| 181 |
}; |
| 182 |
|
| 183 |
|
| 184 |
|
| 185 |
#define ORG_KDE_PLASMA_WINDOW_MANAGEMENT_STATE_SKIPTASKBAR_SINCE_VERSION 2 |
| 186 |
|
| 187 |
|
| 188 |
|
| 189 |
#define ORG_KDE_PLASMA_WINDOW_MANAGEMENT_STATE_SHADEABLE_SINCE_VERSION 3 |
| 190 |
|
| 191 |
|
| 192 |
|
| 193 |
#define ORG_KDE_PLASMA_WINDOW_MANAGEMENT_STATE_SHADED_SINCE_VERSION 3 |
| 194 |
|
| 195 |
|
| 196 |
|
| 197 |
#define ORG_KDE_PLASMA_WINDOW_MANAGEMENT_STATE_MOVABLE_SINCE_VERSION 3 |
| 198 |
|
| 199 |
|
| 200 |
|
| 201 |
#define ORG_KDE_PLASMA_WINDOW_MANAGEMENT_STATE_RESIZABLE_SINCE_VERSION 3 |
| 202 |
|
| 203 |
|
| 204 |
|
| 205 |
#define ORG_KDE_PLASMA_WINDOW_MANAGEMENT_STATE_VIRTUAL_DESKTOP_CHANGEABLE_SINCE_VERSION 3 |
| 206 |
|
| 207 |
|
| 208 |
|
| 209 |
#define ORG_KDE_PLASMA_WINDOW_MANAGEMENT_STATE_SKIPSWITCHER_SINCE_VERSION 9 |
| 210 |
#endif |
| 211 |
|
| 212 |
#ifndef ORG_KDE_PLASMA_WINDOW_MANAGEMENT_SHOW_DESKTOP_ENUM |
| 213 |
#define ORG_KDE_PLASMA_WINDOW_MANAGEMENT_SHOW_DESKTOP_ENUM |
| 214 |
enum org_kde_plasma_window_management_show_desktop { |
| 215 |
ORG_KDE_PLASMA_WINDOW_MANAGEMENT_SHOW_DESKTOP_DISABLED = 0, |
| 216 |
ORG_KDE_PLASMA_WINDOW_MANAGEMENT_SHOW_DESKTOP_ENABLED = 1, |
| 217 |
}; |
| 218 |
#endif |
| 219 |
|
| 220 |
|
| 221 |
|
| 222 |
|
| 223 |
|
| 224 |
struct org_kde_plasma_window_management_listener { |
| 225 |
|
| 226 |
|
| 227 |
|
| 228 |
|
| 229 |
|
| 230 |
|
| 231 |
|
| 232 |
|
| 233 |
|
| 234 |
void (*show_desktop_changed)(void *data, |
| 235 |
struct org_kde_plasma_window_management *org_kde_plasma_window_management, |
| 236 |
uint32_t state); |
| 237 |
|
| 238 |
|
| 239 |
|
| 240 |
|
| 241 |
|
| 242 |
|
| 243 |
void (*window)(void *data, |
| 244 |
struct org_kde_plasma_window_management *org_kde_plasma_window_management, |
| 245 |
uint32_t id); |
| 246 |
|
| 247 |
|
| 248 |
|
| 249 |
|
| 250 |
|
| 251 |
|
| 252 |
|
| 253 |
|
| 254 |
void (*stacking_order_changed)(void *data, |
| 255 |
struct org_kde_plasma_window_management *org_kde_plasma_window_management, |
| 256 |
struct wl_array *ids); |
| 257 |
|
| 258 |
|
| 259 |
|
| 260 |
|
| 261 |
|
| 262 |
|
| 263 |
|
| 264 |
|
| 265 |
void (*stacking_order_uuid_changed)(void *data, |
| 266 |
struct org_kde_plasma_window_management *org_kde_plasma_window_management, |
| 267 |
const char *uuids); |
| 268 |
|
| 269 |
|
| 270 |
|
| 271 |
|
| 272 |
|
| 273 |
|
| 274 |
|
| 275 |
|
| 276 |
void (*window_with_uuid)(void *data, |
| 277 |
struct org_kde_plasma_window_management *org_kde_plasma_window_management, |
| 278 |
uint32_t id, |
| 279 |
const char *uuid); |
| 280 |
}; |
| 281 |
|
| 282 |
|
| 283 |
|
| 284 |
|
| 285 |
static inline int |
| 286 |
org_kde_plasma_window_management_add_listener(struct org_kde_plasma_window_management *org_kde_plasma_window_management, |
| 287 |
const struct org_kde_plasma_window_management_listener *listener, void *data) |
| 288 |
{ |
| 289 |
return wl_proxy_add_listener((struct wl_proxy *) org_kde_plasma_window_management, |
| 290 |
(void (**)(void)) listener, data); |
| 291 |
} |
| 292 |
|
| 293 |
#define ORG_KDE_PLASMA_WINDOW_MANAGEMENT_SHOW_DESKTOP 0 |
| 294 |
#define ORG_KDE_PLASMA_WINDOW_MANAGEMENT_GET_WINDOW 1 |
| 295 |
#define ORG_KDE_PLASMA_WINDOW_MANAGEMENT_GET_WINDOW_BY_UUID 2 |
| 296 |
|
| 297 |
|
| 298 |
|
| 299 |
|
| 300 |
#define ORG_KDE_PLASMA_WINDOW_MANAGEMENT_SHOW_DESKTOP_CHANGED_SINCE_VERSION 1 |
| 301 |
|
| 302 |
|
| 303 |
|
| 304 |
#define ORG_KDE_PLASMA_WINDOW_MANAGEMENT_WINDOW_SINCE_VERSION 1 |
| 305 |
|
| 306 |
|
| 307 |
|
| 308 |
#define ORG_KDE_PLASMA_WINDOW_MANAGEMENT_STACKING_ORDER_CHANGED_SINCE_VERSION 11 |
| 309 |
|
| 310 |
|
| 311 |
|
| 312 |
#define ORG_KDE_PLASMA_WINDOW_MANAGEMENT_STACKING_ORDER_UUID_CHANGED_SINCE_VERSION 12 |
| 313 |
|
| 314 |
|
| 315 |
|
| 316 |
#define ORG_KDE_PLASMA_WINDOW_MANAGEMENT_WINDOW_WITH_UUID_SINCE_VERSION 13 |
| 317 |
|
| 318 |
|
| 319 |
|
| 320 |
|
| 321 |
#define ORG_KDE_PLASMA_WINDOW_MANAGEMENT_SHOW_DESKTOP_SINCE_VERSION 1 |
| 322 |
|
| 323 |
|
| 324 |
|
| 325 |
#define ORG_KDE_PLASMA_WINDOW_MANAGEMENT_GET_WINDOW_SINCE_VERSION 1 |
| 326 |
|
| 327 |
|
| 328 |
|
| 329 |
#define ORG_KDE_PLASMA_WINDOW_MANAGEMENT_GET_WINDOW_BY_UUID_SINCE_VERSION 12 |
| 330 |
|
| 331 |
|
| 332 |
static inline void |
| 333 |
org_kde_plasma_window_management_set_user_data(struct org_kde_plasma_window_management *org_kde_plasma_window_management, void *user_data) |
| 334 |
{ |
| 335 |
wl_proxy_set_user_data((struct wl_proxy *) org_kde_plasma_window_management, user_data); |
| 336 |
} |
| 337 |
|
| 338 |
|
| 339 |
static inline void * |
| 340 |
org_kde_plasma_window_management_get_user_data(struct org_kde_plasma_window_management *org_kde_plasma_window_management) |
| 341 |
{ |
| 342 |
return wl_proxy_get_user_data((struct wl_proxy *) org_kde_plasma_window_management); |
| 343 |
} |
| 344 |
|
| 345 |
static inline uint32_t |
| 346 |
org_kde_plasma_window_management_get_version(struct org_kde_plasma_window_management *org_kde_plasma_window_management) |
| 347 |
{ |
| 348 |
return wl_proxy_get_version((struct wl_proxy *) org_kde_plasma_window_management); |
| 349 |
} |
| 350 |
|
| 351 |
|
| 352 |
static inline void |
| 353 |
org_kde_plasma_window_management_destroy(struct org_kde_plasma_window_management *org_kde_plasma_window_management) |
| 354 |
{ |
| 355 |
wl_proxy_destroy((struct wl_proxy *) org_kde_plasma_window_management); |
| 356 |
} |
| 357 |
|
| 358 |
|
| 359 |
|
| 360 |
|
| 361 |
|
| 362 |
|
| 363 |
static inline void |
| 364 |
org_kde_plasma_window_management_show_desktop(struct org_kde_plasma_window_management *org_kde_plasma_window_management, uint32_t state) |
| 365 |
{ |
| 366 |
wl_proxy_marshal_flags((struct wl_proxy *) org_kde_plasma_window_management, |
| 367 |
ORG_KDE_PLASMA_WINDOW_MANAGEMENT_SHOW_DESKTOP, NULL, wl_proxy_get_version((struct wl_proxy *) org_kde_plasma_window_management), 0, state); |
| 368 |
} |
| 369 |
|
| 370 |
|
| 371 |
|
| 372 |
|
| 373 |
|
| 374 |
static inline struct org_kde_plasma_window * |
| 375 |
org_kde_plasma_window_management_get_window(struct org_kde_plasma_window_management *org_kde_plasma_window_management, uint32_t internal_window_id) |
| 376 |
{ |
| 377 |
struct wl_proxy *id; |
| 378 |
|
| 379 |
id = wl_proxy_marshal_flags((struct wl_proxy *) org_kde_plasma_window_management, |
| 380 |
ORG_KDE_PLASMA_WINDOW_MANAGEMENT_GET_WINDOW, &org_kde_plasma_window_interface, wl_proxy_get_version((struct wl_proxy *) org_kde_plasma_window_management), 0, NULL, internal_window_id); |
| 381 |
|
| 382 |
return (struct org_kde_plasma_window *) id; |
| 383 |
} |
| 384 |
|
| 385 |
|
| 386 |
|
| 387 |
|
| 388 |
static inline struct org_kde_plasma_window * |
| 389 |
org_kde_plasma_window_management_get_window_by_uuid(struct org_kde_plasma_window_management *org_kde_plasma_window_management, const char *internal_window_uuid) |
| 390 |
{ |
| 391 |
struct wl_proxy *id; |
| 392 |
|
| 393 |
id = wl_proxy_marshal_flags((struct wl_proxy *) org_kde_plasma_window_management, |
| 394 |
ORG_KDE_PLASMA_WINDOW_MANAGEMENT_GET_WINDOW_BY_UUID, &org_kde_plasma_window_interface, wl_proxy_get_version((struct wl_proxy *) org_kde_plasma_window_management), 0, NULL, internal_window_uuid); |
| 395 |
|
| 396 |
return (struct org_kde_plasma_window *) id; |
| 397 |
} |
| 398 |
|
| 399 |
|
| 400 |
|
| 401 |
|
| 402 |
|
| 403 |
struct org_kde_plasma_window_listener { |
| 404 |
|
| 405 |
|
| 406 |
|
| 407 |
|
| 408 |
|
| 409 |
|
| 410 |
|
| 411 |
void (*title_changed)(void *data, |
| 412 |
struct org_kde_plasma_window *org_kde_plasma_window, |
| 413 |
const char *title); |
| 414 |
|
| 415 |
|
| 416 |
|
| 417 |
|
| 418 |
|
| 419 |
|
| 420 |
void (*app_id_changed)(void *data, |
| 421 |
struct org_kde_plasma_window *org_kde_plasma_window, |
| 422 |
const char *app_id); |
| 423 |
|
| 424 |
|
| 425 |
|
| 426 |
|
| 427 |
|
| 428 |
|
| 429 |
|
| 430 |
|
| 431 |
|
| 432 |
void (*state_changed)(void *data, |
| 433 |
struct org_kde_plasma_window *org_kde_plasma_window, |
| 434 |
uint32_t flags); |
| 435 |
|
| 436 |
|
| 437 |
|
| 438 |
|
| 439 |
|
| 440 |
|
| 441 |
|
| 442 |
|
| 443 |
|
| 444 |
|
| 445 |
|
| 446 |
void (*virtual_desktop_changed)(void *data, |
| 447 |
struct org_kde_plasma_window *org_kde_plasma_window, |
| 448 |
int32_t number); |
| 449 |
|
| 450 |
|
| 451 |
|
| 452 |
|
| 453 |
|
| 454 |
|
| 455 |
|
| 456 |
void (*themed_icon_name_changed)(void *data, |
| 457 |
struct org_kde_plasma_window *org_kde_plasma_window, |
| 458 |
const char *name); |
| 459 |
|
| 460 |
|
| 461 |
|
| 462 |
|
| 463 |
|
| 464 |
|
| 465 |
void (*unmapped)(void *data, |
| 466 |
struct org_kde_plasma_window *org_kde_plasma_window); |
| 467 |
|
| 468 |
|
| 469 |
|
| 470 |
|
| 471 |
|
| 472 |
|
| 473 |
|
| 474 |
|
| 475 |
|
| 476 |
void (*initial_state)(void *data, |
| 477 |
struct org_kde_plasma_window *org_kde_plasma_window); |
| 478 |
|
| 479 |
|
| 480 |
|
| 481 |
|
| 482 |
|
| 483 |
|
| 484 |
|
| 485 |
|
| 486 |
|
| 487 |
|
| 488 |
|
| 489 |
void (*parent_window)(void *data, |
| 490 |
struct org_kde_plasma_window *org_kde_plasma_window, |
| 491 |
struct org_kde_plasma_window *parent); |
| 492 |
|
| 493 |
|
| 494 |
|
| 495 |
|
| 496 |
|
| 497 |
|
| 498 |
|
| 499 |
|
| 500 |
|
| 501 |
|
| 502 |
|
| 503 |
|
| 504 |
void (*geometry)(void *data, |
| 505 |
struct org_kde_plasma_window *org_kde_plasma_window, |
| 506 |
int32_t x, |
| 507 |
int32_t y, |
| 508 |
uint32_t width, |
| 509 |
uint32_t height); |
| 510 |
|
| 511 |
|
| 512 |
|
| 513 |
|
| 514 |
|
| 515 |
|
| 516 |
|
| 517 |
|
| 518 |
|
| 519 |
|
| 520 |
void (*icon_changed)(void *data, |
| 521 |
struct org_kde_plasma_window *org_kde_plasma_window); |
| 522 |
|
| 523 |
|
| 524 |
|
| 525 |
|
| 526 |
|
| 527 |
|
| 528 |
|
| 529 |
|
| 530 |
void (*pid_changed)(void *data, |
| 531 |
struct org_kde_plasma_window *org_kde_plasma_window, |
| 532 |
uint32_t pid); |
| 533 |
|
| 534 |
|
| 535 |
|
| 536 |
|
| 537 |
|
| 538 |
|
| 539 |
|
| 540 |
|
| 541 |
|
| 542 |
void (*virtual_desktop_entered)(void *data, |
| 543 |
struct org_kde_plasma_window *org_kde_plasma_window, |
| 544 |
const char *id); |
| 545 |
|
| 546 |
|
| 547 |
|
| 548 |
|
| 549 |
|
| 550 |
|
| 551 |
|
| 552 |
|
| 553 |
|
| 554 |
|
| 555 |
|
| 556 |
|
| 557 |
void (*virtual_desktop_left)(void *data, |
| 558 |
struct org_kde_plasma_window *org_kde_plasma_window, |
| 559 |
const char *is); |
| 560 |
|
| 561 |
|
| 562 |
|
| 563 |
|
| 564 |
|
| 565 |
|
| 566 |
|
| 567 |
void (*application_menu)(void *data, |
| 568 |
struct org_kde_plasma_window *org_kde_plasma_window, |
| 569 |
const char *service_name, |
| 570 |
const char *object_path); |
| 571 |
|
| 572 |
|
| 573 |
|
| 574 |
|
| 575 |
|
| 576 |
|
| 577 |
|
| 578 |
|
| 579 |
|
| 580 |
void (*activity_entered)(void *data, |
| 581 |
struct org_kde_plasma_window *org_kde_plasma_window, |
| 582 |
const char *id); |
| 583 |
|
| 584 |
|
| 585 |
|
| 586 |
|
| 587 |
|
| 588 |
|
| 589 |
|
| 590 |
|
| 591 |
|
| 592 |
|
| 593 |
|
| 594 |
void (*activity_left)(void *data, |
| 595 |
struct org_kde_plasma_window *org_kde_plasma_window, |
| 596 |
const char *id); |
| 597 |
}; |
| 598 |
|
| 599 |
|
| 600 |
|
| 601 |
|
| 602 |
static inline int |
| 603 |
org_kde_plasma_window_add_listener(struct org_kde_plasma_window *org_kde_plasma_window, |
| 604 |
const struct org_kde_plasma_window_listener *listener, void *data) |
| 605 |
{ |
| 606 |
return wl_proxy_add_listener((struct wl_proxy *) org_kde_plasma_window, |
| 607 |
(void (**)(void)) listener, data); |
| 608 |
} |
| 609 |
|
| 610 |
#define ORG_KDE_PLASMA_WINDOW_SET_STATE 0 |
| 611 |
#define ORG_KDE_PLASMA_WINDOW_SET_VIRTUAL_DESKTOP 1 |
| 612 |
#define ORG_KDE_PLASMA_WINDOW_SET_MINIMIZED_GEOMETRY 2 |
| 613 |
#define ORG_KDE_PLASMA_WINDOW_UNSET_MINIMIZED_GEOMETRY 3 |
| 614 |
#define ORG_KDE_PLASMA_WINDOW_CLOSE 4 |
| 615 |
#define ORG_KDE_PLASMA_WINDOW_REQUEST_MOVE 5 |
| 616 |
#define ORG_KDE_PLASMA_WINDOW_REQUEST_RESIZE 6 |
| 617 |
#define ORG_KDE_PLASMA_WINDOW_DESTROY 7 |
| 618 |
#define ORG_KDE_PLASMA_WINDOW_GET_ICON 8 |
| 619 |
#define ORG_KDE_PLASMA_WINDOW_REQUEST_ENTER_VIRTUAL_DESKTOP 9 |
| 620 |
#define ORG_KDE_PLASMA_WINDOW_REQUEST_ENTER_NEW_VIRTUAL_DESKTOP 10 |
| 621 |
#define ORG_KDE_PLASMA_WINDOW_REQUEST_LEAVE_VIRTUAL_DESKTOP 11 |
| 622 |
#define ORG_KDE_PLASMA_WINDOW_REQUEST_ENTER_ACTIVITY 12 |
| 623 |
#define ORG_KDE_PLASMA_WINDOW_REQUEST_LEAVE_ACTIVITY 13 |
| 624 |
#define ORG_KDE_PLASMA_WINDOW_SEND_TO_OUTPUT 14 |
| 625 |
|
| 626 |
|
| 627 |
|
| 628 |
|
| 629 |
#define ORG_KDE_PLASMA_WINDOW_TITLE_CHANGED_SINCE_VERSION 1 |
| 630 |
|
| 631 |
|
| 632 |
|
| 633 |
#define ORG_KDE_PLASMA_WINDOW_APP_ID_CHANGED_SINCE_VERSION 1 |
| 634 |
|
| 635 |
|
| 636 |
|
| 637 |
#define ORG_KDE_PLASMA_WINDOW_STATE_CHANGED_SINCE_VERSION 1 |
| 638 |
|
| 639 |
|
| 640 |
|
| 641 |
#define ORG_KDE_PLASMA_WINDOW_VIRTUAL_DESKTOP_CHANGED_SINCE_VERSION 1 |
| 642 |
|
| 643 |
|
| 644 |
|
| 645 |
#define ORG_KDE_PLASMA_WINDOW_THEMED_ICON_NAME_CHANGED_SINCE_VERSION 1 |
| 646 |
|
| 647 |
|
| 648 |
|
| 649 |
#define ORG_KDE_PLASMA_WINDOW_UNMAPPED_SINCE_VERSION 1 |
| 650 |
|
| 651 |
|
| 652 |
|
| 653 |
#define ORG_KDE_PLASMA_WINDOW_INITIAL_STATE_SINCE_VERSION 4 |
| 654 |
|
| 655 |
|
| 656 |
|
| 657 |
#define ORG_KDE_PLASMA_WINDOW_PARENT_WINDOW_SINCE_VERSION 5 |
| 658 |
|
| 659 |
|
| 660 |
|
| 661 |
#define ORG_KDE_PLASMA_WINDOW_GEOMETRY_SINCE_VERSION 6 |
| 662 |
|
| 663 |
|
| 664 |
|
| 665 |
#define ORG_KDE_PLASMA_WINDOW_ICON_CHANGED_SINCE_VERSION 7 |
| 666 |
|
| 667 |
|
| 668 |
|
| 669 |
#define ORG_KDE_PLASMA_WINDOW_PID_CHANGED_SINCE_VERSION 1 |
| 670 |
|
| 671 |
|
| 672 |
|
| 673 |
#define ORG_KDE_PLASMA_WINDOW_VIRTUAL_DESKTOP_ENTERED_SINCE_VERSION 8 |
| 674 |
|
| 675 |
|
| 676 |
|
| 677 |
#define ORG_KDE_PLASMA_WINDOW_VIRTUAL_DESKTOP_LEFT_SINCE_VERSION 8 |
| 678 |
|
| 679 |
|
| 680 |
|
| 681 |
#define ORG_KDE_PLASMA_WINDOW_APPLICATION_MENU_SINCE_VERSION 10 |
| 682 |
|
| 683 |
|
| 684 |
|
| 685 |
#define ORG_KDE_PLASMA_WINDOW_ACTIVITY_ENTERED_SINCE_VERSION 14 |
| 686 |
|
| 687 |
|
| 688 |
|
| 689 |
#define ORG_KDE_PLASMA_WINDOW_ACTIVITY_LEFT_SINCE_VERSION 14 |
| 690 |
|
| 691 |
|
| 692 |
|
| 693 |
|
| 694 |
#define ORG_KDE_PLASMA_WINDOW_SET_STATE_SINCE_VERSION 1 |
| 695 |
|
| 696 |
|
| 697 |
|
| 698 |
#define ORG_KDE_PLASMA_WINDOW_SET_VIRTUAL_DESKTOP_SINCE_VERSION 1 |
| 699 |
|
| 700 |
|
| 701 |
|
| 702 |
#define ORG_KDE_PLASMA_WINDOW_SET_MINIMIZED_GEOMETRY_SINCE_VERSION 1 |
| 703 |
|
| 704 |
|
| 705 |
|
| 706 |
#define ORG_KDE_PLASMA_WINDOW_UNSET_MINIMIZED_GEOMETRY_SINCE_VERSION 1 |
| 707 |
|
| 708 |
|
| 709 |
|
| 710 |
#define ORG_KDE_PLASMA_WINDOW_CLOSE_SINCE_VERSION 1 |
| 711 |
|
| 712 |
|
| 713 |
|
| 714 |
#define ORG_KDE_PLASMA_WINDOW_REQUEST_MOVE_SINCE_VERSION 3 |
| 715 |
|
| 716 |
|
| 717 |
|
| 718 |
#define ORG_KDE_PLASMA_WINDOW_REQUEST_RESIZE_SINCE_VERSION 3 |
| 719 |
|
| 720 |
|
| 721 |
|
| 722 |
#define ORG_KDE_PLASMA_WINDOW_DESTROY_SINCE_VERSION 4 |
| 723 |
|
| 724 |
|
| 725 |
|
| 726 |
#define ORG_KDE_PLASMA_WINDOW_GET_ICON_SINCE_VERSION 7 |
| 727 |
|
| 728 |
|
| 729 |
|
| 730 |
#define ORG_KDE_PLASMA_WINDOW_REQUEST_ENTER_VIRTUAL_DESKTOP_SINCE_VERSION 8 |
| 731 |
|
| 732 |
|
| 733 |
|
| 734 |
#define ORG_KDE_PLASMA_WINDOW_REQUEST_ENTER_NEW_VIRTUAL_DESKTOP_SINCE_VERSION 8 |
| 735 |
|
| 736 |
|
| 737 |
|
| 738 |
#define ORG_KDE_PLASMA_WINDOW_REQUEST_LEAVE_VIRTUAL_DESKTOP_SINCE_VERSION 8 |
| 739 |
|
| 740 |
|
| 741 |
|
| 742 |
#define ORG_KDE_PLASMA_WINDOW_REQUEST_ENTER_ACTIVITY_SINCE_VERSION 14 |
| 743 |
|
| 744 |
|
| 745 |
|
| 746 |
#define ORG_KDE_PLASMA_WINDOW_REQUEST_LEAVE_ACTIVITY_SINCE_VERSION 14 |
| 747 |
|
| 748 |
|
| 749 |
|
| 750 |
#define ORG_KDE_PLASMA_WINDOW_SEND_TO_OUTPUT_SINCE_VERSION 15 |
| 751 |
|
| 752 |
|
| 753 |
static inline void |
| 754 |
org_kde_plasma_window_set_user_data(struct org_kde_plasma_window *org_kde_plasma_window, void *user_data) |
| 755 |
{ |
| 756 |
wl_proxy_set_user_data((struct wl_proxy *) org_kde_plasma_window, user_data); |
| 757 |
} |
| 758 |
|
| 759 |
|
| 760 |
static inline void * |
| 761 |
org_kde_plasma_window_get_user_data(struct org_kde_plasma_window *org_kde_plasma_window) |
| 762 |
{ |
| 763 |
return wl_proxy_get_user_data((struct wl_proxy *) org_kde_plasma_window); |
| 764 |
} |
| 765 |
|
| 766 |
static inline uint32_t |
| 767 |
org_kde_plasma_window_get_version(struct org_kde_plasma_window *org_kde_plasma_window) |
| 768 |
{ |
| 769 |
return wl_proxy_get_version((struct wl_proxy *) org_kde_plasma_window); |
| 770 |
} |
| 771 |
|
| 772 |
|
| 773 |
|
| 774 |
|
| 775 |
|
| 776 |
|
| 777 |
|
| 778 |
|
| 779 |
|
| 780 |
|
| 781 |
static inline void |
| 782 |
org_kde_plasma_window_set_state(struct org_kde_plasma_window *org_kde_plasma_window, uint32_t flags, uint32_t state) |
| 783 |
{ |
| 784 |
wl_proxy_marshal_flags((struct wl_proxy *) org_kde_plasma_window, |
| 785 |
ORG_KDE_PLASMA_WINDOW_SET_STATE, NULL, wl_proxy_get_version((struct wl_proxy *) org_kde_plasma_window), 0, flags, state); |
| 786 |
} |
| 787 |
|
| 788 |
|
| 789 |
|
| 790 |
|
| 791 |
|
| 792 |
|
| 793 |
|
| 794 |
|
| 795 |
|
| 796 |
|
| 797 |
|
| 798 |
static inline void |
| 799 |
org_kde_plasma_window_set_virtual_desktop(struct org_kde_plasma_window *org_kde_plasma_window, uint32_t number) |
| 800 |
{ |
| 801 |
wl_proxy_marshal_flags((struct wl_proxy *) org_kde_plasma_window, |
| 802 |
ORG_KDE_PLASMA_WINDOW_SET_VIRTUAL_DESKTOP, NULL, wl_proxy_get_version((struct wl_proxy *) org_kde_plasma_window), 0, number); |
| 803 |
} |
| 804 |
|
| 805 |
|
| 806 |
|
| 807 |
|
| 808 |
|
| 809 |
|
| 810 |
|
| 811 |
static inline void |
| 812 |
org_kde_plasma_window_set_minimized_geometry(struct org_kde_plasma_window *org_kde_plasma_window, struct wl_surface *panel, uint32_t x, uint32_t y, uint32_t width, uint32_t height) |
| 813 |
{ |
| 814 |
wl_proxy_marshal_flags((struct wl_proxy *) org_kde_plasma_window, |
| 815 |
ORG_KDE_PLASMA_WINDOW_SET_MINIMIZED_GEOMETRY, NULL, wl_proxy_get_version((struct wl_proxy *) org_kde_plasma_window), 0, panel, x, y, width, height); |
| 816 |
} |
| 817 |
|
| 818 |
|
| 819 |
|
| 820 |
|
| 821 |
|
| 822 |
|
| 823 |
static inline void |
| 824 |
org_kde_plasma_window_unset_minimized_geometry(struct org_kde_plasma_window *org_kde_plasma_window, struct wl_surface *panel) |
| 825 |
{ |
| 826 |
wl_proxy_marshal_flags((struct wl_proxy *) org_kde_plasma_window, |
| 827 |
ORG_KDE_PLASMA_WINDOW_UNSET_MINIMIZED_GEOMETRY, NULL, wl_proxy_get_version((struct wl_proxy *) org_kde_plasma_window), 0, panel); |
| 828 |
} |
| 829 |
|
| 830 |
|
| 831 |
|
| 832 |
|
| 833 |
|
| 834 |
|
| 835 |
static inline void |
| 836 |
org_kde_plasma_window_close(struct org_kde_plasma_window *org_kde_plasma_window) |
| 837 |
{ |
| 838 |
wl_proxy_marshal_flags((struct wl_proxy *) org_kde_plasma_window, |
| 839 |
ORG_KDE_PLASMA_WINDOW_CLOSE, NULL, wl_proxy_get_version((struct wl_proxy *) org_kde_plasma_window), 0); |
| 840 |
} |
| 841 |
|
| 842 |
|
| 843 |
|
| 844 |
|
| 845 |
|
| 846 |
|
| 847 |
static inline void |
| 848 |
org_kde_plasma_window_request_move(struct org_kde_plasma_window *org_kde_plasma_window) |
| 849 |
{ |
| 850 |
wl_proxy_marshal_flags((struct wl_proxy *) org_kde_plasma_window, |
| 851 |
ORG_KDE_PLASMA_WINDOW_REQUEST_MOVE, NULL, wl_proxy_get_version((struct wl_proxy *) org_kde_plasma_window), 0); |
| 852 |
} |
| 853 |
|
| 854 |
|
| 855 |
|
| 856 |
|
| 857 |
|
| 858 |
|
| 859 |
static inline void |
| 860 |
org_kde_plasma_window_request_resize(struct org_kde_plasma_window *org_kde_plasma_window) |
| 861 |
{ |
| 862 |
wl_proxy_marshal_flags((struct wl_proxy *) org_kde_plasma_window, |
| 863 |
ORG_KDE_PLASMA_WINDOW_REQUEST_RESIZE, NULL, wl_proxy_get_version((struct wl_proxy *) org_kde_plasma_window), 0); |
| 864 |
} |
| 865 |
|
| 866 |
|
| 867 |
|
| 868 |
|
| 869 |
|
| 870 |
|
| 871 |
static inline void |
| 872 |
org_kde_plasma_window_destroy(struct org_kde_plasma_window *org_kde_plasma_window) |
| 873 |
{ |
| 874 |
wl_proxy_marshal_flags((struct wl_proxy *) org_kde_plasma_window, |
| 875 |
ORG_KDE_PLASMA_WINDOW_DESTROY, NULL, wl_proxy_get_version((struct wl_proxy *) org_kde_plasma_window), WL_MARSHAL_FLAG_DESTROY); |
| 876 |
} |
| 877 |
|
| 878 |
|
| 879 |
|
| 880 |
|
| 881 |
|
| 882 |
|
| 883 |
|
| 884 |
static inline void |
| 885 |
org_kde_plasma_window_get_icon(struct org_kde_plasma_window *org_kde_plasma_window, int32_t fd) |
| 886 |
{ |
| 887 |
wl_proxy_marshal_flags((struct wl_proxy *) org_kde_plasma_window, |
| 888 |
ORG_KDE_PLASMA_WINDOW_GET_ICON, NULL, wl_proxy_get_version((struct wl_proxy *) org_kde_plasma_window), 0, fd); |
| 889 |
} |
| 890 |
|
| 891 |
|
| 892 |
|
| 893 |
|
| 894 |
|
| 895 |
|
| 896 |
|
| 897 |
static inline void |
| 898 |
org_kde_plasma_window_request_enter_virtual_desktop(struct org_kde_plasma_window *org_kde_plasma_window, const char *id) |
| 899 |
{ |
| 900 |
wl_proxy_marshal_flags((struct wl_proxy *) org_kde_plasma_window, |
| 901 |
ORG_KDE_PLASMA_WINDOW_REQUEST_ENTER_VIRTUAL_DESKTOP, NULL, wl_proxy_get_version((struct wl_proxy *) org_kde_plasma_window), 0, id); |
| 902 |
} |
| 903 |
|
| 904 |
|
| 905 |
|
| 906 |
|
| 907 |
|
| 908 |
|
| 909 |
|
| 910 |
static inline void |
| 911 |
org_kde_plasma_window_request_enter_new_virtual_desktop(struct org_kde_plasma_window *org_kde_plasma_window) |
| 912 |
{ |
| 913 |
wl_proxy_marshal_flags((struct wl_proxy *) org_kde_plasma_window, |
| 914 |
ORG_KDE_PLASMA_WINDOW_REQUEST_ENTER_NEW_VIRTUAL_DESKTOP, NULL, wl_proxy_get_version((struct wl_proxy *) org_kde_plasma_window), 0); |
| 915 |
} |
| 916 |
|
| 917 |
|
| 918 |
|
| 919 |
|
| 920 |
|
| 921 |
|
| 922 |
static inline void |
| 923 |
org_kde_plasma_window_request_leave_virtual_desktop(struct org_kde_plasma_window *org_kde_plasma_window, const char *id) |
| 924 |
{ |
| 925 |
wl_proxy_marshal_flags((struct wl_proxy *) org_kde_plasma_window, |
| 926 |
ORG_KDE_PLASMA_WINDOW_REQUEST_LEAVE_VIRTUAL_DESKTOP, NULL, wl_proxy_get_version((struct wl_proxy *) org_kde_plasma_window), 0, id); |
| 927 |
} |
| 928 |
|
| 929 |
|
| 930 |
|
| 931 |
|
| 932 |
|
| 933 |
|
| 934 |
static inline void |
| 935 |
org_kde_plasma_window_request_enter_activity(struct org_kde_plasma_window *org_kde_plasma_window, const char *id) |
| 936 |
{ |
| 937 |
wl_proxy_marshal_flags((struct wl_proxy *) org_kde_plasma_window, |
| 938 |
ORG_KDE_PLASMA_WINDOW_REQUEST_ENTER_ACTIVITY, NULL, wl_proxy_get_version((struct wl_proxy *) org_kde_plasma_window), 0, id); |
| 939 |
} |
| 940 |
|
| 941 |
|
| 942 |
|
| 943 |
|
| 944 |
|
| 945 |
|
| 946 |
static inline void |
| 947 |
org_kde_plasma_window_request_leave_activity(struct org_kde_plasma_window *org_kde_plasma_window, const char *id) |
| 948 |
{ |
| 949 |
wl_proxy_marshal_flags((struct wl_proxy *) org_kde_plasma_window, |
| 950 |
ORG_KDE_PLASMA_WINDOW_REQUEST_LEAVE_ACTIVITY, NULL, wl_proxy_get_version((struct wl_proxy *) org_kde_plasma_window), 0, id); |
| 951 |
} |
| 952 |
|
| 953 |
|
| 954 |
|
| 955 |
|
| 956 |
|
| 957 |
|
| 958 |
static inline void |
| 959 |
org_kde_plasma_window_send_to_output(struct org_kde_plasma_window *org_kde_plasma_window, struct wl_output *output) |
| 960 |
{ |
| 961 |
wl_proxy_marshal_flags((struct wl_proxy *) org_kde_plasma_window, |
| 962 |
ORG_KDE_PLASMA_WINDOW_SEND_TO_OUTPUT, NULL, wl_proxy_get_version((struct wl_proxy *) org_kde_plasma_window), 0, output); |
| 963 |
} |
| 964 |
|
| 965 |
|
| 966 |
|
| 967 |
|
| 968 |
|
| 969 |
struct org_kde_plasma_activation_feedback_listener { |
| 970 |
|
| 971 |
|
| 972 |
|
| 973 |
|
| 974 |
|
| 975 |
|
| 976 |
|
| 977 |
void (*activation)(void *data, |
| 978 |
struct org_kde_plasma_activation_feedback *org_kde_plasma_activation_feedback, |
| 979 |
struct org_kde_plasma_activation *id); |
| 980 |
}; |
| 981 |
|
| 982 |
|
| 983 |
|
| 984 |
|
| 985 |
static inline int |
| 986 |
org_kde_plasma_activation_feedback_add_listener(struct org_kde_plasma_activation_feedback *org_kde_plasma_activation_feedback, |
| 987 |
const struct org_kde_plasma_activation_feedback_listener *listener, void *data) |
| 988 |
{ |
| 989 |
return wl_proxy_add_listener((struct wl_proxy *) org_kde_plasma_activation_feedback, |
| 990 |
(void (**)(void)) listener, data); |
| 991 |
} |
| 992 |
|
| 993 |
#define ORG_KDE_PLASMA_ACTIVATION_FEEDBACK_DESTROY 0 |
| 994 |
|
| 995 |
|
| 996 |
|
| 997 |
|
| 998 |
#define ORG_KDE_PLASMA_ACTIVATION_FEEDBACK_ACTIVATION_SINCE_VERSION 1 |
| 999 |
|
| 1000 |
|
| 1001 |
|
| 1002 |
|
| 1003 |
#define ORG_KDE_PLASMA_ACTIVATION_FEEDBACK_DESTROY_SINCE_VERSION 1 |
| 1004 |
|
| 1005 |
|
| 1006 |
static inline void |
| 1007 |
org_kde_plasma_activation_feedback_set_user_data(struct org_kde_plasma_activation_feedback *org_kde_plasma_activation_feedback, void *user_data) |
| 1008 |
{ |
| 1009 |
wl_proxy_set_user_data((struct wl_proxy *) org_kde_plasma_activation_feedback, user_data); |
| 1010 |
} |
| 1011 |
|
| 1012 |
|
| 1013 |
static inline void * |
| 1014 |
org_kde_plasma_activation_feedback_get_user_data(struct org_kde_plasma_activation_feedback *org_kde_plasma_activation_feedback) |
| 1015 |
{ |
| 1016 |
return wl_proxy_get_user_data((struct wl_proxy *) org_kde_plasma_activation_feedback); |
| 1017 |
} |
| 1018 |
|
| 1019 |
static inline uint32_t |
| 1020 |
org_kde_plasma_activation_feedback_get_version(struct org_kde_plasma_activation_feedback *org_kde_plasma_activation_feedback) |
| 1021 |
{ |
| 1022 |
return wl_proxy_get_version((struct wl_proxy *) org_kde_plasma_activation_feedback); |
| 1023 |
} |
| 1024 |
|
| 1025 |
|
| 1026 |
|
| 1027 |
|
| 1028 |
|
| 1029 |
|
| 1030 |
|
| 1031 |
static inline void |
| 1032 |
org_kde_plasma_activation_feedback_destroy(struct org_kde_plasma_activation_feedback *org_kde_plasma_activation_feedback) |
| 1033 |
{ |
| 1034 |
wl_proxy_marshal_flags((struct wl_proxy *) org_kde_plasma_activation_feedback, |
| 1035 |
ORG_KDE_PLASMA_ACTIVATION_FEEDBACK_DESTROY, NULL, wl_proxy_get_version((struct wl_proxy *) org_kde_plasma_activation_feedback), WL_MARSHAL_FLAG_DESTROY); |
| 1036 |
} |
| 1037 |
|
| 1038 |
|
| 1039 |
|
| 1040 |
|
| 1041 |
|
| 1042 |
struct org_kde_plasma_activation_listener { |
| 1043 |
|
| 1044 |
|
| 1045 |
|
| 1046 |
|
| 1047 |
|
| 1048 |
|
| 1049 |
void (*app_id)(void *data, |
| 1050 |
struct org_kde_plasma_activation *org_kde_plasma_activation, |
| 1051 |
const char *app_id); |
| 1052 |
|
| 1053 |
|
| 1054 |
|
| 1055 |
|
| 1056 |
|
| 1057 |
void (*finished)(void *data, |
| 1058 |
struct org_kde_plasma_activation *org_kde_plasma_activation); |
| 1059 |
}; |
| 1060 |
|
| 1061 |
|
| 1062 |
|
| 1063 |
|
| 1064 |
static inline int |
| 1065 |
org_kde_plasma_activation_add_listener(struct org_kde_plasma_activation *org_kde_plasma_activation, |
| 1066 |
const struct org_kde_plasma_activation_listener *listener, void *data) |
| 1067 |
{ |
| 1068 |
return wl_proxy_add_listener((struct wl_proxy *) org_kde_plasma_activation, |
| 1069 |
(void (**)(void)) listener, data); |
| 1070 |
} |
| 1071 |
|
| 1072 |
#define ORG_KDE_PLASMA_ACTIVATION_DESTROY 0 |
| 1073 |
|
| 1074 |
|
| 1075 |
|
| 1076 |
|
| 1077 |
#define ORG_KDE_PLASMA_ACTIVATION_APP_ID_SINCE_VERSION 1 |
| 1078 |
|
| 1079 |
|
| 1080 |
|
| 1081 |
#define ORG_KDE_PLASMA_ACTIVATION_FINISHED_SINCE_VERSION 1 |
| 1082 |
|
| 1083 |
|
| 1084 |
|
| 1085 |
|
| 1086 |
#define ORG_KDE_PLASMA_ACTIVATION_DESTROY_SINCE_VERSION 1 |
| 1087 |
|
| 1088 |
|
| 1089 |
static inline void |
| 1090 |
org_kde_plasma_activation_set_user_data(struct org_kde_plasma_activation *org_kde_plasma_activation, void *user_data) |
| 1091 |
{ |
| 1092 |
wl_proxy_set_user_data((struct wl_proxy *) org_kde_plasma_activation, user_data); |
| 1093 |
} |
| 1094 |
|
| 1095 |
|
| 1096 |
static inline void * |
| 1097 |
org_kde_plasma_activation_get_user_data(struct org_kde_plasma_activation *org_kde_plasma_activation) |
| 1098 |
{ |
| 1099 |
return wl_proxy_get_user_data((struct wl_proxy *) org_kde_plasma_activation); |
| 1100 |
} |
| 1101 |
|
| 1102 |
static inline uint32_t |
| 1103 |
org_kde_plasma_activation_get_version(struct org_kde_plasma_activation *org_kde_plasma_activation) |
| 1104 |
{ |
| 1105 |
return wl_proxy_get_version((struct wl_proxy *) org_kde_plasma_activation); |
| 1106 |
} |
| 1107 |
|
| 1108 |
|
| 1109 |
|
| 1110 |
|
| 1111 |
|
| 1112 |
|
| 1113 |
|
| 1114 |
static inline void |
| 1115 |
org_kde_plasma_activation_destroy(struct org_kde_plasma_activation *org_kde_plasma_activation) |
| 1116 |
{ |
| 1117 |
wl_proxy_marshal_flags((struct wl_proxy *) org_kde_plasma_activation, |
| 1118 |
ORG_KDE_PLASMA_ACTIVATION_DESTROY, NULL, wl_proxy_get_version((struct wl_proxy *) org_kde_plasma_activation), WL_MARSHAL_FLAG_DESTROY); |
| 1119 |
} |
| 1120 |
|
| 1121 |
#ifdef __cplusplus |
| 1122 |
} |
| 1123 |
#endif |
| 1124 |
|
| 1125 |
#endif |