Files
lime/project/include/ui/DropEvent.h
2018-06-09 08:25:16 -07:00

48 lines
491 B
C++

#ifndef LIME_UI_DROP_EVENT_H
#define LIME_UI_DROP_EVENT_H
#include <hl.h>
#include <hx/CFFI.h>
namespace lime {
enum DropEventType {
DROP_FILE
};
struct HL_DropEvent {
hl_type* t;
vbyte* file;
DropEventType type;
};
class DropEvent {
public:
static AutoGCRoot* callback;
static AutoGCRoot* eventObject;
DropEvent ();
static void Dispatch (DropEvent* event);
char* file;
DropEventType type;
};
}
#endif