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
event_handler.h
Go to the documentation of this file.
1
4#pragma once
5
6#include "delegate.h"
7#include "event.h"
8#include "event_args.h"
9
11namespace xtd {
12
22 template<typename event_args_t = const event_args&>
23 using generic_event_handler = xtd::delegate<void(object& sender, event_args_t e)>;
24
34}
Contains xtd::delegate delegate.
Contains xtd::event event.
Contains xtd::event_args event args.
generic_event_handler<> event_handler
Represents the method that will handle an event that has no event data.
Definition event_handler.h:33
xtd::delegate< void(object &sender, event_args_t e)> generic_event_handler
Represents the method that will handle an event when the event provides data.
Definition event_handler.h:23
@ e
The E key.
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition system_report.h:17