-#ifndef __DALI_INTEGRATION_CONTEXT_NOTIFIER_H__
-#define __DALI_INTEGRATION_CONTEXT_NOTIFIER_H__
+#ifndef DALI_INTEGRATION_CONTEXT_NOTIFIER_H
+#define DALI_INTEGRATION_CONTEXT_NOTIFIER_H
/*
- * Copyright (c) 2014 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.
{
namespace Integration
{
-
/**
* Interface to inform dali core of context loss and regain
*/
* Multi-threading note: this method should be called from the main thread
*/
virtual void NotifyContextRegained() = 0;
+
+protected:
+ /**
+ * Virtual destructor, no deletion through this interface
+ */
+ virtual ~ContextNotifierInterface() = default;
};
} // namespace Integration
} // namespace Dali
-
-#endif // __DALI_INTEGRATION_CONTEXT_NOTIFICATION_H__
+#endif // DALI_INTEGRATION_CONTEXT_NOTIFIER_H