📄 haneasefep.h
字号:
#ifndef HEASEFEP_H__
#define HEASEFEP_H__
class CHaneaseFepControl;
//========================================================================================================================
class CHaneaseFep : public CCoeFep
{
public:
CHaneaseFep(CCoeEnv& aConeEnvironment);
void ConstructL(const CCoeFepParameters& aFepParameters);
virtual ~CHaneaseFep();
// from CCoeFep
inline void SimulateKeyEventsL(const TArray<TUint>& aArrayOfCharacters) {CCoeFep::SimulateKeyEventsL(aArrayOfCharacters);}
inline TBool IsTurnedOnByL(const TKeyEvent& aKeyEvent) const {return CCoeFep::IsTurnedOnByL(aKeyEvent);}
inline TBool IsTurnedOffByL(const TKeyEvent& aKeyEvent) const {return CCoeFep::IsTurnedOffByL(aKeyEvent);}
inline TBool IsOn() const {return CCoeFep::IsOn();}
private:
// from CCoeFep
virtual void CancelTransaction();
virtual void IsOnHasChangedState();
virtual void OfferPointerEventL(TEventResponse& aEventResponse,const TPointerEvent& aPointerEvent, const CCoeControl* aWindowOwningControl);
virtual void OfferKeyEventL(TEventResponse& aEventResponse,const TKeyEvent& aKeyEvent, TEventCode aEventCode);
virtual void OfferPointerBufferReadyEventL(TEventResponse& aEventResponse, const CCoeControl* /*aWindowOwningControl*/);
// from MCoeFocusObserver
virtual void HandleChangeInFocus();
virtual void HandleDestructionOfFocusedItem();
// from MCoeForegroundObserver
virtual void HandleGainingForeground();
virtual void HandleLosingForeground();
// from MFepAttributeStorer (via CCoeFep)
virtual TInt NumberOfAttributes() const;
virtual TUid AttributeAtIndex(TInt aIndex) const;
virtual void WriteAttributeDataToStreamL(TUid aAttributeUid, RWriteStream& aStream) const;
virtual void ReadAttributeDataFromStreamL(TUid aAttributeUid, RReadStream& aStream);
private:
CHaneaseFepControl* iFepControl;
};
#endif//HEASEFEP_H__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -