| Home | ![]() |
This is the verbatim text of the qtcorba.h include file. It is provided only for illustration; the copyright remains with Trolltech.
#ifndef QTCORBA_H
#define QTCORBA_H
#include <qstring.h>
class QtCorbaPrivate;
#if defined(Q_WS_WIN)
# if !defined(QT_QTCORBA_EXPORT) && !defined(QT_QTCORBA_IMPORT)
# define QT_QTCORBA_EXPORT
# elif defined(QT_QTCORBA_IMPORT)
# if defined(QT_QTCORBA_EXPORT)
# undef QT_QTCORBA_EXPORT
# endif
# define QT_QTCORBA_EXPORT __declspec(dllimport)
# elif defined(QT_QTCORBA_EXPORT)
# undef QT_QTCORBA_EXPORT
# define QT_QTCORBA_EXPORT __declspec(dllexport)
# endif
#else
# define QT_QTCORBA_EXPORT
#endif
class QT_QTCORBA_EXPORT QtCorba
{
friend class QtCorbaPrivate;
public:
enum Type { CorbaServer, CorbaClient };
QtCorba(Type typ);
virtual ~QtCorba();
Type type() const;
int pollingInterval() const;
void setPollingInterval(int interval);
protected:
virtual bool corbaWorkPending() = 0;
virtual void corbaPerformWork() = 0;
virtual void init();
private:
QtCorba(const QtCorba &);
QtCorba& operator=(const QtCorba &);
QtCorbaPrivate* d;
};
#endif
| Copyright © 2003-2005 Trolltech | Trademarks | Qt Solutions
|