Files
lime/project/include/ui/DropEvent.h
2018-06-11 13:10:17 -07:00

48 lines
516 B
C++

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