|
1 /* |
|
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #include "SyncStatusSpyDocument.h" |
|
20 #include "SyncStatusSpyAppUi.h" |
|
21 |
|
22 /** |
|
23 * @brief Constructs the document class for the application. |
|
24 * @param anApplication the application instance |
|
25 */ |
|
26 CSyncStatusSpyDocument::CSyncStatusSpyDocument( CEikApplication& anApplication ) |
|
27 : CAknDocument( anApplication ) |
|
28 { |
|
29 } |
|
30 |
|
31 /** |
|
32 * @brief Completes the second phase of Symbian object construction. |
|
33 * Put initialization code that could leave here. |
|
34 */ |
|
35 void CSyncStatusSpyDocument::ConstructL() |
|
36 { |
|
37 } |
|
38 |
|
39 /** |
|
40 * Symbian OS two-phase constructor. |
|
41 * |
|
42 * Creates an instance of CSyncStatusSpyDocument, constructs it, and |
|
43 * returns it. |
|
44 * |
|
45 * @param aApp the application instance |
|
46 * @return the new CSyncStatusSpyDocument |
|
47 */ |
|
48 CSyncStatusSpyDocument* CSyncStatusSpyDocument::NewL( CEikApplication& aApp ) |
|
49 { |
|
50 CSyncStatusSpyDocument* self = new ( ELeave ) CSyncStatusSpyDocument( aApp ); |
|
51 CleanupStack::PushL( self ); |
|
52 self->ConstructL(); |
|
53 CleanupStack::Pop( self ); |
|
54 return self; |
|
55 } |
|
56 |
|
57 /** |
|
58 * @brief Creates the application UI object for this document. |
|
59 * @return the new instance |
|
60 */ |
|
61 CEikAppUi* CSyncStatusSpyDocument::CreateAppUiL() |
|
62 { |
|
63 return new ( ELeave ) CSyncStatusSpyAppUi; |
|
64 } |
|
65 |