PageRenderTime 323ms CodeModel.GetById 141ms app.highlight 2ms RepoModel.GetById 119ms app.codeStats 0ms

/src/scim-python-attribute.h

http://scim-python.googlecode.com/
C++ Header | 38 lines | 10 code | 4 blank | 24 comment | 0 complexity | cef998f427c64430f69bffef385cde2e 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_ATTRIBUTE_H_
26#define __SCIM_PYTHON_ATTRIBUTE_H_
27#define Uses_SCIM_ATTRIBUTE
28#include <Python.h>
29#include <scim.h>
30
31using namespace scim;
32
33void init_attribute (PyObject *module);
34Attribute Attribute_FromPyObject (PyObject *object);
35
36AttributeList Attributes_FromTupleOrList (PyObject *object);
37
38#endif /*__SCIM_PYTHON_ATTRIBUTE_H_*/