HephAudio v3.0.6
A cross-platform C++ library for recording, playing, and processing audio on Windows, Android, Linux, iOS, and macOS.
Loading...
Searching...
No Matches
EventParams.h
Go to the documentation of this file.
1#pragma once
2#include "HephShared.h"
3#include "EventArgs.h"
4#include "EventResult.h"
5#include "UserEventArgs.h"
6
9namespace Heph
10{
15 struct HEPH_API EventParams final
16 {
22
28
34
40 EventParams(const UserEventArgs& userEventArgs) : pArgs(nullptr), pResult(nullptr), userEventArgs(userEventArgs) {}
41 };
42}
#define HEPH_API
Definition HephShared.h:132
class for passing custom data to the event handlers as key/value pairs.
Definition UserEventArgs.h:17
base class for storing arguments for an event .
Definition EventArgs.h:13
stores the information required to handle an event.
Definition EventParams.h:16
EventResult * pResult
Definition EventParams.h:27
EventArgs * pArgs
Definition EventParams.h:21
const UserEventArgs & userEventArgs
Definition EventParams.h:33
EventParams(const UserEventArgs &userEventArgs)
Definition EventParams.h:40
base class for storing the results of an event .
Definition EventResult.h:13