X-Git-Url: http://git.maemo.org/git/?p=python-purple;a=blobdiff_plain;f=libpurple%2Fstatus.pxd;fp=libpurple%2Fstatus.pxd;h=86a6554d781442e116df25a40c5c268799958794;hp=0000000000000000000000000000000000000000;hb=7f9bbfa5e0f087ba5a5c1367ab1bea72f53573d0;hpb=a29730a9b6c00cfeaacc64311349df4da9ce1c8b diff --git a/libpurple/status.pxd b/libpurple/status.pxd new file mode 100644 index 0000000..86a6554 --- /dev/null +++ b/libpurple/status.pxd @@ -0,0 +1,29 @@ +# +# Copyright (c) 2008 INdT - Instituto Nokia de Tecnologia +# +# This file is part of python-purple. +# +# python-purple is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# python-purple is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# + +cdef extern from "libpurple/status.h": + ctypedef struct PurplePresence: + pass + + ctypedef struct PurpleSavedStatus: + pass + + ctypedef int PurpleStatusPrimitive + PurpleSavedStatus *c_purple_savedstatus_new "purple_savedstatus_new" (const_char_ptr title, PurpleStatusPrimitive type) + void c_purple_savedstatus_activate "purple_savedstatus_activate" (PurpleSavedStatus *saved_status)