X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Fdevel-api%2Fbuilder%2Fjson-parser.h;h=645b985953b2f5d02b79e46cfad4884b3a238adf;hb=5a49c794732c6e87a5fa1fa3ae71be376a40434d;hp=b871948b0c8bb5e81fa595ecec8daa7e63fcfeae;hpb=f58b8383147de70affa1e3949cf1c6757d705d3c;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/devel-api/builder/json-parser.h b/dali-toolkit/devel-api/builder/json-parser.h index b871948..645b985 100644 --- a/dali-toolkit/devel-api/builder/json-parser.h +++ b/dali-toolkit/devel-api/builder/json-parser.h @@ -2,7 +2,7 @@ #define __DALI_JSON_PARSER_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. @@ -41,7 +41,7 @@ class JsonParser; /* * Parses JSON */ -class DALI_IMPORT_API JsonParser : public BaseHandle +class DALI_TOOLKIT_API JsonParser : public BaseHandle { public: @@ -81,9 +81,9 @@ public: * Parse the source and construct a node tree. * Subsequent calls to this function will merge the trees. * @param source The json source to parse - * @return zero if parsed okay, otherwise an error. + * @return true if parsed okay, otherwise an error. */ - int Parse(const std::string& source); + bool Parse(const std::string& source); /* * Optimize memory usage by packing strings