www.pudn.com > LDFUCK.rar > LDFUCKAppView.cpp


/* Copyright (c) 2008, Nokia. All rights reserved */ 
 
#include "LDFUCKAppView.h" 
 
CLDFUCKAppView* CLDFUCKAppView::NewL(const TRect& aRect) 
    { 
    CLDFUCKAppView* self = NewLC(aRect); 
    CleanupStack::Pop(self); 
    return self; 
    } 
 
CLDFUCKAppView* CLDFUCKAppView::NewLC(const TRect& aRect) 
    { 
    CLDFUCKAppView* self = new (ELeave) CLDFUCKAppView; 
    CleanupStack::PushL(self); 
    self->ConstructL(aRect); 
    return self; 
    } 
 
void CLDFUCKAppView::ConstructL(const TRect& aRect) 
    { 
    CreateWindowL(); 
 
    SetRect(aRect); 
 
    ActivateL(); 
    } 
 
CLDFUCKAppView::CLDFUCKAppView() 
    { 
    // Add any construction code that can not leave here 
    } 
 
 
CLDFUCKAppView::~CLDFUCKAppView() 
    { 
    // Add any destruction code here 
    } 
 
void CLDFUCKAppView::Draw(const TRect& /*aRect*/) const 
    { 
    // Clear the screen 
    CWindowGc& gc = SystemGc(); 
    gc.Clear(Rect()); 
    }