2005-07-25 00:41:51 -07:00
|
|
|
/*
|
2006-05-08 21:57:16 -07:00
|
|
|
* mooaccel.h
|
2005-07-25 00:41:51 -07:00
|
|
|
*
|
2006-02-23 06:03:17 -08:00
|
|
|
* Copyright (C) 2004-2006 by Yevgen Muntyan <muntyan@math.tamu.edu>
|
2005-07-25 00:41:51 -07:00
|
|
|
*
|
|
|
|
* 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.
|
|
|
|
*
|
|
|
|
* See COPYING file that comes with this distribution.
|
|
|
|
*/
|
|
|
|
|
2006-08-15 00:09:09 -07:00
|
|
|
#ifndef __MOO_ACCEL_H__
|
|
|
|
#define __MOO_ACCEL_H__
|
2005-07-25 00:41:51 -07:00
|
|
|
|
2006-08-15 00:09:09 -07:00
|
|
|
#include <glib.h>
|
2005-07-25 00:41:51 -07:00
|
|
|
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
|
|
|
|
|
2006-08-15 00:09:09 -07:00
|
|
|
void _moo_accel_register (const char *accel_path,
|
|
|
|
const char *default_accel);
|
2005-07-25 00:41:51 -07:00
|
|
|
|
2006-08-15 00:09:09 -07:00
|
|
|
const char *_moo_get_accel (const char *accel_path);
|
|
|
|
const char *_moo_get_default_accel (const char *accel_path);
|
2005-07-25 00:41:51 -07:00
|
|
|
|
2006-08-15 00:09:09 -07:00
|
|
|
void _moo_modify_acel (const char *accel_path,
|
|
|
|
const char *new_accel);
|
2005-10-13 07:08:18 -07:00
|
|
|
|
2006-08-15 00:09:09 -07:00
|
|
|
char *_moo_accel_normalize (const char *accel);
|
|
|
|
char *_moo_get_accel_label (const char *accel);
|
2005-07-25 00:41:51 -07:00
|
|
|
|
|
|
|
|
|
|
|
G_END_DECLS
|
|
|
|
|
2006-08-15 00:09:09 -07:00
|
|
|
#endif /* __MOO_ACCEL_H__ */
|