#include <coemain.h>
#include "MyAppAppView.h"
CMyAppAppView *CMyAppAppView::NewL(const TRect& aRect)
{
CMyAppAppView *self = CMyAppAppView::NewLC(aRect);
CleanupStack::Pop(self);
return self;
}
CMyAppAppView *CMyAppAppView::NewLC(const TRect& aRect)
{
CMyAppAppView *self = new(ELeave) CMyAppAppView;
CleanupStack::PushL(self);
self->ConstructL(aRect);
return self;
}
CMyAppAppView::CMyAppAppView()
{}
CMyAppAppView::~CMyAppAppView()
{}
void CMyAppAppView::ConstructL(const TRect& aRect)
{ CreateWindowL(); SetRect(aRect); ActivateL();
}void CMyAppAppView::Draw(const TRect&) const
{ CWindowGc &gc = SystemGc(); TRect rect = Rect(); gc.Clear(rect);
}