51
|
1 |
/*
|
|
2 |
* Copyright (c) 2007 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: Im Service Connection operation factory
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
|
|
19 |
#ifndef IMCOPERATIONFACTORYIMP_H
|
|
20 |
#define IMCOPERATIONFACTORYIMP_H
|
|
21 |
|
|
22 |
|
|
23 |
#include <e32base.h>
|
|
24 |
class CXIMPOperationBase;
|
|
25 |
#include "imapiobjbase.h"
|
|
26 |
#include <ximpoperationfactory1.h>
|
|
27 |
|
|
28 |
/**
|
|
29 |
* Operation factory
|
|
30 |
* Class is owned by and handled as singleton by CXIMPGlobals.
|
|
31 |
*
|
|
32 |
* @lib imoperation.dll
|
|
33 |
* @since S60 v4.0
|
|
34 |
*/
|
|
35 |
|
|
36 |
NONSHARABLE_CLASS(CImOperationFactory): public MXIMPOperationFactory1
|
|
37 |
{
|
|
38 |
|
|
39 |
public:
|
|
40 |
/** The class ID. */
|
|
41 |
//enum { KClassId = IMIMP_CLSID_CIMOPERATIONFACTORYIMP };
|
|
42 |
|
|
43 |
|
|
44 |
|
|
45 |
public: // Construction and desctruction
|
|
46 |
|
|
47 |
IMPORT_C static CImOperationFactory* NewL();
|
|
48 |
|
|
49 |
virtual ~CImOperationFactory();
|
|
50 |
|
|
51 |
private: // Construction
|
|
52 |
|
|
53 |
/**
|
|
54 |
* C++ default constructor.
|
|
55 |
*/
|
|
56 |
CImOperationFactory();
|
|
57 |
|
|
58 |
/**
|
|
59 |
* Symbian 2nd phase constructor
|
|
60 |
*/
|
|
61 |
void ConstructL();
|
|
62 |
|
|
63 |
|
|
64 |
public: // From MXIMPOperationFactory1
|
|
65 |
|
|
66 |
/**
|
|
67 |
* @see MXIMPOperationFactory1
|
|
68 |
*/
|
|
69 |
CXIMPOperationBase* CreateOperationL( TInt aOperation );
|
|
70 |
|
|
71 |
private: // Data
|
|
72 |
|
|
73 |
};
|
|
74 |
|
|
75 |
#endif // IMCOPERATIONFACTORYIMP_H
|
|
76 |
|