chxsymsysagentwatcher.h
上传用户:dangjiwu
上传日期:2013-07-19
资源大小:42019k
文件大小:1k
源码类别:
Symbian
开发平台:
Visual C++
- /*============================================================================*
- *
- * (c) 1995-2002 RealNetworks, Inc. Patents pending. All rights reserved.
- *
- *============================================================================*/
- #if !defined(chxsymactivewatcher_h__)
- #define chxsymactivewatcher_h__
- // includes
- #include <e32svr.h>
- #include <saclient.h>
- #include <sacls.h>
- #include "chxavactivewatcher.h"
- // class CHXSymSysAgentWatcher
- class CHXSymSysAgentWatcher
- : public CHXAvActiveWatcher
- {
- public:
- // ctor and dtor
- CHXSymSysAgentWatcher();
- virtual ~CHXSymSysAgentWatcher();
- void ConstructL(const TUid& idEvent, TInt activePriority = CActive::EPriorityStandard);
- private:
- // disallow assignment and copy
- CHXSymSysAgentWatcher(const CHXSymSysAgentWatcher& rhs);
- CHXSymSysAgentWatcher& operator=(const CHXSymSysAgentWatcher& rhs);
- public:
- // methods
- const TSysAgentEvent& GetSaEvent() const;
- RSystemAgent& GetSa();
- protected:
- // epActiveWatcher implementation
- void DoIssueRequest(const CHXAvActiveCmplPtr& spActive);
- void DoCancelRequest(const CHXAvActiveCmplPtr& spActive);
- private:
- // data
- RSystemAgent m_sa;
- TSysAgentEvent m_event;
- };
- #endif // chxsymactivewatcher_h__