S60 3rd Edition SDK for Symbian OS
Example Applications Guide

MessagingSender.cpp

00001 /*
00002 * ==============================================================================
00003 *  Name        : MessagingSender.h
00004 *  Part of     : Messaging
00005 *  Interface   : 
00006 *  Description : 
00007 *  Version     : 
00008 *
00009 *  Copyright (c) 2005-2006 Nokia Corporation.
00010 *  This material, including documentation and any related 
00011 *  computer programs, is protected by copyright controlled by 
00012 *  Nokia Corporation.
00013 * ==============================================================================
00014 */
00015 
00016 #include "MessagingSender.h"
00017 #include <sendui.h>
00018 
00019 /**
00020 * NewL.
00021 * Two-phased constructor.
00022 * Construct a CMessagingSender using two phase construction,
00023 * and return a pointer to the created object
00024 * @return A pointer to the created instance of CMessagingSender
00025 * @param A reference to CMessagingContainer
00026 */
00027 CMessagingSender* CMessagingSender::NewL( const CMessagingContainer& aContainer )
00028         {
00029         CMessagingSender* self = CMessagingSender::NewLC( aContainer );
00030     CleanupStack::Pop( self );
00031     return self;        
00032         }
00033 
00034 /**
00035 * NewLC.
00036 * Two-phased constructor.
00037 * Construct a CMessagingSender using two phase construction,
00038 * and return a pointer to the created object
00039 * @return A pointer to the created instance of CMessagingSender
00040 * @param A reference to CMessagingContainer
00041 */
00042 CMessagingSender* CMessagingSender::NewLC( const CMessagingContainer& aContainer )
00043         {
00044         CMessagingSender* self = new ( ELeave ) CMessagingSender();
00045     CleanupStack::PushL( self );
00046     self->ConstructL( aContainer );
00047     return self;        
00048         }
00049 
00050 /**
00051 * Destructor.
00052 */
00053 CMessagingSender::~CMessagingSender()
00054         {
00055         
00056         }
00057 
00058 
00059 /**
00060 * EPOC default constructor.
00061 * @param A reference to CMessagingContainer
00062 */
00063 void CMessagingSender::ConstructL( const CMessagingContainer& aContainer )
00064         {
00065         
00066         }
00067 
00068 
00069 
00070 TInt CMessagingSender::SendMessage( /*aReceiver, aMessage, aMessagetype */)
00071         {
00072         
00073         return KErrNone;
00074         }
00075 
00076 void CMessagingSender::Initialise()
00077         {
00078         
00079         }
00080         
00081 // End of File 

© Nokia 2006

Back to top