X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Fintegration-api%2Fcontext-notifier.h;h=905b50311641c2ac51ff9d7157e68763b1e5a944;hb=07c2516c65ef56c71df4c9c3a7461781b06cb91b;hp=348f29211e8290adb626ddd81b0170af76b316ab;hpb=fb38234733d0a5be37abdc281116c6032edbfa17;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/dali/integration-api/context-notifier.h b/dali/integration-api/context-notifier.h index 348f292..905b503 100644 --- a/dali/integration-api/context-notifier.h +++ b/dali/integration-api/context-notifier.h @@ -1,8 +1,8 @@ -#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) 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. @@ -46,10 +46,18 @@ public: * 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() {} + }; } // namespace Integration } // namespace Dali -#endif // __DALI_INTEGRATION_CONTEXT_NOTIFICATION_H__ +#endif // DALI_INTEGRATION_CONTEXT_NOTIFIER_H