114
|
1 |
/*
|
|
2 |
* Copyright (c) 2005-2006 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: Static factory class used to create publishers.
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
|
|
19 |
#ifndef AIPUBLISHERFACTORY_H
|
|
20 |
#define AIPUBLISHERFACTORY_H
|
|
21 |
|
|
22 |
class MAiDeviceStatusPublisher;
|
|
23 |
|
|
24 |
/**
|
|
25 |
* @ingroup group_devicestatusplugin
|
|
26 |
*
|
|
27 |
* Static factory class used to create publishers.
|
|
28 |
*
|
|
29 |
* @since S60 3.2
|
|
30 |
*/
|
|
31 |
class AiPublisherFactory
|
|
32 |
{
|
|
33 |
|
|
34 |
public:
|
|
35 |
|
|
36 |
/**
|
|
37 |
* Create date profile publisher.
|
|
38 |
*
|
|
39 |
* @since S60 3.2
|
|
40 |
* @return pointer to publisher or NULL if publisher is not supported
|
|
41 |
* by platform.
|
|
42 |
*/
|
|
43 |
static MAiDeviceStatusPublisher* CreateDatePublisherL();
|
|
44 |
|
|
45 |
/**
|
|
46 |
* Create operator logo publisher.
|
|
47 |
*
|
|
48 |
* @since S60 3.2
|
|
49 |
* @return pointer to publisher or NULL if publisher is not supported
|
|
50 |
* by platform.
|
|
51 |
*/
|
|
52 |
static MAiDeviceStatusPublisher* CreateOperatorLogoPublisherL();
|
|
53 |
|
|
54 |
/**
|
|
55 |
* Create operator name publisher.
|
|
56 |
*
|
|
57 |
* @since S60 3.2
|
|
58 |
* @return pointer to publisher or NULL if publisher is not supported
|
|
59 |
* by platform.
|
|
60 |
*/
|
|
61 |
static MAiDeviceStatusPublisher* CreateOperatorNamePublisherL();
|
|
62 |
|
|
63 |
/**
|
|
64 |
* Create BT SAP publisher.
|
|
65 |
*
|
|
66 |
* @since S60 3.2
|
|
67 |
* @return pointer to publisher or NULL if publisher is not supported
|
|
68 |
* by platform.
|
|
69 |
*/
|
|
70 |
static MAiDeviceStatusPublisher* CreateBTSAPPublisherL();
|
|
71 |
|
|
72 |
/**
|
|
73 |
* Create MCN publisher.
|
|
74 |
*
|
|
75 |
* @since S60 3.2
|
|
76 |
* @return pointer to publisher or NULL if publisher is not supported
|
|
77 |
* by platform.
|
|
78 |
*/
|
|
79 |
static MAiDeviceStatusPublisher* CreateMCNPublisherL();
|
|
80 |
|
|
81 |
/**
|
|
82 |
* Create CUG publisher.
|
|
83 |
*
|
|
84 |
* @since S60 3.2
|
|
85 |
* @return pointer to publisher or NULL if publisher is not supported
|
|
86 |
* by platform.
|
|
87 |
*/
|
|
88 |
static MAiDeviceStatusPublisher* CreateCUGPublisherL();
|
|
89 |
|
|
90 |
/**
|
|
91 |
* Create SIM registration status publisher.
|
|
92 |
*
|
|
93 |
* @since S60 3.2
|
|
94 |
* @return pointer to publisher or NULL if publisher is not supported
|
|
95 |
* by platform.
|
|
96 |
*/
|
|
97 |
static MAiDeviceStatusPublisher* CreateSimRegPublisherL();
|
|
98 |
|
|
99 |
/**
|
|
100 |
* Create Network status publisher.
|
|
101 |
*
|
|
102 |
* @since S60 3.2
|
|
103 |
* @return pointer to publisher or NULL if publisher is not supported
|
|
104 |
* by platform.
|
|
105 |
*/
|
|
106 |
static MAiDeviceStatusPublisher* CreateNWSPublisherL();
|
|
107 |
|
|
108 |
/**
|
|
109 |
* Create VHZ publisher.
|
|
110 |
*
|
|
111 |
* @since S60 3.2
|
|
112 |
* @return pointer to publisher or NULL if publisher is not supported
|
|
113 |
* by platform.
|
|
114 |
*/
|
|
115 |
static MAiDeviceStatusPublisher* CreateVHZPublisherL();
|
|
116 |
|
|
117 |
/**
|
|
118 |
* Create CUGMCN publisher.
|
|
119 |
*
|
|
120 |
* @since S60 3.2
|
|
121 |
* @return pointer to publisher or NULL if publisher is not supported
|
|
122 |
* by platform.
|
|
123 |
*/
|
|
124 |
static MAiDeviceStatusPublisher* CreateCUGMCNPublisherL();
|
|
125 |
};
|
|
126 |
|
|
127 |
|
|
128 |
#endif // AIPUBLISHERFACTORY_H
|