X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Fdevel-api%2Fbuilder%2Fjson-parser.h;h=b4ae41be093741707497b8b6c8522ec326e2f181;hp=b871948b0c8bb5e81fa595ecec8daa7e63fcfeae;hb=b694e7e2ae624e206e1548b1a863c554eb9cd4d7;hpb=f58b8383147de70affa1e3949cf1c6757d705d3c diff --git a/dali-toolkit/devel-api/builder/json-parser.h b/dali-toolkit/devel-api/builder/json-parser.h index b871948..b4ae41b 100644 --- a/dali-toolkit/devel-api/builder/json-parser.h +++ b/dali-toolkit/devel-api/builder/json-parser.h @@ -1,8 +1,8 @@ -#ifndef __DALI_JSON_PARSER_H__ -#define __DALI_JSON_PARSER_H__ +#ifndef DALI_JSON_PARSER_H +#define DALI_JSON_PARSER_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. @@ -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 @@ -146,4 +146,4 @@ public: // Not intended for application developers } // namespace Dali -#endif // __DALI_JSON_PARSER_H__ +#endif // DALI_JSON_PARSER_H