-#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.
/*
* Parses JSON
*/
-class DALI_IMPORT_API JsonParser : public BaseHandle
+class DALI_TOOLKIT_API JsonParser : public BaseHandle
{
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
} // namespace Dali
-#endif // __DALI_JSON_PARSER_H__
+#endif // DALI_JSON_PARSER_H