23 namespace OpenAB_Source {
206 #endif // SOURCE_HPP_
Definition: Source.hpp:126
virtual ~Source()
Destructor, virtual by default.
Definition: Source.hpp:89
eCancelRet
Definition: Source.hpp:138
eResumeRet
Definition: Source.hpp:123
virtual enum eCancelRet cancel()=0
Cancels Source, if such operation is supported. After canceling Source next call to getVCard() should...
Definition: Source.hpp:111
Definition: Source.hpp:139
Definition: Source.hpp:110
eSuspendRet
Definition: Source.hpp:108
virtual enum eResumeRet resume()=0
Resumes Source, if such operation is supported.
Definition: Source.hpp:95
Definition: Source.hpp:96
Documentation for Source plugin interface.
Definition: Source.hpp:76
eGetItemRet
Definition: Source.hpp:155
Definition: Source.hpp:124
virtual enum eGetItemRet getItem(OpenAB::SmartPtr< OpenAB::PIMItem > &item)=0
Gets PIM Item from Source. If Source is suspended getItem() should block until Source will be resumed...
PIMItemType
Definition: PIMItemIndex.hpp:24
Definition: Source.hpp:141
Source(OpenAB::PIMItemType t)
Constructor.
Definition: Source.hpp:83
Definition: Source.hpp:156
OpenAB_Plugin::GenericParameters Parameters
Use generic parameters.
Definition: Source.hpp:70
Definition: Source.hpp:140
Definition: Source.hpp:125
eInit
Definition: Source.hpp:94
virtual enum eInit init()=0
Initializes Source.
Definition: Source.hpp:158
OpenAB::PIMItemType getItemType() const
Returns type of PIM Item supported by Source.
Definition: Source.hpp:183
DECLARE_PLUGIN_INTERFACE(OpenAB_Source, Source, Parameters)
Generic storage for plugin parameters. Allows to store map of parameters with different types (OpenAB...
Definition: GenericParameters.hpp:25
Definition: Source.hpp:157
virtual int getTotalCount() const =0
Returns total count of items available from Source, if such information is available.
Definition: Source.hpp:109
virtual enum eSuspendRet suspend()=0
Suspends Source, if such operation is supported.