#define __TOOLKIT_CLIPBOARD_H__
/*
- * Copyright (c) 2014 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2018 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.
Clipboard();
/**
- * Virtual destructor.
+ * Non virtual destructor.
*/
- virtual ~Clipboard();
+ ~Clipboard();
/**
* This constructor is used by Adaptor::GetClipboard().
bool SetItem( const std::string& itemData );
/**
- * Retreive the string at the given index in the clip board.
- * @param[in] index item in clipboard list to retrieve
- * @return string the text item at the current index.
+ * Request clipboard service to retrieve an item
*/
- std::string GetItem( unsigned int index );
+ void RequestItem();
/**
* Returns the number of item currently in the clipboard
*/
void HideClipboard();
+ /**
+ * @brief Retrieves the clipboard's visibility
+ * @return bool true if the clipboard is visible.
+ */
+ bool IsVisible() const;
+
};
} // namespace Dali