mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 14:53:52 +00:00
Lots of stuff
This commit is contained in:
24
PortabilityLayer/AEManager.h
Normal file
24
PortabilityLayer/AEManager.h
Normal file
@@ -0,0 +1,24 @@
|
||||
#pragma once
|
||||
#ifndef __PL_AE_MANAGER_H__
|
||||
#define __PL_AE_MANAGER_H__
|
||||
|
||||
#include "PLAppleEventsCommonTypes.h"
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
namespace PortabilityLayer
|
||||
{
|
||||
class AEManager
|
||||
{
|
||||
public:
|
||||
virtual void Init() = 0;
|
||||
virtual void Shutdown() = 0;
|
||||
|
||||
virtual void InstallEventHandler(AEEventClass eventClass, AEEventID eventID, AEEventHandler handler, uint32_t ref, bool isSysHandler) = 0;
|
||||
virtual void SetInteractAllowed(AEInteractAllowed interactAllowed) = 0;
|
||||
|
||||
static AEManager *GetInstance();
|
||||
};
|
||||
}
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user