Go to the documentation of this file.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 #include <qmf/ImportExport.h>
00024 #include "qmf/Handle.h"
00025 #include "qmf/AgentSession.h"
00026 #include "qmf/ConsoleSession.h"
00027 
00028 namespace qmf {
00029 
00030     class PosixEventNotifierImpl;
00031     class PosixEventNotifierImplAccess;
00032 
00033 namespace posix {
00034 
00035 #ifndef SWIG
00036   template <class> class PrivateImplRef;
00037 #endif
00038 
00039   class QMF_CLASS_EXTERN EventNotifier : public qmf::Handle<qmf::PosixEventNotifierImpl> {
00040   public:
00041       QMF_EXTERN EventNotifier(PosixEventNotifierImpl* impl = 0);
00042       QMF_EXTERN EventNotifier(::qmf::AgentSession& agentSession);
00043       QMF_EXTERN EventNotifier(::qmf::ConsoleSession& consoleSession);
00044       QMF_EXTERN EventNotifier(const EventNotifier& that);
00045 
00046       QMF_EXTERN ~EventNotifier();
00047 
00048       QMF_EXTERN EventNotifier& operator=(const EventNotifier& that);
00049 
00050       QMF_EXTERN int getHandle() const;
00051 
00052 #ifndef SWIG
00053   private:
00054       friend class qmf::PrivateImplRef<EventNotifier>;
00055       friend struct qmf::PosixEventNotifierImplAccess;
00056 #endif
00057 
00058   };
00059 
00060 }}
00061 
00062 #endif
00063