phonebookengines/contactsmodel/tsrc/dbcreator.cpp
changeset 24 0ba2181d7c28
parent 0 e686773b3f54
--- a/phonebookengines/contactsmodel/tsrc/dbcreator.cpp	Tue Feb 02 10:12:17 2010 +0200
+++ b/phonebookengines/contactsmodel/tsrc/dbcreator.cpp	Fri Mar 19 09:27:18 2010 +0200
@@ -1,45 +1,34 @@
-// Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// Summary:
-// A class for creating a CContactDatabase object with random data.
-// The contact items take the form of the following example:
-// [KUidContactFieldFamilyName]	Fasiokljno	<5-10 chars>
-// [KUidContactFieldGivenName]		Liasidwq	<5-10 chars>
-// [KUidContactFieldCompanyName]	Xwjweiohj	<5-10 chars>	
-// [KUidContactFieldPhoneNumber]	9874234891	<10 digits>
-// Usage example:
-//
+/*
+* Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: 
+* Summary:
+* A class for creating a CContactDatabase object with random data.
+* The contact items take the form of the following example:
+* [KUidContactFieldFamilyName]	Fasiokljno	<5-10 chars>
+* [KUidContactFieldGivenName]		Liasidwq	<5-10 chars>
+* [KUidContactFieldCompanyName]	Xwjweiohj	<5-10 chars>	
+* [KUidContactFieldPhoneNumber]	9874234891	<10 digits>
+* Usage example:
+*
+*/
 
-// #include "dbcreator.h"
-// void MyFunctionL()
-// // create a database populated with 500 randomly created contact items
-// const TInt KNumContacts(500);
-// _LIT(KDbName, "C:mydb.cbd");
-// CContactDatabase* db = DbCreator::CreateDbL(KDbName, KNumContacts);
-// CleanupStack::PushL(db);
-// // do something interesting...
-// CleanupStack::PopAndDestroy(db);
-// CContactDatabase::DeleteDatabaseL(KDbName);
-// Written by:
-// James Clarke
-//
 
 #include "dbcreator.h"
 
-//
+//////////////////////////////////////////////////////////////////////////////////////////////////
 // DbCreator methods
-//
+//////////////////////////////////////////////////////////////////////////////////////////////////
 
 CContactDatabase* DbCreator::CreateDbL(const TDesC &aFileName, TInt aNumContacts)
 	{