#define DALI_JSON_PARSER_H
/*
- * Copyright (c) 2019 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2020 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.
*/
// EXTERNAL INCLUDES
-#include <string>
+#include <dali/public-api/object/base-handle.h>
#include <list>
#include <ostream>
-#include <dali/public-api/object/base-handle.h>
+#include <string>
// INTERNAL INCLUDES
#include <dali-toolkit/devel-api/builder/tree-node.h>
namespace Dali
{
-
namespace Toolkit
{
-
namespace Internal DALI_INTERNAL
{
class JsonParser;
class DALI_TOOLKIT_API JsonParser : public BaseHandle
{
public:
-
/*
* Create new parser
* @return JsonParser
* @param[in] handle Handle to an object
* @return A handle to a JsonParser or an uninitialized handle
*/
- static JsonParser DownCast( BaseHandle handle );
+ static JsonParser DownCast(BaseHandle handle);
/*
* Parse the source and construct a node tree.
void Write(std::ostream& output, int indent) const;
public: // Not intended for application developers
-
/**
* This constructor is used by Dali New() methods
* @param [in] parser A pointer to a newly allocated Dali resource
} // namespace Dali
-
#endif // DALI_JSON_PARSER_H