use modern construct 'override' in the derive class.
[platform/core/uifw/dali-core.git] / dali / public-api / signals / connection-tracker-interface.h
index 06afe92..6e27eb4 100644 (file)
@@ -1,8 +1,8 @@
-#ifndef __DALI_CONNECTION_TRACKER_INTERFACE_H__
-#define __DALI_CONNECTION_TRACKER_INTERFACE_H__
+#ifndef DALI_CONNECTION_TRACKER_INTERFACE_H
+#define DALI_CONNECTION_TRACKER_INTERFACE_H
 
 /*
- * Copyright (c) 2018 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.
@@ -65,7 +65,7 @@ public:
    * @brief Virtual destructor.
    * @SINCE_1_0.0
    */
-  virtual ~ConnectionTrackerInterface();
+  ~ConnectionTrackerInterface() override;
 
   /**
    * @brief Called when a signal is connected.
@@ -78,8 +78,10 @@ public:
 
 private:
 
-  ConnectionTrackerInterface( const ConnectionTrackerInterface& );            ///< undefined copy constructor @SINCE_1_0.0
-  ConnectionTrackerInterface& operator=( const ConnectionTrackerInterface& ); ///< undefined assignment operator @SINCE_1_0.0
+  ConnectionTrackerInterface( const ConnectionTrackerInterface& ) = delete; ///< Deleted copy constructor. @SINCE_1_0.0
+  ConnectionTrackerInterface( ConnectionTrackerInterface&& ) = delete; ///< Deleted move constructor. @SINCE_1_9.25
+  ConnectionTrackerInterface& operator=( const ConnectionTrackerInterface& ) = delete; ///< Deleted copy assignment operator. @SINCE_1_0.0
+  ConnectionTrackerInterface& operator=( ConnectionTrackerInterface&& ) = delete; ///< Deleted move assignment operator. @SINCE_1_9.25
 };
 
 /**
@@ -87,4 +89,4 @@ private:
  */
 } // namespace Dali
 
-#endif // __DALI_CONNECTION_TRACKER_INTERFACE_H__
+#endif // DALI_CONNECTION_TRACKER_INTERFACE_H