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

examples/SysLibs/SqlExample/sqlexample.cpp File Reference

-

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

Functions

+

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 ()
+

Detailed Description

-
_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 ()
-


Detailed Description

- -

Definition in file sqlexample.cpp.

-

Function Documentation

- +

Definition in file sqlexample.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 542 of file sqlexample.cpp.

+

Definition at line 542 of file sqlexample.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 577 of file sqlexample.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 577 of file sqlexample.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