00001 #ifndef __QMF_POSIX_EVENT_NOTIFIER_H
00002 #define __QMF_POSIX_EVENT_NOTIFIER_H
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #if !defined(QMF_USE_DEPRECATED_API) && !defined(qmf2_EXPORTS) && !defined(SWIG)
00024 # error "The API defined in this file has been DEPRECATED and will be removed in the future."
00025 # error "Define 'QMF_USE_DEPRECATED_API' to enable continued use of the API."
00026 #endif
00027
00028 #include <qmf/ImportExport.h>
00029 #include "qmf/Handle.h"
00030 #include "qmf/AgentSession.h"
00031 #include "qmf/ConsoleSession.h"
00032
00033 namespace qmf {
00034
00035 class PosixEventNotifierImpl;
00036 struct PosixEventNotifierImplAccess;
00037
00038 namespace posix {
00039
00040 #ifndef SWIG
00041 template <class> class PrivateImplRef;
00042 #endif
00043
00044 class QMF_CLASS_EXTERN EventNotifier : public qmf::Handle<qmf::PosixEventNotifierImpl> {
00045 public:
00046 QMF_EXTERN EventNotifier(PosixEventNotifierImpl* impl = 0);
00047 QMF_EXTERN EventNotifier(::qmf::AgentSession& agentSession);
00048 QMF_EXTERN EventNotifier(::qmf::ConsoleSession& consoleSession);
00049 QMF_EXTERN EventNotifier(const EventNotifier& that);
00050
00051 QMF_EXTERN ~EventNotifier();
00052
00053 QMF_EXTERN EventNotifier& operator=(const EventNotifier& that);
00054
00055 QMF_EXTERN int getHandle() const;
00056
00057 #ifndef SWIG
00058 private:
00059 friend class qmf::PrivateImplRef<EventNotifier>;
00060 friend struct qmf::PosixEventNotifierImplAccess;
00061 #endif
00062
00063 };
00064
00065 }}
00066
00067 #endif
00068