#define __DALI_SIGNAL_SLOT_CONNECTIONS_H__
/*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2018 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.
* It holds a pointer to the callback, but does not own it.
* @SINCE_1_0.0
*/
-class DALI_IMPORT_API SlotConnection
+class DALI_CORE_API SlotConnection
{
public:
* @brief Constructor.
*
* @SINCE_1_0.0
- * @param[in] slotObserver The slot observer.
- * @param[in] callback A callback object (not owned).
+ * @param[in] slotObserver The slot observer
+ * @param[in] callback A callback object (not owned)
*/
SlotConnection(SlotObserver* slotObserver, CallbackBase* callback);
~SlotConnection();
/**
- * @brief Retrieve the callback.
+ * @brief Retrieves the callback.
*
* @SINCE_1_0.0
- * @return A pointer to the callback.
+ * @return A pointer to the callback
*/
CallbackBase* GetCallback();
/**
- * @brief Retrieve the slot observer.
+ * @brief Retrieves the slot observer.
*
* @SINCE_1_0.0
- * @return A pointer to the slot observer.
+ * @return A pointer to the slot observer
*/
SlotObserver* GetSlotObserver();
* the connection is destroyed.
* @SINCE_1_0.0
*/
-class DALI_IMPORT_API SignalConnection
+class DALI_CORE_API SignalConnection
{
public:
* @brief Constructor.
*
* @SINCE_1_0.0
- * @param[in] callback The callback which should be a C function.
+ * @param[in] callback The callback which should be a C function
*/
SignalConnection( CallbackBase* callback );
* @brief Constructor.
*
* @SINCE_1_0.0
- * @param[in] signalObserver The signal observer.
- * @param[in] callback Ownership of this callback object is taken.
+ * @param[in] signalObserver The signal observer
+ * @param[in] callback Ownership of this callback object is taken
*/
SignalConnection( SignalObserver* signalObserver, CallbackBase* callback );
~SignalConnection();
/**
- * @brief Disconnect the signal from the slot.
+ * @brief Disconnects the signal from the slot.
*
* @SINCE_1_0.0
- * @param[in] slotObserver The signal disconnecting from the slot.
+ * @param[in] slotObserver The signal disconnecting from the slot
*/
void Disconnect( SlotObserver* slotObserver );
/**
- * @brief Retrieve the callback.
+ * @brief Retrieves the callback.
*
* @SINCE_1_0.0
- * @return A pointer to the callback.
+ * @return A pointer to the callback
*/
CallbackBase* GetCallback();