chxsymsysagentwatcher.h

来自「symbian 下的helix player源代码」· C头文件 代码 · 共 52 行

H
52
字号

/*============================================================================*
 *
 * (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__

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?