SQLite backend: adapted to SyncSource API changes

Failed to build because getPeerMimeType() now uses
a std::string as return type. getMimeType[Version]()
are no longer needed for sources derived from SyncSource.
This commit is contained in:
Patrick Ohly 2011-05-02 20:29:56 +08:00
parent b6861ed768
commit cbc02d2fc8
1 changed files with 1 additions and 3 deletions

View File

@ -83,11 +83,9 @@ class SQLiteContactSource : public SyncSource,
virtual void open();
virtual void close();
virtual Databases getDatabases();
virtual const char *getMimeType() const { return "text/x-vcard"; }
virtual const char *getMimeVersion() const { return "2.1"; }
virtual void enableServerMode();
virtual bool serverModeEnabled() const;
virtual const char *getPeerMimeType() const {return getMimeType(); }
virtual std::string getPeerMimeType() const { return "text/x-vcard"; }
/* Methods in SyncSource */
virtual void getSynthesisInfo (SynthesisInfo &info, XMLConfigFragments &fragment);