|
1 /* |
|
2 * s_presencegrantrequestinfo.h :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: s_presencegrantrequestinfo.h |
|
15 * |
|
16 */ |
|
17 #ifndef MPRESENCEGRANTREQUESTINFOSTUB |
|
18 #define MPRESENCEGRANTREQUESTINFOSTUB |
|
19 |
|
20 #include <presencegrantrequestinfo.h> |
|
21 |
|
22 /** |
|
23 * Interface for presence grant request info object. |
|
24 * |
|
25 * Presence grant request info object presents single |
|
26 * presence grant request entry in the presence |
|
27 * grant request list. Presence grant request info |
|
28 * object holds the identity and display name information |
|
29 * for the presence grant request. |
|
30 * |
|
31 * @ingroup presencedatamodelapi |
|
32 * @since S60 v3.2 |
|
33 */ |
|
34 class MPresenceGrantRequestInfoStub : public MPresenceGrantRequestInfo |
|
35 { |
|
36 public: |
|
37 static MPresenceGrantRequestInfo* NewL(); |
|
38 const MXIMPIdentity& RequestorId() const; |
|
39 |
|
40 const TDesC16& RequestorDisplayName() const; |
|
41 |
|
42 void SetRequestorIdL( MXIMPIdentity* aIdentity ); |
|
43 |
|
44 void SetRequestorDisplayNameL( const TDesC16& aDisplayName ); |
|
45 |
|
46 const TAny* GetInterface( TInt32 aInterfaceId, TIfGetOps aOps ) const; |
|
47 |
|
48 TAny* GetInterface( TInt32 aInterfaceId, TIfGetOps aOps ); |
|
49 |
|
50 TInt32 GetInterfaceId() const; |
|
51 |
|
52 }; |
|
53 |
|
54 #endif |