-#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.
* 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
};
/**
*/
} // namespace Dali
-#endif // __DALI_CONNECTION_TRACKER_INTERFACE_H__
+#endif // DALI_CONNECTION_TRACKER_INTERFACE_H