equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2003 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: Virtual class defining an interface for providing topic subscriptions |
|
15 * information and routing CB messages. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 #ifndef MCBSMCNSUBSCRIPTIONSPROVIDER_H |
|
23 #define MCBSMCNSUBSCRIPTIONSPROVIDER_H |
|
24 |
|
25 // INCLUDES |
|
26 |
|
27 #include <e32base.h> |
|
28 |
|
29 // FORWARD DECLARATIONS |
|
30 |
|
31 class CCbsMessage; |
|
32 |
|
33 // CLASS DECLARATION |
|
34 |
|
35 /** |
|
36 * This class defines the interface for providing CB topic subscriptions. |
|
37 */ |
|
38 class MCbsMcnSubscriptionsProvider |
|
39 { |
|
40 public: // New functions |
|
41 /* |
|
42 * Returns the number of topic subscriptions of this MCN client. |
|
43 * |
|
44 * @return Number of subscribed CB topics |
|
45 */ |
|
46 virtual TUint NumberOfSubscriptions() const = 0; |
|
47 |
|
48 /** |
|
49 * Route CB message given in aMessage to a MCN client. |
|
50 * @param aMessage The CBS message to be routed |
|
51 */ |
|
52 virtual void RouteMessageL( const CCbsMessage& aMessage ) = 0; |
|
53 }; |
|
54 |
|
55 #endif // MCBSMCNSUBSCRIPTIONSPROVIDER_H |
|
56 |
|
57 // End of File |