Akonadi::DifferencesAlgorithmInterface Class Reference
#include <differencesalgorithminterface.h>
Public Member Functions | |
virtual | ~DifferencesAlgorithmInterface () |
virtual void | compare (AbstractDifferencesReporter *reporter, const Akonadi::Item &leftItem, const Akonadi::Item &rightItem)=0 |
Detailed Description
An interface to find out differences between two Akonadi objects.
- Since:
- 4.6
Definition at line 37 of file differencesalgorithminterface.h.
Constructor & Destructor Documentation
virtual Akonadi::DifferencesAlgorithmInterface::~DifferencesAlgorithmInterface | ( | ) | [inline, virtual] |
Destroys the differences algorithm interface.
Definition at line 43 of file differencesalgorithminterface.h.
Member Function Documentation
virtual void Akonadi::DifferencesAlgorithmInterface::compare | ( | AbstractDifferencesReporter * | reporter, |
const Akonadi::Item & | leftItem, | ||
const Akonadi::Item & | rightItem | ||
) | [pure virtual] |
Calculates the differences between two Akonadi objects and reports them to a reporter object.
- Parameters:
-
reporter The reporter object that will be used for reporting the differences. leftItem The left-hand side item that will be compared. rightItem The right-hand side item that will be compared.
The documentation for this class was generated from the following file: