Go to the source code of this file.
Functions | |
_LIT (KTitle,"SQL example") | |
_LIT (KTextPressAKey,"\n\nPress any key to step through the example\n") | |
_LIT (KExit,"Press any key to exit the application ") | |
_LIT (KPressAKey,"Press any key to continue \n") | |
_LIT (KNonSecure,"\nCreating a non secure database \n") | |
_LIT (KSecure,"\nCreating a secure database \n") | |
_LIT (KOpen,"Opening the secure database \n") | |
_LIT (KDelete,"Deleting the database(s)\n") | |
_LIT (KClose,"Closing the database(s)\n") | |
_LIT (KCopyNonSec,"\nCopying a non secure database to another non secure one \n") | |
_LIT (KCopySecure,"\nCopying a secure database to another secure database \n") | |
_LIT (KAttach,"\nOpen a secure database and attach another secure database\n") | |
_LIT (KCreateTable,"\nCreating a table\n") | |
_LIT (KInsert,"Inserting records into the table\n") | |
_LIT (KPrepare,"Preparing a query\n") | |
_LIT (KExecute,"Executing a query\n") | |
_LIT (KDbName,"\\Example_db.db") | |
_LIT (KAnotherDbName,"\\Example_Anotherdb.db") | |
_LIT (KSecureDb1,"[E80000AF]db1.db") | |
_LIT (KSecureDb2,"[E80000AF]db2.db") | |
_LIT (KDatabase,"\\Sqlscalarfullselect.db") | |
const TSecurityPolicy | KPolicy1 (ECapabilityReadUserData, ECapabilityNetworkControl, ECapabilityWriteUserData) |
const TSecurityPolicy | KPolicy2 (ECapabilityReadUserData) |
LOCAL_C void | MainL () |
GLDEF_C TInt | E32Main () |
Definition in file sqlexample.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
A normal Symbian OS executable provides an E32Main() function which is called by the operating system to start the program.
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 entrypoint function for UI applications.
E32Main() contains the program's start up code, the entry point for an EXE.
Definition at line 593 of file sqlexample.cpp.