from org.maemo.hermes.gui.mapcontact import MapContact
from org.maemo.hermes.gui.accountsdialogue import AccountsDialogue
from org.bleb.wimpworks import HildonMainScreenLayout
+from org.maemo.hermes.engine.syncjob import SyncJob
#from hermes import Hermes ### FIXME This needs to be new
class HermesGUI(WimpWorks):
services.append(provider.service(self))
print services
+ class FakeContact():
+ def get_name(self):
+ return "Fredrik Wendt"
+ def get_emails(self):
+ return ["fredrik@wendt.se","maemohermes@wendt.se"]
+ self._sync_job = SyncJob(services, [FakeContact()], self.progress)
+ self._sync_job.run()
+ self._sync_job.get_unmatched_friends()
+ self._sync_job.get_updated_contacts()
+ self._sync_job.get_matched_contacts()
raise Exception("TODO - implement syncing")
except urllib2.HTTPError, e: