/src/scim-python.h

http://scim-python.googlecode.com/ · C Header · 47 lines · 19 code · 4 blank · 24 comment · 0 complexity · 18bfe8597e61ce7e3ee5fae7b1b70b35 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_H_
  26. #define __SCIM_PYTHON_H_
  27. #include <../config.h>
  28. #include <Python.h>
  29. #define Uses_SCIM_CONFIG_BASE
  30. #define Uses_SCIM_HELPER_MODULE
  31. #include <scim.h>
  32. #include <libintl.h>
  33. #define _(a) dgettext(GETTEXT_PACKAGE, a)
  34. #define N_(a) (a)
  35. #include "scim-python-engine.h"
  36. #include "scim-python-factory.h"
  37. #include "scim-python-helper.h"
  38. #include "scim-python-config.h"
  39. #include "scim-python-event.h"
  40. #include "scim-python-property.h"
  41. #include "scim-python-attribute.h"
  42. #include "scim-python-lookup-table.h"
  43. #endif