2010-12-04 16:14:34 +00:00
|
|
|
|
/********************************************************
|
|
|
|
|
* Delegates.h *
|
|
|
|
|
* *
|
|
|
|
|
* Defines delegates within the System namespace *
|
|
|
|
|
* Copyright <EFBFBD> XFX Team. All Rights Reserved *
|
|
|
|
|
********************************************************/
|
|
|
|
|
#ifndef _SYSTEM_DELEGATES_
|
|
|
|
|
#define _SYSTEM_DELEGATES_
|
|
|
|
|
|
|
|
|
|
#include "EventArgs.h"
|
2010-12-27 01:01:25 +00:00
|
|
|
|
#include "Object.h"
|
2010-12-04 16:14:34 +00:00
|
|
|
|
#include "Interfaces.h"
|
|
|
|
|
|
|
|
|
|
namespace System
|
|
|
|
|
{
|
2012-03-29 22:02:43 +00:00
|
|
|
|
// References a method to be called when a corresponding asynchronous operation completes.
|
2011-03-10 22:55:43 +00:00
|
|
|
|
typedef void (*AsyncCallback)(IAsyncResult* ar);
|
2010-12-04 16:14:34 +00:00
|
|
|
|
|
2012-03-29 22:02:43 +00:00
|
|
|
|
// Represents the method that will handle an event that has no event data.
|
2012-09-28 20:36:02 +00:00
|
|
|
|
//typedef void (*EventHandler)(Object* sender, EventArgs e);
|
2010-12-04 16:14:34 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endif
|