equal
deleted
inserted
replaced
|
1 // Copyright (c) 2005-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 #ifndef CINTERFACEIMPL_H |
|
17 #define CINTERFACEIMPL_H |
|
18 |
|
19 // INCLUDES |
|
20 #include <e32base.h> |
|
21 #include "Interface.h" |
|
22 |
|
23 // CLASS DECLARATION |
|
24 |
|
25 class CInterfaceImpl : public CExampleInterface |
|
26 { |
|
27 public: // Constructors and destructor |
|
28 |
|
29 /** |
|
30 * Two-phased constructor. |
|
31 * @return A new instance of this class. |
|
32 */ |
|
33 static CInterfaceImpl* NewL(TAny* aConstructionParams); |
|
34 |
|
35 /** |
|
36 * Destructor. |
|
37 */ |
|
38 virtual ~CInterfaceImpl(); |
|
39 void DoMethodL(); |
|
40 TInt FireAndForget(); |
|
41 TUid ImplId(); |
|
42 |
|
43 public: // New functions |
|
44 |
|
45 TInt Version() const; |
|
46 |
|
47 protected: |
|
48 |
|
49 /** |
|
50 * C++ default constructor. |
|
51 */ |
|
52 CInterfaceImpl(); |
|
53 |
|
54 private: |
|
55 |
|
56 // By default, prohibit copy constructor |
|
57 CInterfaceImpl( const CInterfaceImpl& ); |
|
58 // Prohibit assigment operator |
|
59 CInterfaceImpl& operator= ( const CInterfaceImpl& ); |
|
60 |
|
61 void RunL(); |
|
62 void DoCancel(); |
|
63 TInt RunError(TInt aError); |
|
64 |
|
65 }; |
|
66 |
|
67 #endif // CINTERFACEIMPL_H |
|
68 |
|
69 // End of File |