15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 |
18 |
19 #include <e32std.h> |
19 #include <e32std.h> |
20 #include <ecom.h> |
20 #include <ecom/ecom.h> |
21 |
21 |
22 // ----------------------------------------------------------------------------- |
22 // ----------------------------------------------------------------------------- |
23 // CPbkxRemoteContactLookupEnv::NewL |
23 // CPbkxRemoteContactLookupEnv::NewL |
24 // ----------------------------------------------------------------------------- |
24 // ----------------------------------------------------------------------------- |
25 // |
25 // |
26 inline CPbkxRemoteContactLookupEnv* CPbkxRemoteContactLookupEnv::NewL() |
26 inline CPbkxRemoteContactLookupEnv* CPbkxRemoteContactLookupEnv::NewL() |
27 { |
27 { |
28 CPbkxRemoteContactLookupEnv* self = NULL; |
28 CPbkxRemoteContactLookupEnv* self = NULL; |
29 |
29 |
30 TUid implUid = {KPbkxRemoteContactLookupServiceImplImpUid}; |
30 TUid implUid = {KPbkxRemoteContactLookupServiceImplImpUid}; |
31 |
31 |
32 TAny* interface = REComSession::CreateImplementationL ( |
32 TAny* interface = REComSession::CreateImplementationL ( |
33 implUid, _FOFF( CPbkxRemoteContactLookupEnv, iDtor_ID_Key ) ); |
33 implUid, _FOFF( CPbkxRemoteContactLookupEnv, iDtor_ID_Key ) ); |
34 |
34 |
35 return reinterpret_cast< CPbkxRemoteContactLookupEnv* >( interface ); |
35 return reinterpret_cast< CPbkxRemoteContactLookupEnv* >( interface ); |
36 } |
36 } |
37 |
37 |
38 // ----------------------------------------------------------------------------- |
38 // ----------------------------------------------------------------------------- |
39 // CPbkxRemoteContactLookupEnv::~CPbkxRemoteContactLookupEnv |
39 // CPbkxRemoteContactLookupEnv::~CPbkxRemoteContactLookupEnv |
40 // ----------------------------------------------------------------------------- |
40 // ----------------------------------------------------------------------------- |