xtd - Reference Guide  0.1.2
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
Loading...
Searching...
No Matches
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

namespace  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.
 
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.