Add template keyword for android compiler
[platform/core/uifw/dali-core.git] / dali / public-api / signals / connection-tracker-interface.h
index 588390e..21bffca 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) 2015 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.
@@ -49,33 +49,37 @@ namespace Dali
  * When MyApp is destroyed, it automatically disconnects from Button.ClickSignal.
  * It provides a signal observer interface, to observer when signals are destroyed
  * e.g. if Button object is destroyed while it is still connected.
+ * @SINCE_1_0.0
  */
-class DALI_IMPORT_API ConnectionTrackerInterface : public SignalObserver
+class DALI_CORE_API ConnectionTrackerInterface : public SignalObserver
 {
 public:
-
   /**
    * @brief Constructor.
+   * @SINCE_1_0.0
    */
   ConnectionTrackerInterface();
 
   /**
    * @brief Virtual destructor.
+   * @SINCE_1_0.0
    */
-  virtual ~ConnectionTrackerInterface();
+  ~ConnectionTrackerInterface() override;
 
   /**
    * @brief Called when a signal is connected.
    *
-   * @param[in] slotObserver The slot observer i.e. a signal. Ownership is not passed.
-   * @param[in] callback The call back. Ownership is not passed.
+   * @SINCE_1_0.0
+   * @param[in] slotObserver The slot observer i.e. a signal. Ownership is not passed
+   * @param[in] callback The call back. Ownership is not passed
    */
-  virtual void SignalConnected( SlotObserver* slotObserver, CallbackBase* callback ) = 0;
+  virtual void SignalConnected(SlotObserver* slotObserver, CallbackBase* callback) = 0;
 
 private:
-
-  ConnectionTrackerInterface( const ConnectionTrackerInterface& );            ///< undefined copy constructor
-  ConnectionTrackerInterface& operator=( const ConnectionTrackerInterface& ); ///< undefined assignment operator
+  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
 };
 
 /**
@@ -83,4 +87,4 @@ private:
  */
 } // namespace Dali
 
-#endif // __DALI_CONNECTION_TRACKER_INTERFACE_H__
+#endif // DALI_CONNECTION_TRACKER_INTERFACE_H