ec21c97e10abfebbcc92f3689b11fb480c02d3e9
[python-purple] / purple.pyx
1 #
2 #  Copyright (c) 2008 INdT - Instituto Nokia de Tecnologia
3 #
4 #  This file is part of python-purple.
5 #
6 #  python-purple is free software: you can redistribute it and/or modify
7 #  it under the terms of the GNU General Public License as published by
8 #  the Free Software Foundation, either version 3 of the License, or
9 #  (at your option) any later version.
10 #
11 #  python-purple is distributed in the hope that it will be useful,
12 #  but WITHOUT ANY WARRANTY; without even the implied warranty of
13 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 #  GNU General Public License for more details.
15 #
16 #  You should have received a copy of the GNU General Public License
17 #  along with this program.  If not, see <http://www.gnu.org/licenses/>.
18 #
19
20 cdef extern from *:
21     ctypedef char* const_char_ptr "const char *"
22
23 cdef extern from "time.h":
24     ctypedef long int time_t
25
26 class Core(object):
27     def init(self):
28         init_libpurple()
29
30 include "c_purple.pxd"
31 #include "glib.pxd"
32 #include "core/account.pxd"
33 #include "core/blist.pxd"
34 #include "core/connection.pxd"
35 #include "core/core.pxd"
36 #include "core/debug.pxd"
37 #include "core/eventloop.pxd"
38 #include "core/idle.pxd"
39 #include "core/plugin.pxd"
40 #include "core/pounce.pxd"
41 #include "core/prefs.pxd"
42 #include "core/util.pxd"