| 1 |
/* X11::GUITest ($Id: record.h 249 2026-08-15 18:43:40Z ctrondlp $) |
| 2 |
* |
| 3 |
* Copyright (c) 2003-2026 Dennis K. Paulsen, All Rights Reserved. |
| 4 |
* Email: [email protected] |
| 5 |
* |
| 6 |
* This program is free software; you can redistribute it and/or |
| 7 |
* modify it under the terms of the GNU General Public License as |
| 8 |
* published by the Free Software Foundation; either version 2 of |
| 9 |
* the License, or (at your option) any later version. |
| 10 |
* |
| 11 |
* This program is distributed in the hope that it will be useful, |
| 12 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 |
* GNU General Public License for more details. |
| 15 |
* |
| 16 |
* You should have received a copy of the GNU General Public License |
| 17 |
* along with this program; if not, see <http://www.gnu.org/licenses>. |
| 18 |
* |
| 19 |
*/ |
| 20 |
#ifndef RECORD_H |
| 21 |
#define RECORD_H |
| 22 |
#include <X11/extensions/record.h> |
| 23 |
#include "record_event.h" |
| 24 |
|
| 25 |
int RecordEvents(void (*handleEvent)(struct record_event)); |
| 26 |
void StopRecording(void); |
| 27 |
|
| 28 |
void sigint_handler(int sig); |
| 29 |
void SetLastTime(void); |
| 30 |
void SetCurrentTime(void); |
| 31 |
void EventCallback(XPointer p, XRecordInterceptData *idata); |
| 32 |
long GetDelay(void); |
| 33 |
|
| 34 |
#endif /* #ifndef RECORD_H */ |