X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Fdevel-api%2Fscripting%2Fscript.h;h=86e26785d010259b7b9fc5118c7bd29cb1436a70;hb=da65da5fdaa792402702730ed32c5e5a5428d516;hp=e49a0d7703b7193886b0a1387be9495e53203228;hpb=f58b8383147de70affa1e3949cf1c6757d705d3c;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/devel-api/scripting/script.h b/dali-toolkit/devel-api/scripting/script.h index e49a0d7..86e2678 100644 --- a/dali-toolkit/devel-api/scripting/script.h +++ b/dali-toolkit/devel-api/scripting/script.h @@ -2,7 +2,7 @@ #define __DALI_TOOLKIT_SCRIPT_H__ /* - * Copyright (c) 2015 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. @@ -19,7 +19,7 @@ */ // EXTERNAL INCLUDES -#include +#include #include namespace Dali @@ -49,7 +49,7 @@ class Script; * @endcode * */ -class DALI_IMPORT_API Script : public BaseHandle +class DALI_TOOLKIT_API Script : public BaseHandle { public: @@ -75,8 +75,10 @@ public: * Executes the contents of filename in a scripted environment. * @pre A Dali Application object exists * @param filename A filename of a script file to execute + * @return true on success, false on failure + * */ - void ExecuteFile( const std::string& filename ); + bool ExecuteFile( const std::string& filename ); private: