/* X11::GUITest ($Id: record_event.h 203 2011-05-15 02:03:11Z ctrondlp $) * * Copyright (c) 2003-2011 Dennis K. Paulsen, All Rights Reserved. * Email: ctrondlp@cpan.org * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2 of * the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see . * */ #ifndef RECORD_EVENT_H #define RECORD_EVENT_H typedef enum {NOTYPE, MOUSEBUTTON, KEY, MOUSEMOVE} EventType; typedef enum {NOSTATE, UP, DOWN } EventState; struct record_event { EventType type; EventState state; unsigned long delay; const char *dataname; int data; int posX; int posY; }; #endif /* #ifndef RECORD_EVENT_H */