?? sendasexampleengine.h
字號:
#ifndef SENDASEXAMPLEENGINE_H
#define SENDASEXAMPLEENGINE_H
// INCLUDES
#include <e32base.h> // CActive
#include <sendas.h> // MSendAsObserver, CSendAs
// CLASS DECLARATION
class MSendAsExampleEngineObserver
{
public:
virtual void HandleSaveMessageCompleteL(TInt aError) = 0;
};
/**
*
* @class CSendAsExampleEngine SendAsExampleEngine.h
* @brief
*
* Copyright (c) EMCC Software Ltd 2003
* @version 1.0
*
*/
class CSendAsExampleEngine : public CActive,
public MSendAsObserver
{
public:
static CSendAsExampleEngine* NewL(MSendAsExampleEngineObserver& aObserver);
~CSendAsExampleEngine();
void CreateMessageL(TInt aMtmIndex, const TDesC& aAddress);
void ResetL();
inline const CDesCArray& AvailableMtms();
private: // from MSendAsObserver
virtual TBool CapabilityOK(TUid aCapabilty, TInt aResponse);
private:
CSendAsExampleEngine(MSendAsExampleEngineObserver& aObserver);
void ConstructL();
private: // from CActive
virtual void RunL();
virtual void DoCancel();
private:
MSendAsExampleEngineObserver& iObserver;
CSendAs* iSendAs;
};
inline const CDesCArray& CSendAsExampleEngine::AvailableMtms()
{
__ASSERT_DEBUG(iSendAs != NULL, User::Invariant());
return iSendAs->AvailableMtms();
}
#endif // SENDASEXAMPLEENGINE_H
// End of File
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -