Add HasType to Clipboard
[platform/core/uifw/dali-adaptor.git] / dali / devel-api / adaptor-framework / clipboard.h
index 3096b2d..707b936 100644 (file)
@@ -139,6 +139,13 @@ public:
   DataSelectedSignalType& DataSelectedSignal();
 
   /**
+   * @brief Check if there is data in the clipboard with a given mime type.
+   * @param[in] mimeType mime type to search for.
+   * @return bool true if there is data, otherwise false.
+   */
+  bool HasType(const std::string& mimeType);
+
+  /**
    * @brief Send the given data to the clipboard.
    * @param[in] clipData data to send to the clipboard
    * @return bool true if the internal clipboard sending was successful.