Making DALi public API typesafe using guaranteed types; uint8_t, uint32_t
[platform/core/uifw/dali-core.git] / dali / public-api / signals / base-signal.h
old mode 100644 (file)
new mode 100755 (executable)
index e9c35b0..5de0137
@@ -2,7 +2,7 @@
 #define __DALI_BASE_SIGNAL_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.
@@ -75,7 +75,7 @@ namespace Dali
  *
  * @SINCE_1_0.0
  */
-class DALI_IMPORT_API BaseSignal : public SlotObserver
+class DALI_CORE_API BaseSignal : public SlotObserver
 {
 public:
 
@@ -113,7 +113,7 @@ public:
    * @brief Used to guard against nested Emit() calls.
    * @SINCE_1_0.0
    */
-  struct EmitGuard
+  struct DALI_CORE_API EmitGuard
   {
     /**
      * @brief Creates the guard.
@@ -494,7 +494,7 @@ private:
    * @param[in] callback The call back object
    * @return A valid index if the callback is connected
    */
-  int FindCallback( CallbackBase* callback );
+  int32_t FindCallback( CallbackBase* callback );
 
   /**
    * @brief Deletes a connection object from the list of connections.