📄 syncapp-h.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><!-- /home/edba/dist/qtopia/main-Sunday/qtopia/src/qtopiadesktop/include/interfaces/syncapp.h:1 --><html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>syncapp.h Include File</title><style type="text/css"><!--h3.fn,span.fn { margin-left: 1cm; text-indent: -1cm; }a:link { color: #004faf; text-decoration: none }a:visited { color: #672967; text-decoration: none }body { background: #ffffff; color: black; }--></style></head><body><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td width="200" align="left" valign="top"><a href="index.html"><img height="27" width="472" src="dochead.png" border="0"></a><br><font face="Arial,Helvetica,Geneva,Swiss,SunSans-Regular" align="center" size=32>Qtopia</font> <a href="index.html">Home</a> - <a href="qtopiaclasses.html">Classes</a> - <a href="qtopiaannotated.html">Annotated</a> - <a href="qtopiafunctions.html">Functions</a> - <a href="qtindex.html">Qt Embedded</a></td><td align="right" valign="top"> <table border="0" cellpadding="0" cellspacing="0" width="137"> <tr> <td><a href="http://www.trolltech.com/company/about/trolls.html"><img height="100" width="100" src="face.png" border="0"></a></td> <td><img height="100" width="100" src="qtlogo.png" align="top" border="0"></td> </tr> </table></td></tr></table><h1 align=center>syncapp.h</h1><p>This is the verbatim text of the syncapp.h include file. It is provided only for illustration; the copyright remains with Trolltech.<hr><pre>/************************************************************************ 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 qd__syncappinterface_h#define qd__syncappinterface_h#include <private/qcom_p.h>#include <qstring.h>#include <qcstring.h>#include <qvaluelist.h>#include <qmap.h>#include <qpair.h>namespace MergeML { class Record; class Change; }struct CenterInterface;// {8F107712-ACFD-11D5-923F-009027BEB262}#ifndef IID_SyncAppInterface#define IID_SyncAppInterface QUuid( 0x8f107712, 0xacfd, 0x11d5, 0x92, 0x3f, 0x00, 0x90, 0x27, 0xbe, 0xb2, 0x62)#endifstruct SyncAppInterface : public QUnknownInterface{ virtual void start( CenterInterface* ) = 0; enum MergeAction { AutoMerge, ManualMerge, Conflicting }; virtual MergeAction merge( const MergeML::Change &rec1, const MergeML::Change &rec2, QValueList<MergeML::Change> &manualMergeOut ) = 0; virtual bool mergeChangeChange() const = 0; virtual void done() = 0; virtual QValueList<MergeML::Record> load( const QString &dataset, const QString &filename ) const=0; virtual void save( const QString &dataset, const QString &filename, const QValueList<MergeML::Record> & ) = 0; enum FileLocation { Settings, Application, InvalidFileLocation }; /** Returns empty string if dataSet is not supported for load or save * or the filename without a directory (such as "addressbook.xml") */ virtual QPair<QString,FileLocation> fileForDataSet( const QString &dataSet ) const = 0; virtual QMap<int, int> uniqueness( const QString &dataSet ) const = 0; virtual QString keyName( const QString &dataset, int key) const = 0; virtual int key( const QString &dataset, const QString &keyString ) const = 0; virtual QString palmtopApplicationName() const = 0; virtual QString name() const = 0;};#define nullFileSet QPair<QString,FileLocation>(QString::null, SyncAppInterface::InvalidFileLocation)#endif</pre><!-- eof --><p><address><hr><div align="center"><table width="100%" cellspacing="0" border="0"><tr><td>Copyright © 2001-2004 Trolltech<td><a href="http://www.trolltech.com/trademarks.html">Trademarks</a><td align="right"><div align="right">Qtopia version 2.0.0</div></table></div></address></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -