S60 3rd Edition SDK for Symbian OS
Example Applications Guide

CMessagingSender Class Reference

#include <MessagingSender.h>

List of all members.

Public Member Functions

 ~CMessagingSender ()
TInt SendMessage ()

Static Public Member Functions

static CMessagingSender * NewL (const CMessagingContainer &aContainer)
static CMessagingSender * NewLC (const CMessagingContainer &aContainer)

Private Member Functions

void ConstructL (const CMessagingContainer &aContainer)
void Initialise ()

Private Attributes

CMessagingContainer & iContainer


Detailed Description

Message Sender class Implements sending of SMS, MMS and email messages.

Definition at line 36 of file MessagingSender.h.


Constructor & Destructor Documentation

CMessagingSender::~CMessagingSender (   ) 
 

Destructor.

Definition at line 53 of file MessagingSender.cpp.

00054         {
00055         
00056         }


Member Function Documentation

CMessagingSender * CMessagingSender::NewL (  const CMessagingContainer &  aContainer  )  [static]
 

NewL. Two-phased constructor. Construct a CMessagingSender using two phase construction, and return a pointer to the created object

Returns:
A pointer to the created instance of CMessagingSender
Parameters:
A reference to CMessagingContainer

Definition at line 27 of file MessagingSender.cpp.

References NewLC().

00028         {
00029         CMessagingSender* self = CMessagingSender::NewLC( aContainer );
00030     CleanupStack::Pop( self );
00031     return self;        
00032         }

CMessagingSender * CMessagingSender::NewLC (  const CMessagingContainer &  aContainer  )  [static]
 

NewLC. Two-phased constructor. Construct a CMessagingSender using two phase construction, and return a pointer to the created object

Returns:
A pointer to the created instance of CMessagingSender
Parameters:
A reference to CMessagingContainer

Definition at line 42 of file MessagingSender.cpp.

00043         {
00044         CMessagingSender* self = new ( ELeave ) CMessagingSender();
00045     CleanupStack::PushL( self );
00046     self->ConstructL( aContainer );
00047     return self;        
00048         }

void CMessagingSender::ConstructL (  const CMessagingContainer &  aContainer  )  [private]
 

EPOC default constructor.

Parameters:
A reference to CMessagingContainer

Definition at line 63 of file MessagingSender.cpp.

00064         {
00065         
00066         }


© Nokia 2006

Back to top