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 #include <mentact.h> |
|
17 #include <msventry.h> |
|
18 #include "cimapsettings.h" |
|
19 |
|
20 |
|
21 #include "cimapoperation.h" |
|
22 |
|
23 CImapOperation::CImapOperation( CImapSession*& aSession, CMsvServerEntry& aServerEntry, TInt aPriority ) : |
|
24 CMsgActive( aPriority ), |
|
25 iServerEntry( aServerEntry ), |
|
26 iSession( aSession ) |
|
27 { |
|
28 } |
|
29 |
|
30 CImapOperation::~CImapOperation() |
|
31 { |
|
32 } |
|
33 |
|
34 |
|
35 /** |
|
36 Sets the context if the CMsvServerEntry to the specified TMsvId |
|
37 @param aId The message server entry identifier. |
|
38 */ |
|
39 void CImapOperation::SetEntryL(const TMsvId aId) |
|
40 { |
|
41 User::LeaveIfError(iServerEntry.SetEntry(aId)); |
|
42 } |
|
43 |