mark PurpleImageClass as private
[pidgin-git.git] / libpurple / protocols / gg / keymapper.h
blob569081ac3c322a0c5e3a5f3cc4860cda94ed0144
1 /* purple
3 * Purple is the legal property of its developers, whose names are too numerous
4 * to list here. Please refer to the COPYRIGHT file distributed with this
5 * source distribution.
7 * Component written by Tomek Wasilczyk (http://www.wasilczyk.pl).
9 * This file is dual-licensed under the GPL2+ and the X11 (MIT) licences.
10 * As a recipient of this file you may choose, which license to receive the
11 * code under. As a contributor, you have to ensure the new code is
12 * compatible with both.
14 * This program is free software; you can redistribute it and/or modify
15 * it under the terms of the GNU General Public License as published by
16 * the Free Software Foundation; either version 2 of the License, or
17 * (at your option) any later version.
19 * This program is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 * GNU General Public License for more details.
24 * You should have received a copy of the GNU General Public License
25 * along with this program; if not, write to the Free Software
26 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
29 #ifndef PURPLE_GG_KEYMAPPER_H
30 #define PURPLE_GG_KEYMAPPER_H
32 typedef struct _ggp_keymapper ggp_keymapper;
34 #include <purple.h>
36 ggp_keymapper *
37 ggp_keymapper_new(void);
39 void
40 ggp_keymapper_free(ggp_keymapper *km);
42 gpointer
43 ggp_keymapper_to_key(ggp_keymapper *km, guint64 val);
45 /* The key have to be valid. */
46 guint64
47 ggp_keymapper_from_key(ggp_keymapper *km, gpointer key);
49 #endif /* PURPLE_GG_KEYMAPPER_H */