equal
deleted
inserted
replaced
|
1 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 /** |
|
17 @file |
|
18 @internalComponent - Internal Symbian test code |
|
19 */ |
|
20 |
|
21 #include <e32std.h> |
|
22 #include <e32uid.h> |
|
23 #include <e32base.h> |
|
24 #include <e32test.h> |
|
25 #include <apadef.h> |
|
26 #include "coedatastorage.h" |
|
27 #include <eikenv.h> |
|
28 void PopulateColorListL() |
|
29 { |
|
30 CCoeDataStorage* dataStorage = CCoeDataStorage::NewL(); |
|
31 CleanupStack::PushL(dataStorage); |
|
32 dataStorage->PopulateColorArrayL(); |
|
33 CleanupStack::PopAndDestroy(dataStorage); |
|
34 } |
|
35 |
|
36 GLDEF_C TInt E32Main() |
|
37 { |
|
38 CTrapCleanup *cleanup=CTrapCleanup::New(); |
|
39 if(cleanup == NULL) |
|
40 { |
|
41 return KErrNoMemory; |
|
42 } |
|
43 TRAP_IGNORE(PopulateColorListL()); |
|
44 delete(cleanup); |
|
45 return KErrNone; |
|
46 } |
|
47 |
|
48 |