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 (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 (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 |
Definition in file centrepexample.cpp.
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 445 of file centrepexample.cpp.
GLDEF_C TInt E32Main | ( | ) |
Returns standard error code on 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.
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.