xtd - Reference Guide  0.1.1
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
Namespaces | Typedefs
event_handler.h File Reference
#include "delegate.h"
#include "event.h"
#include "event_args.h"

Definition

Contains xtd::event_handler event handler.

Go to the source code of this file.

Namespaces

 xtd
 The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
 

Typedefs

using xtd::event_handler = generic_event_handler<>
 Represents the method that will handle an event that has no event data. More...
 
template<typename event_args_t = const event_args&>
using xtd::generic_event_handler = xtd::delegate< void(object &sender, event_args_t e)>
 Represents the method that will handle an event when the event provides data. More...