Qt API | Qtopia API Qtopia Documentation

merge.h

This is the verbatim text of the merge.h include file. It is provided only for illustration; the copyright remains with Trolltech.


/**********************************************************************
** Copyright (C) 2000-2002 Trolltech AS.  All rights reserved.
**
** This file is part of the Qtopia Environment.
**
** Licensees holding valid Qtopia Developer license may use this
** file in accordance with the Qtopia Developer License Agreement
** provided with the Software.
**
** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING
** THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR
** PURPOSE.
**
** email sales@trolltech.com for information about Qtopia License
** Agreements.
**
** Contact info@trolltech.com if any conditions of this licensing are
** not clear to you.
**
**********************************************************************/

#ifndef __mergeinterface_h__
#define __mergeinterface_h__

#include <private/qcom_p.h>
#include <qstring.h>
#include <qvaluelist.h>
#include <qstringlist.h>

namespace MergeML {
    class Record;
    class Change;
}

// {A51C6A66-ACFD-11D5-923F-009027BEB262}
#ifndef IID_MergeInterface
#define IID_MergeInterface QUuid( 0xa51c6a66, 0xacfd, 0x11d5, 0x92, 0x3f, 0x00, 0x90, 0x27, 0xbe, 0xb2, 0x62)
#endif
struct CenterInterface;
class MergeProgress;
struct MergeInterface : public QComponentInformationInterface
{
    virtual void setup( CenterInterface *center, MergeProgress *p ) = 0;

    virtual bool data( const QString &dataSet,
		       QValueList<MergeML::Record> &outRecs)= 0;

    virtual bool applyChanges( const QString &dataSet,
			       const QValueList<MergeML::Change> &changes ) = 0;

    virtual QString pluginApplicationName() const  = 0;
    virtual QString palmtopApplicationName() const = 0;

    virtual QStringList dataSets() const = 0;

    virtual void reassignCategory( int oldCatId, int newCatId, 
				   const QString &oldName, const QString &newName ) = 0;
};

#endif


Copyright © 2001-2002 TrolltechTrademarks
Qtopia version 1.6.2