X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=automated-tests%2Fsrc%2Fdali-toolkit%2Fdali-toolkit-test-utils%2Ftoolkit-clipboard.h;h=ad532cd870407888e69951d934e0f9f4c88271db;hp=3cb121b1326519da3a770ce35a448d0c80abe2aa;hb=01777a3489f027123010b281e58efbc9f0a93db7;hpb=d5e3ed5f5b1c8fdba3ae97ead8729620f54b3836 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 3cb121b..ad532cd 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 @@ -1,8 +1,8 @@ -#ifndef __TOOLKIT_CLIPBOARD_H__ -#define __TOOLKIT_CLIPBOARD_H__ +#ifndef TOOLKIT_CLIPBOARD_H +#define TOOLKIT_CLIPBOARD_H /* - * Copyright (c) 2014 Samsung Electronics Co., Ltd. + * Copyright (c) 2019 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. @@ -18,7 +18,7 @@ * */ -#define __DALI_CLIPBOARD_H__ +#define DALI_CLIPBOARD_H // EXTERNAL INCLUDES #include @@ -50,9 +50,9 @@ public: Clipboard(); /** - * Virtual destructor. + * Non virtual destructor. */ - virtual ~Clipboard(); + ~Clipboard(); /** * This constructor is used by Adaptor::GetClipboard(). @@ -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,7 +94,13 @@ public: */ void HideClipboard(); + /** + * @brief Retrieves the clipboard's visibility + * @return bool true if the clipboard is visible. + */ + bool IsVisible() const; + }; } // namespace Dali -#endif // __TOOLKIT_CLIPBOARD_H__ +#endif // TOOLKIT_CLIPBOARD_H