X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Fdevel-api%2Fscripting%2Fscript.h;h=12cd72aec13639e658894ee0716e7a87003055ac;hb=8b474798c4b5a53412ed526f6279d4d27b440fc9;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..12cd72a 100644 --- a/dali-toolkit/devel-api/scripting/script.h +++ b/dali-toolkit/devel-api/scripting/script.h @@ -1,8 +1,8 @@ -#ifndef __DALI_TOOLKIT_SCRIPT_H__ -#define __DALI_TOOLKIT_SCRIPT_H__ +#ifndef DALI_TOOLKIT_SCRIPT_H +#define DALI_TOOLKIT_SCRIPT_H /* - * Copyright (c) 2015 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. @@ -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: @@ -88,4 +90,4 @@ private: } // namespace Dali -#endif // __DALI_TOOLKIT_SCRIPT_H__ +#endif // DALI_TOOLKIT_SCRIPT_H