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 |
|
54 class MSimpleConnectionObserver; |
50 class MSimpleConnectionObserver; |
55 class MSimplePublishObserver; |
51 class MSimplePublishObserver; |
56 class MSimpleWatcherObserver; |
52 class MSimpleWatcherObserver; |
57 class MSimpleWinfoObserver; |
53 class MSimpleWinfoObserver; |
58 class MSimplePublishObserver; |
54 class MSimplePublishObserver; |
93 } |
89 } |
94 |
90 |
95 EXPORT_C MSimpleConnection* TSimpleFactory::NewConnectionL( |
91 EXPORT_C MSimpleConnection* TSimpleFactory::NewConnectionL( |
96 MSimpleConnectionObserver& aObserver) |
92 MSimpleConnectionObserver& aObserver) |
97 { |
93 { |
98 #ifdef _DEBUG |
|
99 TSimpleLogger::Log(_L("TSimpleFactory::NewConnectionL" ) ); |
|
100 #endif |
|
101 return CSimpleConnection::NewL( aObserver ); |
94 return CSimpleConnection::NewL( aObserver ); |
102 } |
95 } |
103 |
96 |
104 EXPORT_C MSimplePublisher* TSimpleFactory::NewPublisherL( |
97 EXPORT_C MSimplePublisher* TSimpleFactory::NewPublisherL( |
105 MSimpleConnection& aConn, |
98 MSimpleConnection& aConn, |
139 { |
132 { |
140 return TSimpleXmlFactory::NewContentL( |
133 return TSimpleXmlFactory::NewContentL( |
141 aContentID, aContentType ); |
134 aContentID, aContentType ); |
142 } |
135 } |
143 |
136 |
144 EXPORT_C MSimpleConnection* TSimpleFactory::NewConnectionL( |
|
145 MSimpleConnectionObserver& aObserver, TInt32 aServiceId ) |
|
146 { |
|
147 return CSimpleConnection::NewL( aObserver, aServiceId ); |
|
148 } |
|
149 |
137 |
150 |
138 |
151 |
139 |
|
140 |