|
1 /* |
|
2 * Copyright (c) 2005 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: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 #ifndef MCESRV_H |
|
22 #define MCESRV_H |
|
23 |
|
24 #ifndef MCE_COMMON_SERVER_SIDE |
|
25 #define MCE_COMMON_SERVER_SIDE |
|
26 #endif |
|
27 |
|
28 #ifdef EUNIT_UNIT_TEST |
|
29 #pragma warn_illtokenpasting off |
|
30 #endif |
|
31 |
|
32 #ifdef MCESRV_UNIT_TESTING |
|
33 #define MCESRV_UT_DEFINITIONS\ |
|
34 friend class UT_CMceCsSession;\ |
|
35 friend class UT_CMceCsSubSession;\ |
|
36 friend class UT_CMceSipSession;\ |
|
37 friend class UT_CMceSipEvent;\ |
|
38 friend class UT_TMceActionSet;\ |
|
39 friend class UT_CMceStateIdle;\ |
|
40 friend class UT_CMceStateClientEstablishing;\ |
|
41 friend class UT_CMceStateOffering;\ |
|
42 friend class UT_CMceStateEstablished;\ |
|
43 friend class UT_CMceStateServerEstablishing;\ |
|
44 friend class UT_CMceStateServerOffering;\ |
|
45 friend class UT_CMceStateUpdating;\ |
|
46 friend class UT_CMceStateUpdated;\ |
|
47 friend class UT_CMceStateAnswering;\ |
|
48 friend class UT_CMceStateTerminating;\ |
|
49 friend class UT_CMceStateCanceled;\ |
|
50 friend class UT_CMceStateError;\ |
|
51 friend class UT_CMceStateConfirming;\ |
|
52 friend class UT_CMceStateClientReserving;\ |
|
53 friend class UT_CMceStateAcknowledgementRequired;\ |
|
54 friend class UT_CMceStateServerReserving;\ |
|
55 friend class UT_CMceStateConfirmationRequired;\ |
|
56 friend class UT_CMceStateServerInitializing;\ |
|
57 friend class UT_CMceSipConnection;\ |
|
58 friend class UT_CMceClientResolver;\ |
|
59 friend class UT_CMceSipManager;\ |
|
60 friend class UT_MCEUsesCases;\ |
|
61 friend class UT_CMceCsReceiverBase;\ |
|
62 friend class UT_CMceSipDefaultData;\ |
|
63 friend class UT_CMceSipDefaults;\ |
|
64 friend class UT_CMceCsReceiveQueue;\ |
|
65 friend class UT_MCESIP;\ |
|
66 friend class UT_CMceDictionary;\ |
|
67 friend class UT_CMceSipExtensions;\ |
|
68 friend class UT_CMceReliableSender;\ |
|
69 friend class UT_CMceLocalAddrResolver;\ |
|
70 friend class UT_CMceNatSipSession;\ |
|
71 friend class UT_CMCENatUseCases;\ |
|
72 friend class UT_CMceNatStateCreateOfferRequested;\ |
|
73 friend class UT_CMceNatStateCreateOffer;\ |
|
74 friend class UT_CMceNatStateCreateAnswer;\ |
|
75 friend class UT_CMceNatStateDecodeAnswer;\ |
|
76 friend class UT_CMceNatStateDecodeOffer;\ |
|
77 friend class UT_CMceNatStateWait;\ |
|
78 friend class UT_CMceNatStateConnected;\ |
|
79 friend class UT_CMceNatStateIdle;\ |
|
80 friend class MCETestHelper;\ |
|
81 friend class UT_CMceState; |
|
82 #else |
|
83 |
|
84 #define MCESRV_UT_DEFINITIONS |
|
85 |
|
86 #endif |
|
87 |
|
88 #ifdef MCEMM_UNIT_TESTING |
|
89 #define MCEMM_UT_DEFINITIONS\ |
|
90 friend class UT_CMceMediaManager;\ |
|
91 friend class UT_CMceSdpSession;\ |
|
92 friend class UT_TMceSrvStreamIterator;\ |
|
93 friend class UT_TMceMediaState;\ |
|
94 friend class UT_TMceMediaIdle;\ |
|
95 friend class UT_TMceOfferingMedia;\ |
|
96 friend class UT_TMceAnsweringMedia;\ |
|
97 friend class UT_TMceAnsweringMediaUpdate;\ |
|
98 friend class UT_TMceMediaNegotiated;\ |
|
99 friend class UT_TMcePreparingOffererStreams;\ |
|
100 friend class UT_TMceStartingOffererReceiveStreams;\ |
|
101 friend class UT_TMceStartingOffererSendStreams;\ |
|
102 friend class UT_TMcePreparingAnswererStreams;\ |
|
103 friend class UT_TMceStartingAnswererStreams;\ |
|
104 friend class UT_TMceSegmentedPreconditions;\ |
|
105 friend class UT_TMceSecurePreconditions;\ |
|
106 friend class UT_CMceSrvStream;\ |
|
107 friend class UT_CMceSrvSink;\ |
|
108 friend class UT_CMceSrvSource;\ |
|
109 friend class UT_CMceAdoptedSrvStream;\ |
|
110 friend class UT_CMceSdpCodec;\ |
|
111 friend class UT_CMceMediaSdpCodec;\ |
|
112 friend class UT_CMceAudioSdpCodec;\ |
|
113 friend class UT_CMceVideoSdpCodec;\ |
|
114 friend class UT_CMceComCameraSource;\ |
|
115 friend class UT_CMceComFileSource;\ |
|
116 friend class MceMediaManagerTestHelper; |
|
117 |
|
118 |
|
119 #else |
|
120 |
|
121 #define MCEMM_UT_DEFINITIONS |
|
122 |
|
123 #endif |
|
124 |
|
125 |
|
126 #endif |
|
127 |
|
128 // End of File |