/// @brief Data receive completed signal.
typedef Signal<void(uint32_t, const char*, const char*)> DataReceivedSignalType;
+ /// @brief To catch data selection event.
+ typedef Signal<void(const char*)> DataSelectedSignalType;
+
/**
* @brief Create an uninitialized Clipboard.
* this can be initialized with one of the derived Clipboard's New() methods
DataReceivedSignalType& DataReceivedSignal();
/**
+ * @brief This signal is emitted when the data seleted.
+ */
+ 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.