#define __DALI_CALLBACK_H__
/*
- * Copyright (c) 2014 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2015 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.
*
*/
+// EXTERNAL INCLUDES
+#include <cstddef>
+
// INTERNAL INCLUDES
#include <dali/public-api/common/dali-common.h>
#include <dali/public-api/signals/functor-delegate.h>
namespace Dali
{
+/**
+ * @addtogroup dali_core_signals
+ * @{
+ */
class CallbackBase;
{
(*(callback.mFunction))();
}
+ else
+ {
+ DALI_ASSERT_ALWAYS( 0 && "no function to execute" );
+ }
}
/**
return new Callback< T >( object, function );
}
+/**
+ * @}
+ */
} // namespace DALI
#endif // __DALI_CALLBACK_H__