4ad2be371bf2c8d7854009387a7a3dc0fa97efc3
[platform/core/uifw/aurum.git] / libaurum / inc / Until.h
1 #ifndef UNTIL_H
2 #define UNTIL_H
3
4 #include <functional>
5 #include "ISearchable.h"
6 #include "UiSelector.h"
7 /**
8  * @brief Until class
9  * @since_tizen 5.5
10  */
11 class Until {
12 private:
13     /**
14      * @brief TBD
15      * @since_tizen 5.5
16      */
17     Until();
18
19     /**
20      * @brief TBD
21      * @since_tizen 5.5
22      */
23     Until(const std::shared_ptr<UiSelector> selector);
24
25     /**
26      * @brief TBD
27      * @since_tizen 5.5
28      */
29     Until(const Until &src);
30
31     /**
32      * @brief TBD
33      * @since_tizen 5.5
34      */
35     Until(const Until &&src);
36
37 public:
38     /**
39      * @brief TBD
40      * @since_tizen 5.5
41      */
42     ~Until();
43
44 public:
45     /**
46      * @brief TBD
47      * @since_tizen 5.5
48      */
49     static std::function<bool(const ISearchable *)> hasObject(
50         const std::shared_ptr<UiSelector> selector);
51
52     /**
53      * @brief TBD
54      * @since_tizen 5.5
55      */
56     static std::function<std::unique_ptr<UiObject>(const ISearchable *)>
57                                                  findObject(const std::shared_ptr<UiSelector> selector);
58
59     /**
60      * @brief TBD
61      * @since_tizen 5.5
62      */
63     static std::function<bool(const UiObject *)> checkable(
64         const bool isCheckable);
65 };
66 #endif
67
68 // Until::hasObject(Sel::text("text").get())