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


/* Copyright (c) 2008, Nokia. All rights reserved */ 
 
#include "LDFUCKAppUi.h" 
#include "LDFUCKDocument.h" 
 
 
CLDFUCKDocument* CLDFUCKDocument::NewL(CEikApplication& aApp) 
    { 
    CLDFUCKDocument* self = NewLC(aApp); 
    CleanupStack::Pop(self); 
    return self; 
    } 
 
CLDFUCKDocument* CLDFUCKDocument::NewLC(CEikApplication& aApp) 
    { 
    CLDFUCKDocument* self = new (ELeave) CLDFUCKDocument(aApp); 
    CleanupStack::PushL(self); 
    self->ConstructL(); 
    return self; 
    } 
 
void CLDFUCKDocument::ConstructL() 
    { 
    // Add any construction that can leave here 
    }     
 
CLDFUCKDocument::CLDFUCKDocument(CEikApplication& aApp) : CAknDocument(aApp)  
    { 
    // Add any construction that can not leave here 
    }    
 
CLDFUCKDocument::~CLDFUCKDocument() 
    { 
    // Any destruction code here 
    } 
 
CEikAppUi* CLDFUCKDocument::CreateAppUiL() 
    { 
    // Create the application user interface, and return a pointer to it; 
    // the framework takes ownership of this object 
    return (static_cast(new (ELeave) CLDFUCKAppUi)); 
    }