Updated the Generic Delegate implimentation because we really dont
need to Pass the return type as a parameter to the function.
Earlier Declaration:
public delegate R DaliEventHandlerWithReturnType<T,U,R>(T source, U e, R ret);
New Declaration:
public delegate R DaliEventHandlerWithReturnType<T,U,R>(T source, U e);
Change-Id: I0c9c2e19e7731662795950c17e3359cd86eb6a90
Signed-off-by: Ravi Nanjundappa <nravi.n@samsung.com>
if (_accessibilityManagerStatusChangedEventHandler != null)
{
//here we send all data to user event handlers
if (_accessibilityManagerStatusChangedEventHandler != null)
{
//here we send all data to user event handlers
- return _accessibilityManagerStatusChangedEventHandler(this, e, true);
+ return _accessibilityManagerStatusChangedEventHandler(this, e);
if (_accessibilityManagerActionNextEventHandler != null)
{
//here we send all data to user event handlers
if (_accessibilityManagerActionNextEventHandler != null)
{
//here we send all data to user event handlers
- return _accessibilityManagerActionNextEventHandler(this, e, true);
+ return _accessibilityManagerActionNextEventHandler(this, e);
if (_accessibilityManagerActionPreviousEventHandler != null)
{
//here we send all data to user event handlers
if (_accessibilityManagerActionPreviousEventHandler != null)
{
//here we send all data to user event handlers
- return _accessibilityManagerActionPreviousEventHandler(this, e, true);
+ return _accessibilityManagerActionPreviousEventHandler(this, e);
if (_accessibilityManagerActionActivateEventHandler != null)
{
//here we send all data to user event handlers
if (_accessibilityManagerActionActivateEventHandler != null)
{
//here we send all data to user event handlers
- return _accessibilityManagerActionActivateEventHandler(this, e, true);
+ return _accessibilityManagerActionActivateEventHandler(this, e);
if (_accessibilityManagerActionReadEventHandler != null)
{
//here we send all data to user event handlers
if (_accessibilityManagerActionReadEventHandler != null)
{
//here we send all data to user event handlers
- return _accessibilityManagerActionReadEventHandler(this, e, true);
+ return _accessibilityManagerActionReadEventHandler(this, e);
if (_accessibilityManagerActionOverEventHandler != null)
{
//here we send all data to user event handlers
if (_accessibilityManagerActionOverEventHandler != null)
{
//here we send all data to user event handlers
- return _accessibilityManagerActionOverEventHandler(this, e, true);
+ return _accessibilityManagerActionOverEventHandler(this, e);
if (_accessibilityManagerActionReadNextEventHandler != null)
{
//here we send all data to user event handlers
if (_accessibilityManagerActionReadNextEventHandler != null)
{
//here we send all data to user event handlers
- return _accessibilityManagerActionReadNextEventHandler(this, e, true);
+ return _accessibilityManagerActionReadNextEventHandler(this, e);
if (_accessibilityManagerActionReadPreviousEventHandler != null)
{
//here we send all data to user event handlers
if (_accessibilityManagerActionReadPreviousEventHandler != null)
{
//here we send all data to user event handlers
- return _accessibilityManagerActionReadPreviousEventHandler(this, e, true);
+ return _accessibilityManagerActionReadPreviousEventHandler(this, e);
if (_accessibilityManagerActionUpEventHandler != null)
{
//here we send all data to user event handlers
if (_accessibilityManagerActionUpEventHandler != null)
{
//here we send all data to user event handlers
- return _accessibilityManagerActionUpEventHandler(this, e, true);
+ return _accessibilityManagerActionUpEventHandler(this, e);
if (_accessibilityManagerActionDownEventHandler != null)
{
//here we send all data to user event handlers
if (_accessibilityManagerActionDownEventHandler != null)
{
//here we send all data to user event handlers
- return _accessibilityManagerActionDownEventHandler(this, e, true);
+ return _accessibilityManagerActionDownEventHandler(this, e);
if (_accessibilityManagerActionClearFocusEventHandler != null)
{
//here we send all data to user event handlers
if (_accessibilityManagerActionClearFocusEventHandler != null)
{
//here we send all data to user event handlers
- return _accessibilityManagerActionClearFocusEventHandler(this, e, true);
+ return _accessibilityManagerActionClearFocusEventHandler(this, e);
if (_accessibilityManagerActionBackEventHandler != null)
{
//here we send all data to user event handlers
if (_accessibilityManagerActionBackEventHandler != null)
{
//here we send all data to user event handlers
- return _accessibilityManagerActionBackEventHandler(this, e, true);
+ return _accessibilityManagerActionBackEventHandler(this, e);
if (_accessibilityManagerActionScrollUpEventHandler != null)
{
//here we send all data to user event handlers
if (_accessibilityManagerActionScrollUpEventHandler != null)
{
//here we send all data to user event handlers
- return _accessibilityManagerActionScrollUpEventHandler(this, e, true);
+ return _accessibilityManagerActionScrollUpEventHandler(this, e);
if (_accessibilityManagerActionScrollDownEventHandler != null)
{
//here we send all data to user event handlers
if (_accessibilityManagerActionScrollDownEventHandler != null)
{
//here we send all data to user event handlers
- return _accessibilityManagerActionScrollDownEventHandler(this, e, true);
+ return _accessibilityManagerActionScrollDownEventHandler(this, e);
if (_accessibilityManagerActionPageLeftEventHandler != null)
{
//here we send all data to user event handlers
if (_accessibilityManagerActionPageLeftEventHandler != null)
{
//here we send all data to user event handlers
- return _accessibilityManagerActionPageLeftEventHandler(this, e, true);
+ return _accessibilityManagerActionPageLeftEventHandler(this, e);
if (_accessibilityManagerActionPageRightEventHandler != null)
{
//here we send all data to user event handlers
if (_accessibilityManagerActionPageRightEventHandler != null)
{
//here we send all data to user event handlers
- return _accessibilityManagerActionPageRightEventHandler(this, e, true);
+ return _accessibilityManagerActionPageRightEventHandler(this, e);
if (_accessibilityManagerActionPageUpEventHandler != null)
{
//here we send all data to user event handlers
if (_accessibilityManagerActionPageUpEventHandler != null)
{
//here we send all data to user event handlers
- return _accessibilityManagerActionPageUpEventHandler(this, e, true);
+ return _accessibilityManagerActionPageUpEventHandler(this, e);
if (_accessibilityManagerActionPageDownEventHandler != null)
{
//here we send all data to user event handlers
if (_accessibilityManagerActionPageDownEventHandler != null)
{
//here we send all data to user event handlers
- return _accessibilityManagerActionPageDownEventHandler(this, e, true);
+ return _accessibilityManagerActionPageDownEventHandler(this, e);
if (_accessibilityManagerActionMoveToFirstEventHandler != null)
{
//here we send all data to user event handlers
if (_accessibilityManagerActionMoveToFirstEventHandler != null)
{
//here we send all data to user event handlers
- return _accessibilityManagerActionMoveToFirstEventHandler(this, e, true);
+ return _accessibilityManagerActionMoveToFirstEventHandler(this, e);
if (_accessibilityManagerActionMoveToLastEventHandler != null)
{
//here we send all data to user event handlers
if (_accessibilityManagerActionMoveToLastEventHandler != null)
{
//here we send all data to user event handlers
- return _accessibilityManagerActionMoveToLastEventHandler(this, e, true);
+ return _accessibilityManagerActionMoveToLastEventHandler(this, e);
if (_accessibilityManagerActionReadFromTopEventHandler != null)
{
//here we send all data to user event handlers
if (_accessibilityManagerActionReadFromTopEventHandler != null)
{
//here we send all data to user event handlers
- return _accessibilityManagerActionReadFromTopEventHandler(this, e, true);
+ return _accessibilityManagerActionReadFromTopEventHandler(this, e);
if (_accessibilityManagerActionReadFromNextEventHandler != null)
{
//here we send all data to user event handlers
if (_accessibilityManagerActionReadFromNextEventHandler != null)
{
//here we send all data to user event handlers
- return _accessibilityManagerActionReadFromNextEventHandler(this, e, true);
+ return _accessibilityManagerActionReadFromNextEventHandler(this, e);
if (_accessibilityManagerActionZoomEventHandler != null)
{
//here we send all data to user event handlers
if (_accessibilityManagerActionZoomEventHandler != null)
{
//here we send all data to user event handlers
- return _accessibilityManagerActionZoomEventHandler(this, e, true);
+ return _accessibilityManagerActionZoomEventHandler(this, e);
if (_accessibilityManagerActionReadIndicatorInformationEventHandler != null)
{
//here we send all data to user event handlers
if (_accessibilityManagerActionReadIndicatorInformationEventHandler != null)
{
//here we send all data to user event handlers
- return _accessibilityManagerActionReadIndicatorInformationEventHandler(this, e, true);
+ return _accessibilityManagerActionReadIndicatorInformationEventHandler(this, e);
if (_accessibilityManagerActionReadPauseResumeEventHandler != null)
{
//here we send all data to user event handlers
if (_accessibilityManagerActionReadPauseResumeEventHandler != null)
{
//here we send all data to user event handlers
- return _accessibilityManagerActionReadPauseResumeEventHandler(this, e, true);
+ return _accessibilityManagerActionReadPauseResumeEventHandler(this, e);
if (_accessibilityManagerActionStartStopEventHandler != null)
{
//here we send all data to user event handlers
if (_accessibilityManagerActionStartStopEventHandler != null)
{
//here we send all data to user event handlers
- return _accessibilityManagerActionStartStopEventHandler(this, e, true);
+ return _accessibilityManagerActionStartStopEventHandler(this, e);
if (_accessibilityManagerActionScrollEventHandler != null)
{
//here we send all data to user event handlers
if (_accessibilityManagerActionScrollEventHandler != null)
{
//here we send all data to user event handlers
- return _accessibilityManagerActionScrollEventHandler(this, e, true);
+ return _accessibilityManagerActionScrollEventHandler(this, e);
if (_actorTouchDataEventHandler != null)
{
//here we send all data to user event handlers
if (_actorTouchDataEventHandler != null)
{
//here we send all data to user event handlers
- return _actorTouchDataEventHandler(this, e, true);
+ return _actorTouchDataEventHandler(this, e);
if (_actorHoverEventHandler != null)
{
//here we send all data to user event handlers
if (_actorHoverEventHandler != null)
{
//here we send all data to user event handlers
- return _actorHoverEventHandler(this, e, true);
+ return _actorHoverEventHandler(this, e);
if (_actorWheelEventHandler != null)
{
//here we send all data to user event handlers
if (_actorWheelEventHandler != null)
{
//here we send all data to user event handlers
- return _actorWheelEventHandler(this, e, true);
+ return _actorWheelEventHandler(this, e);
if (_buttonClickedEventHandler != null)
{
//here we send all data to user event handlers
if (_buttonClickedEventHandler != null)
{
//here we send all data to user event handlers
- return _buttonClickedEventHandler(this, e,true);
+ return _buttonClickedEventHandler(this, e);
if (_buttonPressedEventHandler != null)
{
//here we send all data to user event handlers
if (_buttonPressedEventHandler != null)
{
//here we send all data to user event handlers
- return _buttonPressedEventHandler(this, e,true);
+ return _buttonPressedEventHandler(this, e);
if (_buttonReleasedEventHandler != null)
{
//here we send all data to user event handlers
if (_buttonReleasedEventHandler != null)
{
//here we send all data to user event handlers
- return _buttonReleasedEventHandler(this, e, true);
+ return _buttonReleasedEventHandler(this, e);
if (_buttonStateChangedEventHandler != null)
{
//here we send all data to user event handlers
if (_buttonStateChangedEventHandler != null)
{
//here we send all data to user event handlers
- return _buttonStateChangedEventHandler(this, e, true);
+ return _buttonStateChangedEventHandler(this, e);
if (_KeyEventHandler != null)
{
//here we send all data to user event handlers
if (_KeyEventHandler != null)
{
//here we send all data to user event handlers
- return _KeyEventHandler(this, e, true);
+ return _KeyEventHandler(this, e);
if (_sliderValueChangedEventHandler != null)
{
//here we send all page to user event handlers
if (_sliderValueChangedEventHandler != null)
{
//here we send all page to user event handlers
- return _sliderValueChangedEventHandler(this, e, true);
+ return _sliderValueChangedEventHandler(this, e);
if (_sliderSlidingFinishedEventHandler != null)
{
//here we send all page to user event handlers
if (_sliderSlidingFinishedEventHandler != null)
{
//here we send all page to user event handlers
- return _sliderSlidingFinishedEventHandler(this, e, true);
+ return _sliderSlidingFinishedEventHandler(this, e);
if (_sliderMarkReachedEventHandler != null)
{
//here we send all page to user event handlers
if (_sliderMarkReachedEventHandler != null)
{
//here we send all page to user event handlers
- return _sliderMarkReachedEventHandler(this, e, true);
+ return _sliderMarkReachedEventHandler(this, e);
if (_timerTickEventHandler != null)
{
//here we send all data to user event handlers
if (_timerTickEventHandler != null)
{
//here we send all data to user event handlers
- return _timerTickEventHandler(this, e, true);
+ return _timerTickEventHandler(this, e);
public delegate void DaliEventHandler<T,U>(T source, U e);
[UnmanagedFunctionPointer(CallingConvention.StdCall)]
public delegate void DaliEventHandler<T,U>(T source, U e);
[UnmanagedFunctionPointer(CallingConvention.StdCall)]
- public delegate R DaliEventHandlerWithReturnType<T,U,R>(T source, U e, R ret);
+ public delegate R DaliEventHandlerWithReturnType<T,U,R>(T source, U e);