diff -r 89d6a7a84779 -r 25a17d01db0c Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/sqlexample_8cpp.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/sqlexample_8cpp.html Fri Jan 22 18:26:19 2010 +0000 @@ -0,0 +1,144 @@ + +
++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.
+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 542 of 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
+Standard Epoc error code on process exit Secure variant only Process entry point. Called by client using RProcess API
+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 577 of file sqlexample.cpp.
+ ++