projects
/
python-purple
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Nullclient.py: changing mainloop
[python-purple]
/
core
/
connection.pxd
diff --git
a/core/connection.pxd
b/core/connection.pxd
index
0504324
..
48893da
100644
(file)
--- a/
core/connection.pxd
+++ b/
core/connection.pxd
@@
-18,19
+18,13
@@
#
cdef extern from "libpurple/connection.h":
#
cdef extern from "libpurple/connection.h":
- ctypedef struct PurpleConnection:
- pass
+ cdef struct PurpleConnection
- PurpleAccount* c_purple_connection_get_account "purple_connection_get_account" (PurpleConnection *gc)
+ void connect_to_signals_for_demonstration_purposes_only()
-class Connection(object):
+cdef class Connection:
""" Connection class """
""" Connection class """
+ cdef PurpleConnection *__conn
- def __init__(self):
- purple_connection = None
-
- # FIXME
- """
- def purple_connection_get_account(gc):
- return purple_connection_get_account(gc)
- """
+ def connect(self):
+ connect_to_signals_for_demonstration_purposes_only()