PageRenderTime 32ms CodeModel.GetById 12ms RepoModel.GetById 1ms app.codeStats 0ms

/src/scim-python-config.h

http://scim-python.googlecode.com/
C Header | 37 lines | 10 code | 3 blank | 24 comment | 0 complexity | df7ac2a5ca11c699d3a33b71ed058ceb 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_CONFIG_H_
  26. #define __SCIM_PYTHON_CONFIG_H_
  27. #define Uses_SCIM_CONFIG_BASE
  28. #include <Python.h>
  29. #include <scim.h>
  30. using namespace scim;
  31. PyObject *PyConfig_New (const ConfigPointer &config);
  32. const ConfigPointer &PyConfig_from_pyobject (PyObject *config);
  33. void init_config (PyObject *module);
  34. #endif /*__SCIM_PYTHON_CONFIG_H_*/