Revert "Revert "Revert "[4.0] Exposing Exif Image metadata"""
[platform/core/uifw/dali-adaptor.git] / adaptors / devel-api / adaptor-framework / clipboard.h
index 9b5a54a..5d84c8f 100644 (file)
@@ -2,7 +2,7 @@
 #define  __DALI_CLIPBOARD_H__
 
 /*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2016 Samsung Electronics Co., Ltd.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -82,12 +82,12 @@ public:
   bool SetItem( const std::string& itemData );
 
   /**
-   * @brief Retreive the string at the given index in the clipboard.
+   * @brief Request clipboard service to retrieve an item
    *
-   * @param[in] index item in clipboard list to retrieve
-   * @return string the text item at the current index.
+   * Calling this method will trigger a signal from the clipboard event notifier.
+   * @see Dali::ClipboardEventNotifier::ContentSelectedSignal()
    */
-  std::string GetItem( unsigned int index );
+  void RequestItem();
 
   /**
    * @brief Returns the number of item currently in the clipboard.
@@ -106,6 +106,12 @@ public:
    */
   void HideClipboard();
 
+  /**
+  * @brief Retrieves the clipboard's visibility
+  * @return bool true if the clipboard is visible.
+  */
+  bool IsVisible() const;
+
 };
 } // namespace Dali