PageRenderTime 253ms CodeModel.GetById 121ms app.highlight 1ms RepoModel.GetById 130ms app.codeStats 0ms

/src/scim-python-event.h

http://scim-python.googlecode.com/
C++ Header | 36 lines | 9 code | 3 blank | 24 comment | 0 complexity | 619d3668b3a4e367b3607514691b489a MD5 | raw file
 1/* vim:set noet ts=4: */
 2/** 
 3 * scim-python
 4 * 
 5 * Copyright (c) 2007-2008 Huang Peng <shawn.p.huang@gmail.com>
 6 *
 7 *
 8 * This library is free software; you can redistribute it and/or
 9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; either
11 * version 2 of the License, or (at your option) any later version.
12 *
13 * This library is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 * GNU Lesser General Public License for more details.
17 *
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with this program; if not, write to the
20 * Free Software Foundation, Inc., 59 Temple Place, Suite 330,
21 * Boston, MA  02111-1307  USA
22 *
23 * $Id: $
24 */
25#ifndef __SCIM_PYTHON_EVENT_H_
26#define __SCIM_PYTHON_EVENT_H_
27#define Uses_SCIM_EVENT
28#include <Python.h>
29#include <scim.h>
30using namespace scim;
31
32
33PyObject *PyKeyEvent_New (const KeyEvent &key);
34void init_event (PyObject *module);
35
36#endif /*__SCIM_PYTHON_EVENT_H_*/