summaryrefslogtreecommitdiff
path: root/src/lib/ecore_cocoa
diff options
context:
space:
mode:
authorJean Guyomarc'h <jean@guyomarch.bzh>2016-06-25 12:13:59 +0200
committerJean Guyomarc'h <jean@guyomarch.bzh>2016-06-25 20:45:06 +0200
commit078882715800f34d42f21a4de8bb45fc09c0e041 (patch)
treefb4545e038d77921e70c77d4c17805ad11b8a75a /src/lib/ecore_cocoa
parent4de2f4a39227e7fa7d48b41794a6e8ea488f935f (diff)
ecore_cocoa: mark clipboard API as BETA
Also, Since the API is beta, don't make is available to Doxygen.
Diffstat (limited to 'src/lib/ecore_cocoa')
-rw-r--r--src/lib/ecore_cocoa/Ecore_Cocoa.h49
1 files changed, 30 insertions, 19 deletions
diff --git a/src/lib/ecore_cocoa/Ecore_Cocoa.h b/src/lib/ecore_cocoa/Ecore_Cocoa.h
index 7f7ca6d9d8..a9d8527ac1 100644
--- a/src/lib/ecore_cocoa/Ecore_Cocoa.h
+++ b/src/lib/ecore_cocoa/Ecore_Cocoa.h
@@ -465,7 +465,34 @@ EAPI Ecore_Cocoa_Object *ecore_cocoa_window_get(const Ecore_Cocoa_Window *window
465 EINA_ARG_NONNULL(1) 465 EINA_ARG_NONNULL(1)
466 EINA_WARN_UNUSED_RESULT; 466 EINA_WARN_UNUSED_RESULT;
467 467
468
469/**
470 * Set the Cocoa cursor for a given Cocoa window
471 * @param win The Cocoa window on which the cursor is to be changed.
472 * @param c The cursor to be set
473 */
474EAPI void ecore_cocoa_window_cursor_set(Ecore_Cocoa_Window *win,
475 Ecore_Cocoa_Cursor c)
476 EINA_ARG_NONNULL(1);
477
468/** 478/**
479 * Hide or show the Cocoa cursor for a given Cocoa window
480 * @param win The Cocoa window on which the cursor is to be hid
481 * @param show Shows the cursor if EINA_TRUE. Hides it if EINA_FALSE
482 *
483 */
484EAPI void ecore_cocoa_window_cursor_show(Ecore_Cocoa_Window *win, Eina_Bool show);
485 EINA_ARG_NONNULL(1);
486
487
488
489/*
490 * The clipboard API is still BETA
491 */
492
493#ifdef EFL_BETA_API_SUPPORT
494
495/*
469 * Set the clipboard of Cocoa (NSPasteboard) 496 * Set the clipboard of Cocoa (NSPasteboard)
470 * @param data The contents to be set in the clipboard 497 * @param data The contents to be set in the clipboard
471 * @param size The size in bytes of @c data 498 * @param size The size in bytes of @c data
@@ -476,7 +503,7 @@ EAPI Eina_Bool ecore_cocoa_clipboard_set(const void *data,
476 int size, 503 int size,
477 Ecore_Cocoa_Cnp_Type type); 504 Ecore_Cocoa_Cnp_Type type);
478 505
479/** 506/*
480 * Get the contents of the Cocoa clipboard 507 * Get the contents of the Cocoa clipboard
481 * @param size Pointer used to retrieve the size of the received contents 508 * @param size Pointer used to retrieve the size of the received contents
482 * @param type The type of object to retrieve from the clipboard 509 * @param type The type of object to retrieve from the clipboard
@@ -492,28 +519,12 @@ EAPI void *ecore_cocoa_clipboard_get(int *size,
492 Ecore_Cocoa_Cnp_Type *retrieved_types) 519 Ecore_Cocoa_Cnp_Type *retrieved_types)
493 EINA_WARN_UNUSED_RESULT; 520 EINA_WARN_UNUSED_RESULT;
494 521
495/** 522/*
496 * Deletes the contents of the Cocoa clipboard 523 * Deletes the contents of the Cocoa clipboard
497 */ 524 */
498EAPI void ecore_cocoa_clipboard_clear(void); 525EAPI void ecore_cocoa_clipboard_clear(void);
499 526
500/** 527#endif /* EFL_BETA_API_SUPPORT */
501 * Set the Cocoa cursor for a given Cocoa window
502 * @param win The Cocoa window on which the cursor is to be changed.
503 * @param c The cursor to be set
504 */
505EAPI void ecore_cocoa_window_cursor_set(Ecore_Cocoa_Window *win,
506 Ecore_Cocoa_Cursor c)
507 EINA_ARG_NONNULL(1);
508
509/**
510 * Hide or show the Cocoa cursor for a given Cocoa window
511 * @param win The Cocoa window on which the cursor is to be hid
512 * @param show Shows the cursor if EINA_TRUE. Hides it if EINA_FALSE
513 *
514 */
515EAPI void ecore_cocoa_window_cursor_show(Ecore_Cocoa_Window *win, Eina_Bool show);
516 EINA_ARG_NONNULL(1);
517 528
518#ifdef __cplusplus 529#ifdef __cplusplus
519} 530}