equal
deleted
inserted
replaced
45 #include "msimplepublisher.h" |
45 #include "msimplepublisher.h" |
46 #include "msimplewatcher.h" |
46 #include "msimplewatcher.h" |
47 #include "msimplewinfowatcher.h" |
47 #include "msimplewinfowatcher.h" |
48 #include "simpleinstantmessage.h" |
48 #include "simpleinstantmessage.h" |
49 |
49 |
|
50 #ifdef _DEBUG |
|
51 #include "simpledebugutils.h" |
|
52 #endif |
|
53 |
50 class MSimpleConnectionObserver; |
54 class MSimpleConnectionObserver; |
51 class MSimplePublishObserver; |
55 class MSimplePublishObserver; |
52 class MSimpleWatcherObserver; |
56 class MSimpleWatcherObserver; |
53 class MSimpleWinfoObserver; |
57 class MSimpleWinfoObserver; |
54 class MSimplePublishObserver; |
58 class MSimplePublishObserver; |
89 } |
93 } |
90 |
94 |
91 EXPORT_C MSimpleConnection* TSimpleFactory::NewConnectionL( |
95 EXPORT_C MSimpleConnection* TSimpleFactory::NewConnectionL( |
92 MSimpleConnectionObserver& aObserver) |
96 MSimpleConnectionObserver& aObserver) |
93 { |
97 { |
|
98 #ifdef _DEBUG |
|
99 TSimpleLogger::Log(_L("TSimpleFactory::NewConnectionL" ) ); |
|
100 #endif |
94 return CSimpleConnection::NewL( aObserver ); |
101 return CSimpleConnection::NewL( aObserver ); |
95 } |
102 } |
96 |
103 |
97 EXPORT_C MSimplePublisher* TSimpleFactory::NewPublisherL( |
104 EXPORT_C MSimplePublisher* TSimpleFactory::NewPublisherL( |
98 MSimpleConnection& aConn, |
105 MSimpleConnection& aConn, |
132 { |
139 { |
133 return TSimpleXmlFactory::NewContentL( |
140 return TSimpleXmlFactory::NewContentL( |
134 aContentID, aContentType ); |
141 aContentID, aContentType ); |
135 } |
142 } |
136 |
143 |
|
144 EXPORT_C MSimpleConnection* TSimpleFactory::NewConnectionL( |
|
145 MSimpleConnectionObserver& aObserver, TInt32 aServiceId ) |
|
146 { |
|
147 return CSimpleConnection::NewL( aObserver, aServiceId ); |
|
148 } |
137 |
149 |
138 |
150 |
139 |
151 |
140 |
|