X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=plugins%2Fdali-script-v8%2Fsrc%2Fdali-wrapper.h;h=e576f4ba8af6876071fd580edbd4b91156b328b6;hb=09e0f6477db3adfa854d2ac4c376c4076bda9796;hp=27d4fd31aa94faedc0d158d82ad834bc601dcb23;hpb=5d49d819924da76f96f22845210abe89a7ade187;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/plugins/dali-script-v8/src/dali-wrapper.h b/plugins/dali-script-v8/src/dali-wrapper.h index 27d4fd3..e576f4b 100644 --- a/plugins/dali-script-v8/src/dali-wrapper.h +++ b/plugins/dali-script-v8/src/dali-wrapper.h @@ -101,16 +101,18 @@ public: * * @param[in] sourceCode The buffer containing javascript to execute * @param[in] sourceFileName Filename associated with the buffer (for error tracing) + * @return true on success, false on failure */ - void ExecuteBuffer(const std::string &sourceCode, const std::string &sourceFileName); + bool ExecuteBuffer(const std::string &sourceCode, const std::string &sourceFileName); /** * Excute the buffer in the v8 context * * @param[in] sourceFileName Filename associated with the buffer (for error tracing) + * @return true on success, false on failure */ - void ExecuteFile( const std::string& sourceFileName); + bool ExecuteFile( const std::string& sourceFileName); /**