projects
/
platform
/
core
/
uifw
/
dali-toolkit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove unnecessray Clipboard creation in text controller
[platform/core/uifw/dali-toolkit.git]
/
automated-tests
/
src
/
dali-toolkit
/
dali-toolkit-test-utils
/
toolkit-clipboard.h
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
0f9cb42
..
d3d684d
100644
(file)
--- 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) 201
4
Samsung Electronics Co., Ltd.
+ * Copyright (c) 201
9
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.
*
* 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 <dali/public-api/math/rect.h>
// EXTERNAL INCLUDES
#include <dali/public-api/math/rect.h>
@@
-67,6
+67,13
@@
public:
static Clipboard Get();
/**
static Clipboard Get();
/**
+ * @brief Checks whether the clipboard is available.
+ *
+ * @return true, if it is available, false otherwise.
+ */
+ static bool IsAvailable();
+
+ /**
* Send the given string to the clipboard
* @param[in] itemData string to send to clip board
* @return bool true if the internal clip board sending was successful.
* Send the given string to the clipboard
* @param[in] itemData string to send to clip board
* @return bool true if the internal clip board sending was successful.
@@
-103,4
+110,4
@@
public:
};
} // namespace Dali
};
} // namespace Dali
-#endif //
__TOOLKIT_CLIPBOARD_H__
+#endif //
TOOLKIT_CLIPBOARD_H