-#ifndef __DALI_V8PLUGIN_GARBAGE_COLLECTOR_H__
-#define __DALI_V8PLUGIN_GARBAGE_COLLECTOR_H__
+#ifndef DALI_V8PLUGIN_GARBAGE_COLLECTOR_H
+#define DALI_V8PLUGIN_GARBAGE_COLLECTOR_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.
*
*/
+// EXTERNAL INCLUDES
+#include <dali/public-api/common/dali-vector.h>
// INTERNAL INCLUDES
#include <interfaces/garbage-collector-interface.h>
-#include <dali/devel-api/common/set-wrapper.h>
-
namespace Dali
{
*/
virtual void GarbageCollect();
-
private:
/**
* Map between dali wrapped object (void *)
*/
- typedef std::set< BaseWrappedObject* > ObjectMap;
+ typedef Dali::Vector< BaseWrappedObject* > ObjectMap;
ObjectMap mObjectMap; ///< lookup
};
-} // V8Plugin
+} // namespace V8Plugin
-} // Dali
+} // namespace Dali
-#endif // header __DALI_V8PLUGIN_GARBAGE_COLLECTOR_H__
+#endif // DALI_V8PLUGIN_GARBAGE_COLLECTOR_H