Skip to content

Commit

Permalink
Remove now unused event type
Browse files Browse the repository at this point in the history
  • Loading branch information
grorp committed Mar 27, 2024
1 parent c7fd6cf commit e6f4819
Showing 1 changed file with 0 additions and 34 deletions.
34 changes: 0 additions & 34 deletions irr/include/IEventReceiver.h
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,6 @@ enum EEVENT_TYPE
*/
EET_USER_EVENT,

//! Pass on raw events from the OS
EET_SYSTEM_EVENT,

//! Application state events like a resume, pause etc.
EET_APPLICATION_EVENT,

Expand Down Expand Up @@ -187,17 +184,6 @@ enum ETOUCH_INPUT_EVENT
ETIE_COUNT
};

enum ESYSTEM_EVENT_TYPE
{
//! From Android command handler for native activity messages
ESET_ANDROID_CMD = 0,

// TODO: for example ESET_WINDOWS_MESSAGE for win32 message loop events

//! No real event, but to get number of event types
ESET_COUNT
};

//! Enumeration for a commonly used application state events (it's useful mainly for mobile devices)
enum EAPPLICATION_EVENT_TYPE
{
Expand Down Expand Up @@ -528,25 +514,6 @@ struct SEvent
size_t UserData2;
};

// Raw events from the OS
struct SSystemEvent
{
//! Android command handler native activity messages.
struct SAndroidCmd
{
//! APP_CMD_ enums defined in android_native_app_glue.h from the Android NDK
s32 Cmd;
};

// TOOD: more structs for iphone, Windows, X11, etc.

ESYSTEM_EVENT_TYPE EventType;
union
{
struct SAndroidCmd AndroidCmd;
};
};

// Application state event
struct SApplicationEvent
{
Expand All @@ -567,7 +534,6 @@ struct SEvent
struct SJoystickEvent JoystickEvent;
struct SLogEvent LogEvent;
struct SUserEvent UserEvent;
struct SSystemEvent SystemEvent;
struct SApplicationEvent ApplicationEvent;
};
};
Expand Down

0 comments on commit e6f4819

Please sign in to comment.