# Path: contacts/contacts.py
# PHONE_PREFIX = "tel:"
# class Contact(pisiinterfaces.Syncable):
# class AbstractContactSynchronizationModule(pisiinterfaces.AbstractSynchronizationModule):
#     def __init__(self, id, attributes):
#     def compare(self,  contactEntry):
#     def __init__(self,  verbose,  soft,  modulesString,  config,  configsection,  name = "unkown contact source"):
#     def allContacts( self ):
#     def getContact(self,  id):
#     def flush(self):
#     def addContact( self, contactInstance ):
#     def replaceContact( self, id, updatedContact):
#     def removeContact( self, id ):
#     def _prefixNumbers(self, atts):
#     def _dePrefixNumbers(self, atts):
# def _safeString(st,  replacement = ""):
# def assembleID(contactAtts):


import sys,os,datetime
import pisiprogress
import pisitools
import atom
import gdata.contacts
import gdata.contacts.service
import gdata.service
from contacts import contacts
from pisiconstants import *
"""
Syncronize with Google Contacts

This file is part of Pisi.

Google provides a really straight forward API for accessing their contact information (gdata). 
U{http://code.google.com/p/gdata-python-client/}. It is used for this implementation - the site package 
has to be installed.

Pisi 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.

Pisi 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 Pisi.  If not, see <http://www.gnu.org/licenses/>.
"""

# Allows us to import event
sys.path.insert(0,os.path.abspath(__file__+"/../.."))



# Path: contacts/contacts.py
# PHONE_PREFIX = "tel:"
# class Contact(pisiinterfaces.Syncable):
# class AbstractContactSynchronizationModule(pisiinterfaces.AbstractSynchronizationModule):
#     def __init__(self, id, attributes):
#     def compare(self,  contactEntry):
#     def __init__(self,  verbose,  soft,  modulesString,  config,  configsection,  name = "unkown contact source"):
#     def allContacts( self ):
#     def getContact(self,  id):
#     def flush(self):
#     def addContact( self, contactInstance ):
#     def replaceContact( self, id, updatedContact):
#     def removeContact( self, id ):
#     def _prefixNumbers(self, atts):
#     def _dePrefixNumbers(self, atts):
# def _safeString(st,  replacement = ""):
# def assembleID(contactAtts):


# Path: modules/contacts_google.py
import sys,os,datetime
import pisiprogress
import pisitools
import atom
import gdata.contacts
import gdata.contacts.service
import gdata.service
from contacts import contacts
from pisiconstants import *

"""
Syncronize with Google Contacts

This file is part of Pisi.

Google provides a really straight forward API for accessing their contact information (gdata). 
U{http://code.google.com/p/gdata-python-client/}. It is used for this implementation - the site package 
has to be installed.

Pisi 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.

Pisi 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 Pisi.  If not, see <http://www.gnu.org/licenses/>.
"""

# Allows us to import event
sys.path.insert(0,os.path.abspath(__file__+"/../.."))



class SynchronizationModule(contacts.AbstractContactSynchronizationModule, pisitools.GDataSyncer):