X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=src%2Fevo_backend.py;h=0b71ebf31e56ace86871c591261ec1544fa5ff72;hb=20103e0bd255a29d7ef9558fdbdd3a780ddb07da;hp=0c6464516850b2378bf2706ad69b83b94f491232;hpb=3ca7385bd450cee5f6226de8456ff7e538c01127;p=gc-dialer diff --git a/src/evo_backend.py b/src/evo_backend.py index 0c64645..0b71ebf 100644 --- a/src/evo_backend.py +++ b/src/evo_backend.py @@ -1,27 +1,26 @@ #!/usr/bin/python -# DialCentral - Front end for Google's Grand Central service. -# Copyright (C) 2008 Eric Warnke ericew AT gmail DOT com -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or (at your option) any later version. -# -# This library 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 -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +""" +DialCentral - Front end for Google's Grand Central service. +Copyright (C) 2008 Eric Warnke ericew AT gmail DOT com +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License as published by the Free Software Foundation; either +version 2.1 of the License, or (at your option) any later version. + +This library 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 +Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public +License along with this library; if not, write to the Free Software +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -""" Evolution Contact Support -It seems the evolution contact API used is specific to the desktop. evolution.ebook combined with abook is what is needed for Maemo. +@bug It seems the evolution contact API used is specific to the desktop. evolution.ebook combined with abook is what is needed for Maemo. http://maemo.org/maemo_release_documentation/maemo4.1.x/node8.html#SECTION00870000000000000000 https://garage.maemo.org/svn/pymaemo/packages/python-abook/trunk/tests/ especially contact_get_iter amd filter_model http://pymaemo.garage.maemo.org/documentation/api/abook/index.html @@ -55,6 +54,7 @@ class EvolutionAddressBook(object): except IndexError: global evolution evolution = None + return self._book = evolution.ebook.open_addressbook(self._bookId) @classmethod @@ -84,6 +84,9 @@ class EvolutionAddressBook(object): def contact_source_short_name(contactId): return "Evo" + def clear_caches(self): + pass + @staticmethod def factory_name(): return "Evolution"