24#ifndef SYNCMLSTORAGEPROVIDER_H
25#define SYNCMLSTORAGEPROVIDER_H
27#include <buteosyncml5/StorageProvider.h>
32 class PluginCbInterface;
33 class SyncMLStorageProviderTest;
65 bool init( Buteo::Profile* aProfile,
66 Buteo::SyncPluginBase* aPlugin,
67 Buteo::PluginCbInterface* aCbInterface,
68 bool aRequestStorages );
80 DataSync::StorageContentFormatInfo& aInfo );
111 QString getPreferredURINames(
const QString &aURI );
113 DataSync::StoragePlugin* acquireStorage(
const Buteo::Profile* aProfile );
115 Buteo::Profile* iProfile;
116 Buteo::SyncPluginBase* iPlugin;
117 Buteo::PluginCbInterface* iCbInterface;
118 bool iRequestStorages;
122 friend class Buteo::SyncMLStorageProviderTest;
Module that provides storages to libmeegosyncml in syncml client/server plugins.
Definition SyncMLStorageProvider.h:44
bool uninit()
Uninitializes the storage provider.
void setUUID(const QString &aRemoteUUID)
set a UUID for the remote party that initiated sync
virtual ~SyncMLStorageProvider()
Destructor.
bool init(Buteo::Profile *aProfile, Buteo::SyncPluginBase *aPlugin, Buteo::PluginCbInterface *aCbInterface, bool aRequestStorages)
Initializes the storage provider.
virtual DataSync::StoragePlugin * acquireStorageByURI(const QString &aURI)
SyncMLStorageProvider()
Constructor.
virtual void releaseStorage(DataSync::StoragePlugin *aStorage)
virtual DataSync::StoragePlugin * acquireStorageByMIME(const QString &aMIME)
virtual bool getStorageContentFormatInfo(const QString &aURI, DataSync::StorageContentFormatInfo &aInfo)
void setRemoteName(const QString &aRemoteName)
set the name of the remote party that initiated sync