|
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 * Contains the declaration of CMemSpyProcess class |
|
16 */ |
|
17 |
|
18 #ifndef MEMSPYAPIECOM_H |
|
19 #define MEMSPYAPIECOM_H |
|
20 |
|
21 // System includes |
|
22 #include <e32base.h> |
|
23 #include <f32file.h> |
|
24 |
|
25 class TMemSpyEComCategoryData; |
|
26 class TMemSpyEComInterfaceData; |
|
27 class TMemSpyEComImplementationData; |
|
28 |
|
29 NONSHARABLE_CLASS( CMemSpyApiEComCategory ) : public CBase |
|
30 { |
|
31 public: |
|
32 IMPORT_C ~CMemSpyApiEComCategory(); |
|
33 |
|
34 static CMemSpyApiEComCategory* NewL(const TMemSpyEComCategoryData& aData); |
|
35 |
|
36 static CMemSpyApiEComCategory* NewLC(const TMemSpyEComCategoryData& aData); |
|
37 |
|
38 public: |
|
39 IMPORT_C TUid Id() const; |
|
40 |
|
41 IMPORT_C const TDesC& Name() const; |
|
42 |
|
43 IMPORT_C TInt InterfaceCount() const; |
|
44 |
|
45 private: |
|
46 void ConstructL(const TMemSpyEComCategoryData& aData); |
|
47 |
|
48 private: |
|
49 TMemSpyEComCategoryData *iData; |
|
50 }; |
|
51 |
|
52 NONSHARABLE_CLASS( CMemSpyApiEComInterface ) : public CBase |
|
53 { |
|
54 public: |
|
55 IMPORT_C ~CMemSpyApiEComInterface(); |
|
56 |
|
57 static CMemSpyApiEComInterface* NewL(const TMemSpyEComInterfaceData& aData); |
|
58 |
|
59 static CMemSpyApiEComInterface* NewLC(const TMemSpyEComInterfaceData& aData); |
|
60 |
|
61 public: |
|
62 IMPORT_C TUid Id() const; |
|
63 |
|
64 IMPORT_C TUid CategoryId() const; |
|
65 |
|
66 IMPORT_C const TDesC& Name() const; |
|
67 |
|
68 IMPORT_C TInt ImplementationCount() const; |
|
69 |
|
70 private: |
|
71 void ConstructL(const TMemSpyEComInterfaceData& aData); |
|
72 |
|
73 private: |
|
74 TMemSpyEComInterfaceData *iData; |
|
75 }; |
|
76 |
|
77 NONSHARABLE_CLASS( CMemSpyApiEComImplementation ) : public CBase |
|
78 { |
|
79 public: |
|
80 IMPORT_C ~CMemSpyApiEComImplementation(); |
|
81 |
|
82 static CMemSpyApiEComImplementation* NewL(const TMemSpyEComImplementationData& aData); |
|
83 |
|
84 static CMemSpyApiEComImplementation* NewLC(const TMemSpyEComImplementationData& aData); |
|
85 |
|
86 public: |
|
87 IMPORT_C TUid ImplementationUid() const; |
|
88 |
|
89 IMPORT_C const TDesC& Name() const; |
|
90 |
|
91 IMPORT_C TInt Version() const; |
|
92 |
|
93 IMPORT_C const TDesC& DataType() const; |
|
94 |
|
95 IMPORT_C const TDesC& OpaqueData() const; |
|
96 |
|
97 IMPORT_C TDriveUnit Drive() const; |
|
98 |
|
99 IMPORT_C TBool RomOnly() const; |
|
100 |
|
101 IMPORT_C TBool RomBased() const; |
|
102 |
|
103 IMPORT_C TVendorId VendorId() const; |
|
104 |
|
105 IMPORT_C TBool Disabled() const; |
|
106 |
|
107 private: |
|
108 |
|
109 void ConstructL(const TMemSpyEComImplementationData& aData); |
|
110 |
|
111 private: |
|
112 TMemSpyEComImplementationData *iData; |
|
113 }; |
|
114 |
|
115 |
|
116 #endif // MEMSPYAPIECOM_H |