X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=automated-tests%2Fsrc%2Fdali-toolkit%2Fdali-toolkit-test-utils%2Ftoolkit-clipboard.h;h=aa13ef0ee09034ec4c406b86feebd36df6792284;hb=59314022f6789147a47a8b098433e211b6185625;hp=a67c0daa27cdbfbb7c61a6ccd269d5ec4d63a826;hpb=3700d9645689fb2053be081e37e69fa329378f2f;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/automated-tests/src/dali-toolkit/dali-toolkit-test-utils/toolkit-clipboard.h b/automated-tests/src/dali-toolkit/dali-toolkit-test-utils/toolkit-clipboard.h index a67c0da..aa13ef0 100644 --- a/automated-tests/src/dali-toolkit/dali-toolkit-test-utils/toolkit-clipboard.h +++ b/automated-tests/src/dali-toolkit/dali-toolkit-test-utils/toolkit-clipboard.h @@ -2,7 +2,7 @@ #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. @@ -74,11 +74,9 @@ public: 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 @@ -96,6 +94,12 @@ public: */ void HideClipboard(); + /** + * @brief Retrieves the clipboard's visibility + * @return bool true if the clipboard is visible. + */ + bool IsVisible() const; + }; } // namespace Dali