www.pudn.com > smssend-vc.rar > csmsdialog.cpp


/* Copyright (c) 2003, Nokia. All rights reserved */ 
 
// INCLUDE FILES 
#include  
#include  
#include  
#include "CSmsDialog.h" 
 
// ============================ MEMBER FUNCTIONS =============================== 
 
// ---------------------------------------------------------- 
// CSmsDialog::~CSmsDialog() 
// Destructor. 
// ---------------------------------------------------------- 
// 
CSmsDialog::~CSmsDialog() 
    { 
    } 
 
// ----------------------------------------------------------------------------- 
// CSmsDialog::OkToExitL() 
// Called by framework when the softkey is pressed. 
// ----------------------------------------------------------------------------- 
// 
TBool CSmsDialog::OkToExitL( TInt aButtonId ) 
{ 
    // Translate the button presses into commands for the appui to handle 
    if ( aButtonId == EAknSoftkeyOptions ) 
        { 
        iAvkonAppUi->ProcessCommandL( EAknSoftkeyOptions ); 
        } 
    else if ( aButtonId == EAknSoftkeyExit ) 
        { 
        iAvkonAppUi->ProcessCommandL( EEikCmdExit ); 
        } 
 
    return EFalse; 
} 
 
// ----------------------------------------------------------------------------- 
// CSmsDialog::PreLayoutDynInitL() 
// Called by framework before dialog is shown. 
// ----------------------------------------------------------------------------- 
// 
void CSmsDialog::PreLayoutDynInitL() 
    { 
    } 
 
// End of File