File diff r23537:f6a6d4ce4bd5 → r23538:8df50944b27a
src/hotkeys.h
Show inline comments
 
@@ -20,25 +20,25 @@
 
/**
 
 * All data for a single hotkey. The name (for saving/loading a configfile),
 
 * a list of keycodes and a number to help identifying this hotkey.
 
 */
 
struct Hotkey {
 
	Hotkey(uint16 default_keycode, const char *name, int num);
 
	Hotkey(const uint16 *default_keycodes, const char *name, int num);
 

	
 
	void AddKeycode(uint16 keycode);
 

	
 
	const char *name;
 
	int num;
 
	SmallVector<uint16, 1> keycodes;
 
	std::vector<uint16> keycodes;
 
};
 

	
 
#define HOTKEY_LIST_END Hotkey((uint16)0, NULL, -1)
 

	
 
struct IniFile;
 

	
 
/**
 
 * List of hotkeys for a window.
 
 */
 
struct HotkeyList {
 
	typedef EventState (*GlobalHotkeyHandlerFunc)(int hotkey);