diff -r f345bda72bc4 -r 43e37759235e Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/centrepexample_8cpp.html --- a/Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/centrepexample_8cpp.html Tue Mar 30 11:56:28 2010 +0100 +++ b/Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/centrepexample_8cpp.html Tue Mar 30 16:16:55 2010 +0100 @@ -1,172 +1,142 @@ - - -TB10.1 Example Applications: examples/SysLibs/CentRepExample/centrepexample.cpp File Reference - - - - + + + + +TB9.2 Example Applications: examples/SysLibs/CentRepExample/centrepexample.cpp File Reference + + + + + +

examples/SysLibs/CentRepExample/centrepexample.cpp File Reference

-

-Go to the source code of this file. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Functions

+

Go to the source code of this file.

+ + + - - - - - - - - - - + - - - - - - - - - - - - - - - - + - - - - + + + + + + + + + + + + + + + + + + + +

Functions

 _LIT (KTitle,"Central repository example")
+
 _LIT (KTextPressAKey,"\n\nPress any key to step through the example")
+
 _LIT (KExit,"\nPress any key to exit the application ")
+
 _LIT (KPressAKey,"\nPress any key to continue \n")
_LIT (KErr,"\nThe repository file has not been set up. Please see the instructions in centrepexample.cpp for how to do this")
+
_LIT (KErr,"\nThe repository file has not been set up. Please see the instructions in centrepexample.cpp for how to do this")
 _LIT (KOpen,"\n\nOpening the repository and displaying some initial settings")
+
 _LIT (KChangeSet,"\nChanging some settings in the repository")
+
 _LIT (KReadSet,"\nReading the changed settings")
+
 _LIT (KTransact,"\n\nPerforming read and write transactions")
+
 _LIT (KDelete,"\n\nCreating integer and real number settings and deleting them")
+
 _LIT (KMove,"\n\nMoving the key to target position")
+
 _LIT (KReset,"\nResetting settings to default values, and getting notifications that the changes have occurred")
_LIT (KFind,"\nFinding settings for simple and structured data")
+
_LIT (KFind,"\nFinding settings for simple and structured data")
 _LIT (KNonExisting,"\n\nValue of new setting is %d")
+
 _LIT (KInt,"\nValue of setting with key x01 is %d")
+
 _LIT (KReal,"\nValue of setting with key x02 is %f")
_LIT (KInteg,"\nValue of setting with key x06 is %d \n")
_LIT (KIntBefore,"\nValue of setting with key x01 before reset is %d")
_LIT (KIntAfter,"\nValue of setting with key x01 after reset is %d")
_LIT (KIdsFound,"\nFound %d settings")
_LIT (KStringName,"Another string")
_LIT (KString1_UpdatedValue,"Value of setting with key x05 is %s")
LOCAL_C void MainL ()
GLDEF_C TInt E32Main ()

Variables

+const TUint32 KNonExistentSetting = 0x10
+const TUint32 KInt1 = 0x01
+const TUint32 KInt3 = 0x06
+const TUint32 KReal1 = 0x02
+const TUint32 KString1 = 0x05
+const TInt KInt1_InitialValue = 1
+const TInt KInt1_UpdatedValue = 73
+const TReal KReal1_InitialValue = 14.91
+const TReal KReal1_UpdatedValue = 72.8
+const TUint32 KMoveTarget = 0x30
+

Detailed Description

-
_LIT (KInteg,"\nValue of setting with key x06 is %d \n")
_LIT (KIntBefore,"\nValue of setting with key x01 before reset is %d")
_LIT (KIntAfter,"\nValue of setting with key x01 after reset is %d")
_LIT (KIdsFound,"\nFound %d settings")
_LIT (KStringName,"Another string")
_LIT (KString1_UpdatedValue,"Value of setting with key x05 is %s")
LOCAL_C void MainL ()
GLDEF_C TInt E32Main ()

Variables

-const TUint32 KNonExistentSetting = 0x10
-const TUint32 KInt1 = 0x01
-const TUint32 KInt3 = 0x06
-const TUint32 KReal1 = 0x02
-const TUint32 KString1 = 0x05
-const TInt KInt1_InitialValue = 1
-const TInt KInt1_UpdatedValue = 73
-const TReal KReal1_InitialValue = 14.91
-const TReal KReal1_UpdatedValue = 72.8
-const TUint32 KMoveTarget = 0x30
-


Detailed Description

- -

Definition in file centrepexample.cpp.

-

Function Documentation

- +

Definition in file centrepexample.cpp.

+

Function Documentation

+
- + - + - +
LOCAL_C void MainL 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

-

-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 445 of file centrepexample.cpp.

+

Definition at line 445 of file centrepexample.cpp.

-

- +

+
- + - + - +
GLDEF_C TInt E32Main 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

+

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 E32main function is the main entry point for the code.

-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 484 of file centrepexample.cpp.

+

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.

+

A normal Symbian OS executable provides an E32Main() function which is called by the operating system to start the program.

+ +

Definition at line 484 of file centrepexample.cpp.

-

-


Generated on Thu Jan 21 10:33:02 2010 for TB10.1 Example Applications by  + + +
Generated by  -doxygen 1.5.3
+doxygen 1.6.2