-#ifndef __DALI_INTERNAL_GIF_LOADING_H__
-#define __DALI_INTERNAL_GIF_LOADING_H__
+#ifndef DALI_INTERNAL_GIF_LOADING_H
+#define DALI_INTERNAL_GIF_LOADING_H
/*
- * Copyright (c) 2018 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.
#include <dali/public-api/common/vector-wrapper.h>
#include <dali/public-api/math/uint-16-pair.h>
+// INTERNAL INCLUDES
+#include <dali/public-api/dali-adaptor-common.h>
+
namespace Dali
{
class PixelData;
* is released. (This is to speed up frame loads, which would otherwise have to re-acquire the
* data from disk)
*/
-class DALI_IMPORT_API GifLoading
+class DALI_ADAPTOR_API GifLoading
{
public:
- static std::unique_ptr<GifLoading> New( const std::string& url );
+ /**
+ * Create a GifLoading with the given url and resourceType.
+ * @param[in] url The url of the gif image to load
+ * @param[in] isLocalResource The true or false whether this is a local resource.
+ * @return A newly created GifLoading.
+ */
+ static std::unique_ptr<GifLoading> New( const std::string& url, bool isLocalResource );
/**
* @brief Constructor
*
* Construct a Loader with the given URL
* @param[in] url The url of the gif image to load
+ * @param[in] isLocalResource The true or false whether this is a local resource.
*/
- GifLoading( const std::string& url );
+ GifLoading( const std::string& url, bool isLocalResource );
// Moveable but not copyable
} // namespace Dali
-#endif // __DALI_INTERNAL_GIF_LOADING_H__
+#endif // DALI_INTERNAL_GIF_LOADING_H