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:
parent
b6861ed768
commit
cbc02d2fc8
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue