examples/Messaging/SendAs2Example/SendAs2Example.cpp File Reference

Go to the source code of this file.

Functions

 _LIT (KBodyText,"You are limited only by your fears. Remember it is attitude, more than aptitude,that determines your altitude")
 _LIT (KAddress1,"[email protected]")
 _LIT (KAddress3,"[email protected]")
 _LIT (KAddress4,"[email protected]")
 _LIT (KAlias1,"Alias1")
 _LIT (KAlias2,"Alias2")
 _LIT (KAccount1," \n SendAs Account1 \n")
 _LIT (KAccount2," \n SendAs Account2 \n")
 _LIT (KAccount3," \n SendAs Account3 \n")
 _LIT (KAccountNames,"\n The list of accounts present are: \n")
 _LIT (KTextWelcome," SendAs2 Example \n")
 _LIT (KTextStartApp,"\n Starting the SendAs2 Example application .... \n")
 _LIT (KTextPressAKey,"\n Press any key to step through the example .... \n")
 _LIT (KTextConn,"\n Connecting to sendAs server .... \n")
 _LIT (KTextErrInn,"\n Connection is successful\n")
 _LIT (KTextErrOut,"\n\n Connection has failed\n")
 _LIT (KTextCreate,"\n Creating a SendAs message .... \n")
 _LIT (KTextSend,"\n Sending the sendAs message .... \n")
 _LIT (KTextClose,"\n The SendAs message has been sent \n")
 _LIT (KPressAnyKey,"\n Press any key.... \n")
 _LIT (KExitKey,"\n Press any key to exit the application.... \n")
 _LIT (KSmsClient,"SMS Client")
LOCAL_C void MainL ()
GLDEF_C TInt E32Main ()

Detailed Description

Definition in file SendAs2Example.cpp.


Function Documentation

LOCAL_C void MainL (  ) 

Much simpler MainL(), uses the new Rendezvous() call to sync with the client

Secure variant Much simpler, uses the new Rendezvous() call to sync with the client

Definition at line 295 of file SendAs2Example.cpp.

GLDEF_C TInt E32Main (  ) 

Returns standard error code on exit

Secure variant only Process entry point. Called by client using RProcess API

Returns:
Standard Epoc error code on process exit
Standard Epoc error code on process exit Secure variant only Process entry point. Called by client using RProcess API

Entry point for the example

The below section is added to make the code compatible with v9.1 This is because only exe files are compatible with v9.1

Standard entry point function.

Definition at line 314 of file SendAs2Example.cpp.


Generated by  doxygen 1.6.2