31
|
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: Message Indicator private class.
|
|
15 |
* Gets the indicaton information from conversation server.
|
|
16 |
*
|
|
17 |
*/
|
|
18 |
|
|
19 |
#ifndef MSGINDICATOR_PRIVATE_H
|
|
20 |
#define MSGINDICATOR_PRIVATE_H
|
|
21 |
#include "msginfodefs.h"
|
|
22 |
class MsgIndicator;
|
|
23 |
class CCSRequestHandler;
|
|
24 |
class IndicatorData;
|
|
25 |
|
|
26 |
/**
|
|
27 |
* Message indicator class.
|
|
28 |
* Handles client request and showing the indications.
|
|
29 |
*/
|
|
30 |
class MsgIndicatorPrivate
|
|
31 |
{
|
|
32 |
public:
|
|
33 |
/**
|
|
34 |
* Constructor
|
|
35 |
*/
|
|
36 |
MsgIndicatorPrivate(MsgIndicator* indicator);
|
|
37 |
|
|
38 |
/**
|
|
39 |
* Destructor
|
|
40 |
*/
|
|
41 |
~MsgIndicatorPrivate();
|
|
42 |
|
|
43 |
/**
|
|
44 |
* Get the information required to show the inidctaions
|
|
45 |
* @pamam indicatorData indicator data which will be filled
|
|
46 |
*/
|
|
47 |
void getIndicatorInfo(MsgInfo& indicatorData);
|
|
48 |
|
|
49 |
/**
|
|
50 |
* Get the information required to show the inidctaions.
|
|
51 |
* Calls conversation sever to fetch the information.
|
|
52 |
* @param indicatorData indicator data which will be filled.
|
|
53 |
*/
|
|
54 |
void getIndicatorInfoL(MsgInfo& indicatorData);
|
|
55 |
|
|
56 |
private :
|
|
57 |
/**
|
|
58 |
* Does the initializations.
|
|
59 |
*/
|
|
60 |
void initL();
|
|
61 |
|
|
62 |
private:
|
|
63 |
/**
|
|
64 |
* Pointer to msgnotifier
|
|
65 |
*/
|
|
66 |
MsgIndicator* q_ptr;
|
|
67 |
|
|
68 |
/**
|
|
69 |
* Conversation server object
|
|
70 |
*/
|
|
71 |
CCSRequestHandler* mCvServer;
|
|
72 |
};
|
|
73 |
|
|
74 |
#endif // MSGINDICATOR_H
|
|
75 |
|