719
|
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
|
872
|
4 |
// under the terms of the License "Eclipse Public License v1.0"
|
719
|
5 |
// which accompanies this distribution, and is available
|
872
|
6 |
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
719
|
7 |
//
|
|
8 |
// Initial Contributors:
|
|
9 |
// Nokia Corporation - initial contribution.
|
|
10 |
//
|
|
11 |
// Contributors:
|
|
12 |
//
|
|
13 |
// Description:
|
|
14 |
// This file contains the shared data class for the POP server
|
|
15 |
//
|
|
16 |
//
|
|
17 |
|
|
18 |
|
|
19 |
|
|
20 |
/**
|
|
21 |
@file
|
|
22 |
*/
|
|
23 |
|
|
24 |
// user include
|
|
25 |
#include "t_shareddatapop.h"
|
|
26 |
|
|
27 |
|
|
28 |
// epoc includes
|
|
29 |
#include <miutset.h>
|
|
30 |
#include <mtclreg.h>
|
|
31 |
|
|
32 |
|
|
33 |
/**
|
|
34 |
NewL()
|
|
35 |
Allocates and creates a new CT_MsgSharedDataPop object
|
|
36 |
|
|
37 |
@leave KErrNoMemory
|
|
38 |
@return
|
|
39 |
Returns pointer to an object of CT_MsgSharedDataPop
|
|
40 |
*/
|
|
41 |
CT_MsgSharedDataPop* CT_MsgSharedDataPop::NewL()
|
|
42 |
{
|
|
43 |
CT_MsgSharedDataPop* sharedDataPop=new(ELeave) CT_MsgSharedDataPop();
|
|
44 |
CleanupStack::PushL(sharedDataPop);
|
|
45 |
sharedDataPop->ConstructL();
|
|
46 |
CleanupStack::Pop(sharedDataPop);
|
|
47 |
return sharedDataPop;
|
|
48 |
}
|
|
49 |
|
|
50 |
|
|
51 |
/**
|
|
52 |
NewMtmL()
|
|
53 |
|
|
54 |
@return
|
|
55 |
Returns a pointer to Client-side MTM object
|
|
56 |
*/
|
|
57 |
CBaseMtm* CT_MsgSharedDataPop::NewMtmL()
|
|
58 |
{
|
|
59 |
return iRegistry->NewMtmL(KUidMsgTypePOP3);
|
|
60 |
}
|
|
61 |
|
|
62 |
|
|
63 |
/**
|
|
64 |
CT_MsgSharedDataPop()
|
|
65 |
Construstor
|
|
66 |
*/
|
|
67 |
CT_MsgSharedDataImap::CT_MsgSharedDataImap()
|
|
68 |
{
|
|
69 |
}
|