2013-05-05 18:18:41 +02:00
|
|
|
/********************************************************
|
|
|
|
* Delegates.h *
|
|
|
|
* *
|
|
|
|
* Defines delegates within the System namespace *
|
2013-06-02 14:32:43 +02:00
|
|
|
* Copyright (c) XFX Team. All Rights Reserved *
|
2013-05-05 18:18:41 +02:00
|
|
|
********************************************************/
|
|
|
|
#ifndef _SYSTEM_DELEGATES_
|
|
|
|
#define _SYSTEM_DELEGATES_
|
|
|
|
|
|
|
|
#include "EventArgs.h"
|
|
|
|
#include "Object.h"
|
|
|
|
#include "Interfaces.h"
|
|
|
|
|
|
|
|
namespace System
|
|
|
|
{
|
|
|
|
// References a method to be called when a corresponding asynchronous operation completes.
|
|
|
|
typedef void (*AsyncCallback)(IAsyncResult* ar);
|
|
|
|
|
|
|
|
// Represents the method that will handle an event that has no event data.
|
|
|
|
//typedef void (*EventHandler)(Object* sender, EventArgs e);
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|