1 /***** 2 * Xnee's Not an Event Emulator 3 * 4 * Xnee enables recording and replaying of X protocol data 5 * 6 * Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 7 * 2009, 2010 Henrik Sandklef 8 * 9 * This program is free software; you can redistribute it and/or 10 * modify it under the terms of the GNU General Public License 11 * as published by the Free Software Foundation; either version 3 12 * of the License, or any later version. 13 * 14 * 15 * This program is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU General Public License for more details. 19 * 20 * You should have received a copy of the GNU General Public License 21 * along with this program; if not, write to the Free Software 22 * Foundation, Inc., 51 Franklin Street, Boston, 23 * MA 02110-1301, USA. 24 ****/ 25 26 #ifndef XNEE_XNEE_STRINGS_H 27 #define XNEE_XNEE_STRINGS_H 28 29 #include "libxnee/xnee.h" 30 31 extern const char* XNEE_EMPTY_STRING ; 32 33 extern const char* XNEE_COMMENT_START_STR ; 34 extern const char XNEE_COMMENT_START_CHAR ; 35 36 extern const char* XNEE_HOME_URL ; 37 extern const char* XNEE_MAIL ; 38 extern const char* XNEE_AUTHORS ; 39 extern const char* XNEE_BUG_MAIL ; 40 extern const char* XNEE_DEVEL_MAIL ; 41 extern const char* GNU_HOME_URL ; 42 extern const char* FSF_HOME_URL ; 43 extern const char* XNEE_PLUGIN_DIR ; 44 extern const char* XNEE_RESOURCE_DIR ; 45 46 47 extern const char* XNEE_ERR_FILE ; 48 extern const char* XNEE_OUT_FILE ; 49 50 extern const char* XNEE_DISPLAY ; 51 extern const char* XNEE_FIRST_LAST ; 52 extern const char* XNEE_ALL_EVENTS ; 53 extern const char* XNEE_ALL_CLIENTS ; 54 extern const char* XNEE_FUTURE_CLIENTS ; 55 extern const char* XNEE_DIMENSION ; 56 extern const char* XNEE_EVENT_MAX ; 57 extern const char* XNEE_DATA_MAX ; 58 extern const char* XNEE_TIME_MAX ; 59 extern const char* XNEE_LOOPS_LEFT ; 60 extern const char* XNEE_STOP_KEY ; 61 extern const char* XNEE_PAUSE_KEY ; 62 extern const char* XNEE_RESUME_KEY ; 63 extern const char* XNEE_INSERT_KEY ; 64 extern const char* XNEE_EXEC_KEY ; 65 extern const char* XNEE_EXEC_PROGRAM ; 66 extern const char* XNEE_EXEC_NO_PROG ; 67 extern const char* XNEE_EXEC_MARK ; 68 extern const char* XNEE_NEW_WINDOW_MARK ; 69 extern const char* XNEE_NEW_WINDOW ; 70 extern const char* XNEE_EVERYTHING ; 71 extern const char* XNEE_DELAY_TIME ; 72 extern const char* XNEE_SPEED_PERCENT ; 73 extern const char* XNEE_RECORDED_RESOLUTION ; 74 extern const char* XNEE_REPLAY_RESOLUTION ; 75 extern const char* XNEE_ADJUST_RESOLUTION ; 76 extern const char* XNEE_DISTRIBUTE ; 77 extern const char* XNEE_NO_EXPOSE ; 78 extern const char* XNEE_NO_SYNC_MODE ; 79 extern const char* XNEE_REPLAY_OFFSET ; 80 extern const char* XNEE_USE_SYNC ; 81 extern const char* XNEE_SYNC_MODE ; 82 extern const char* XNEE_RECALL_WINDOW_POS ; 83 extern const char* XNEE_HUMAN_PRINTOUT ; 84 extern const char* XNEE_LOOPS ; 85 extern const char* XNEE_FORCE_REPLAY ; 86 extern const char* XNEE_RESOURCE ; 87 extern const char* XNEE_PLUGIN ; 88 extern const char* XNEE_ERROR_FD ; 89 extern const char* XNEE_VERBOSE ; 90 extern const char* XNEE_BUFFER_VERBOSE ; 91 extern const char* XNEE_MOUSE ; 92 extern const char* XNEE_KEYBOARD ; 93 extern const char* XNEE_STORE_MOUSE_POS ; 94 extern const char* XNEE_FEEDBACK_XOSD ; 95 extern const char* XNEE_XOSD_FONT ; 96 extern const char* XNEE_FEEDBACK_STDERR ; 97 extern const char* XNEE_FEEDBACK_NONE ; 98 99 extern const char* XNEE_REQUEST_STR ; 100 extern const char* XNEE_REPLIES_STR ; 101 extern const char* XNEE_DEVICE_EVENT_STR ; 102 extern const char* XNEE_DELIVERED_EVENT_STR ; 103 extern const char* XNEE_ERROR_STR ; 104 extern const char* XNEE_REPLY_STR ; 105 extern const char* XNEE_EXT_REQ_MAJ_STR ; 106 extern const char* XNEE_EXT_REQ_MIN_STR ; 107 extern const char* XNEE_EXT_REP_MAJ_STR ; 108 extern const char* XNEE_EXT_REP_MIN_STR ; 109 extern const char* XNEE_META_END ; 110 111 extern const char* XNEE_MAX_THRESHOLD ; 112 extern const char* XNEE_MIN_THRESHOLD ; 113 extern const char* XNEE_TOT_THRESHOLD ; 114 115 extern const char* XNEE_REPLAY_CALLBACK_NAME ; 116 extern const char* XNEE_RECORD_CALLBACK_NAME ; 117 extern const char* XNEE_SYNC_FUNCTION_NAME ; 118 119 extern const char* EXT_REPLAY_CALLBACK_NAME ; 120 extern const char* EXT_RECORD_CALLBACK_NAME ; 121 extern const char* EXT_SYNC_FUNCTION_NAME ; 122 123 extern const char* XNEE_FAKE_MOTION ; 124 extern const char* XNEE_FAKE_X_ARG ; 125 extern const char* XNEE_FAKE_Y_ARG ; 126 127 extern const char* XNEE_FAKE_BUTTON_PRESS ; 128 extern const char* XNEE_FAKE_BUTTON_RELEASE ; 129 extern const char* XNEE_FAKE_BUTTON ; 130 extern const char* XNEE_FAKE_BUTTON_ARG ; 131 132 extern const char* XNEE_FAKE_KEY_PRESS ; 133 extern const char* XNEE_FAKE_KEY_RELEASE ; 134 extern const char* XNEE_FAKE_KEY ; 135 extern const char* XNEE_FAKE_KEY_ARG ; 136 137 extern const char* XNEE_FAKE_MSEC_SLEEP ; 138 139 extern const char* XNEE_TRUE_STRING ; 140 extern const char* XNEE_1_STRING ; 141 extern const char* XNEE_FALSE_STRING ; 142 extern const char* XNEE_0_STRING ; 143 144 extern const char* XNEE_XK_ALT_L ; 145 extern const char* XNEE_XK_ALT_R ; 146 extern const char* XNEE_XK_RETURN ; 147 extern const char* XNEE_XK_SPACE ; 148 149 extern const char* XNEE_XK_UP ; 150 extern const char* XNEE_XK_DOWN ; 151 extern const char* XNEE_XK_LEFT ; 152 extern const char* XNEE_XK_RIGHT ; 153 154 155 156 157 158 extern const char* XNEE_SYMBOLIC_ALT ; 159 extern const char* XNEE_SYMBOLIC_CONTROL ; 160 extern const char* XNEE_SYMBOLIC_SCROLL ; 161 extern const char* XNEE_SYMBOLIC_CAPS ; 162 extern const char* XNEE_SYMBOLIC_SHIFT ; 163 164 extern const char* XNEE_REAL_ALT ; 165 extern const char* XNEE_REAL_CONTROL ; 166 extern const char* XNEE_REAL_SCROLL ; 167 extern const char* XNEE_REAL_CAPS ; 168 extern const char* XNEE_REAL_SHIFT ; 169 170 extern const char* XNEE_XINPUT_EXTENSION_NAME ; 171 172 extern const char* NULL_STRING ; 173 174 extern const char* XNEE_REPLAY_XNEE_STRING ; 175 extern const char* XNEE_REPLAY_SWINPUT_STRING; 176 177 #define EMPTY_IF_NULL(a) (a?a:XNEE_EMPTY_STRING) 178 179 #endif /* XNEE_XNEE_STRINGS_H */ 180