foreground.h

来自「手机待机浮动窗口」· C头文件 代码 · 共 23 行

H
23
字号
#ifndef CN_FOREGROUND_H_INCLUDED
002 #define CN_FOREGROUND_H_INCLUDED 1
003 
004 #include <e32std.h>
005 #include <e32base.h>
006 #include <w32std.h>
007 
008 class MForegroundObserver {
009 public:
010         virtual void ForegroundChanged(TUid AppUid) = 0;
011 };
012 
013 class CForeground : public CActive {
014 public:
015         static CForeground* NewL(RWsSession& aWsSession);
016 
017         virtual void AddObserver(MForegroundObserver* aObserver) = 0;
018 
019         CForeground(CActive::TPriority aPriority);
020         virtual ~CForeground();
021 };
022 
023 #endif

⌨️ 快捷键说明

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