| Qt API | Qtopia API | Qtopia Documentation |
This is the verbatim text of the center.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 __centerinterface_h__
#define __centerinterface_h__
#include <private/qcom_p.h>
#include <qtopia/qpeglobal.h>
// {70BA0E41-5932-4DC5-904A-F4C6AE3C2D0F}
#ifndef IID_PalmtopCenter
#define IID_PalmtopCenter QUuid( 0x70ba0e41, 0x5932, 0x4dc5, 0x90, 0x4a, 0xf4, 0xc6, 0xae, 0x3c, 0x2d, 0x0f)
#endif
class FileSystemOperator;
class Categories;
class EditCategoriesDialog;
class QAction;
struct CenterInterface : public QUnknownInterface
{
QPC_EXPORT static void setPluginTranslatorDir(const QString&);
QPC_EXPORT static void loadPluginTranslator(const char* pluginid);
virtual void displayStatusMessage( const QString& text, bool temp=false)=0;
virtual void displayProgress( int done, int total ) = 0;
virtual FileSystemOperator &fileSystemOperator() = 0;
virtual void sendQCopMessage(const QString& channel,
const QString& message,
const QStringList& args) = 0;
virtual QString applicationDataPath() = 0;
virtual bool isConnected() const = 0;
virtual void setCategories( const Categories &) =0;
virtual const Categories &categories() const = 0;
virtual EditCategoriesDialog &categoriesEditor() = 0;
virtual void syncCategories() = 0;
enum TimeoutOptions { NormalTimeout=0, LongTimeout, NoTimeout };
virtual void setConnectionTimeout( TimeoutOptions t ) = 0;
virtual TimeoutOptions connectionTimeout() const = 0;
virtual QString pdaArchitecture() const = 0;
virtual int pdaMajorVersion() const = 0;
virtual int pdaMinorVersion() const = 0;
};
#endif
| Copyright © 2001-2002 Trolltech | Trademarks | Qtopia version 1.6.2
|