Qtopia Home - Classes - Hierachy - Annotated - Functions - Licenses - Reference |
|
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-2005 Trolltech AS. All rights reserved.
**
** This file is part of the Qtopia Environment.
**
** Licensees holding a valid license agreement from Trolltech or any of its
** authorized distributors may use this file in accordance with
** the License Agreement provided with the Licensed 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.
**
** See http://www.trolltech.com/pricing.html or email sales@trolltech.com for
** information about Trolltech's Commercial License Agreements.
**
** Contact info@trolltech.com if any conditions of this licensing are
** not clear to you.
**
**********************************************************************/
#ifndef __mergeinterface_h__
#define __mergeinterface_h__
#include <interfaces/pluginbase.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 QDPluginBase
{
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 © 2005 Trolltech | Trademarks | Qtopia version 2.2.0
|