# 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):


from contacts import contacts
from pisiconstants import *
import pisiprogress
import pisitools
import dbus
(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/>.
"""



DBUS_GSM_DEVICE = ["org.freesmartphone.ogsmd", "/org/freesmartphone/GSM/Device"]
"""Addressing information in DBUS"""
DBUS_SIM = 'org.freesmartphone.GSM.SIM'
"""Addressing information in DBUS"""
DBUS_CONTACTS = 'contacts'
"""Addressing information in DBUS"""
DBUS_NAME_MOBILEPHONE_SUFFIX = '*'
"""String to be appended to an entry when phone number is of type 'mobile'"""
DBUS_NAME_WORKPHONE_SUFFIX = '-'
"""String to be appended to an entry when phone number is of type 'work'"""
DBUS_NAME_HOMEPHONE_SUFFIX = '+'
"""String to be appended to an entry when phone number is of type 'home'"""

PHONE_TYPE_MOBILE = 0
PHONE_TYPE_HOME = 1
PHONE_TYPE_WORK = 2


# 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_dbussim.py
from contacts import contacts
from pisiconstants import *
import pisiprogress
import pisitools
import dbus

(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/>.
"""



DBUS_GSM_DEVICE = ["org.freesmartphone.ogsmd", "/org/freesmartphone/GSM/Device"]
"""Addressing information in DBUS"""
DBUS_SIM = 'org.freesmartphone.GSM.SIM'
"""Addressing information in DBUS"""
DBUS_CONTACTS = 'contacts'
"""Addressing information in DBUS"""
DBUS_NAME_MOBILEPHONE_SUFFIX = '*'
"""String to be appended to an entry when phone number is of type 'mobile'"""
DBUS_NAME_WORKPHONE_SUFFIX = '-'
"""String to be appended to an entry when phone number is of type 'work'"""
DBUS_NAME_HOMEPHONE_SUFFIX = '+'
"""String to be appended to an entry when phone number is of type 'home'"""

PHONE_TYPE_MOBILE = 0
PHONE_TYPE_HOME = 1
PHONE_TYPE_WORK = 2


class SynchronizationModule(contacts.AbstractContactSynchronizationModule):