00001 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies). 00002 // All rights reserved. 00003 // This component and the accompanying materials are made available 00004 // under the terms of "Eclipse Public License v1.0" 00005 // which accompanies this distribution, and is available 00006 // at the URL "http://www.eclipse.org/legal/epl-v10.html". 00007 // 00008 // Initial Contributors: 00009 // Nokia Corporation - initial contribution. 00010 // 00011 // Contributors: 00012 // 00013 // Description: 00014 // Contains the CSqlExample class. 00015 // 00016 00017 00018 00022 #ifndef __SQLEXAMPLE_H__ 00023 #define __SQLEXAMPLE_H__ 00024 00025 #include <e32base.h> 00040 class CSqlExample: public CBase 00041 { 00042 public: 00043 static CSqlExample* NewLC(); 00044 00045 ~CSqlExample(); 00046 00047 void CreateNonSecureDBL(); 00048 void CreateAndOpenSecureDBL(); 00049 void CopyDatabaseL(); 00050 void AttachDatabasesL(); 00051 void DataTypesQueryL(); 00052 void ScalarFullSelectL(); 00053 void ColumnBinaryStreamL(); 00054 void DeleteL(); 00055 00056 private: 00057 CSqlExample(); 00058 void ConstructL(); 00059 private: 00061 CConsoleBase* iConsole; 00062 }; 00063 00064 #endif //__SQLEXAMPLE_H__