X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=automated-tests%2Fsrc%2Fdali-toolkit%2Fdali-toolkit-test-utils%2Fdummy-control.h;h=d0387d92a2c68e4137f0b1836acc38546b962e01;hb=26080f936f851754221bb16e4e5e3834c24b96db;hp=d4b8b18444f17043995ceae9a893bdd9fc9d83c0;hpb=ec1cd006ed99fe40e444e90c8b3e6eb01ca2bc8b;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/automated-tests/src/dali-toolkit/dali-toolkit-test-utils/dummy-control.h b/automated-tests/src/dali-toolkit/dali-toolkit-test-utils/dummy-control.h index d4b8b18..d0387d9 100644 --- a/automated-tests/src/dali-toolkit/dali-toolkit-test-utils/dummy-control.h +++ b/automated-tests/src/dali-toolkit/dali-toolkit-test-utils/dummy-control.h @@ -2,7 +2,7 @@ #define __DALI_TOOLKIT_TEST_DUMMY_CONTROL_H__ /* - * Copyright (c) 2014 Samsung Electronics Co., Ltd. + * Copyright (c) 2017 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. @@ -21,6 +21,9 @@ // INTERNAL INCLUDES #include +// EXTERNAL INCLUDES +#include + namespace Dali { @@ -28,6 +31,12 @@ namespace Toolkit { class DummyControlImpl; +class TransitionData; + +namespace Visual +{ +class Base; +} /** * Control does not have a New method so use this dummy class for the handle. @@ -126,10 +135,14 @@ class DummyControl : public Toolkit::DummyControlImpl { public: + typedef std::function RelayoutCallbackFunc; + static Toolkit::DummyControl New(); void SetLayout( Property::Index visualIndex, Property::Map& map ); + void SetRelayoutCallback( RelayoutCallbackFunc callback ); + private: DummyControl(); @@ -194,6 +207,8 @@ public: bool keyInputFocusLost; Property::Map mLayouts; + RelayoutCallbackFunc mRelayoutCallback; + }; } // namespace Impl