87bb6d12596e50ae226bf5fe9e49751ebcf74c48
[sdlhildon] / atoms.c
1 /* This file is part of SDL_him - SDL Hildon Input Method addon
2  * Copyright (C) 2010 Javier S. Pedro
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Lesser General Public
6  * License as published by the Free Software Foundation; either
7  * version 3 of the License, or (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with this library; if not, write to the
16  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17  * Boston, MA 02111-1307, USA or see <http://www.gnu.org/licenses/>.
18  */
19
20 #include <X11/Xatom.h>
21 #include <hildon-im-protocol.h>
22 #include "atoms.h"
23
24 /* List of interesting X Atom names. See atoms.h, and atoms-*.inc */
25
26 const char * atom_names[HILDON_IM_NUM_ATOMS] = {
27 #define A(atom) HILDON_IM_ ## atom ## _NAME ,
28 #include ATOMS_INC_FILE
29 #undef A
30 };
31
32 Atom atom_values[HILDON_IM_NUM_ATOMS];
33