Initial import of the ircii-pana-1.1-final source tree.

git-svn-id: svn://svn.code.sf.net/p/bitchx/code/tags/ircii-pana-1.1-final@1 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
Kevin Easton
2008-02-25 09:25:32 +00:00
commit 28febcfea9
1429 changed files with 250653 additions and 0 deletions

55
include/keys.h Normal file
View File

@@ -0,0 +1,55 @@
/*
* keys.h: header for keys.c
*
* Copyright 1990 Michael Sandrof
* Copyright 1997 EPIC Software Labs
* See the COPYRIGHT file, or do a HELP IRCII COPYRIGHT
*/
#ifndef __keys_h__
#define __keys_h__
/* I hate typedefs... */
typedef void (*KeyBinding) (char, char *);
BUILT_IN_COMMAND(bindcmd);
BUILT_IN_COMMAND(rbindcmd);
BUILT_IN_COMMAND(parsekeycmd);
BUILT_IN_COMMAND(type);
int get_binding (int, unsigned char,
KeyBinding *, char **);
void save_bindings (FILE *, int);
void init_keys (void);
void init_keys2 (void);
void remove_bindings (void);
void unload_bindings (const char *);
void resize_metamap (int);
void disable_stop (void);
char *convert_to_keystr (char *);
#ifdef GUI
enum MOUSE_ACTIONS {
RCLICK,
STATUSRCLICK,
NICKLISTRCLICK,
LCLICK,
STATUSLCLICK,
NICKLISTLCLICK,
MCLICK,
STATUSMCLICK,
NICKLISTMCLICK,
RDBLCLICK,
STATUSRDBLCLICK,
NICKLISTRDBLCLICK,
LDBLCLICK,
STATUSLDBLCLICK,
NICKLISTLDBLCLICK,
MDBLCLICK,
STATUSMDBLCLICK,
NICKLISTMDBLCLICK,
MAX_MOUSE
};
#endif
#endif /* _KEYS_H_ */