--- a/supl/locationsuplfw/protocolhandlerapi/inc/epos_csuplcommunicationmanager.h Mon Jun 21 16:08:35 2010 +0300
+++ b/supl/locationsuplfw/protocolhandlerapi/inc/epos_csuplcommunicationmanager.h Thu Jul 15 19:06:58 2010 +0300
@@ -36,6 +36,13 @@
// CLASS DECLARATION
+class MSuplConnectionMonitor
+ {
+public:
+ virtual void ConnectionOpened() = 0;
+ virtual void ConnectionClosed() = 0;
+ };
+
/**
* CSuplCommunicationManager is the Singleton that provides SUPL Connection
* to be used by Protocol Handler
@@ -54,7 +61,7 @@
/**
* Two-phased constructor.
*/
- IMPORT_C static CSuplCommunicationManager* NewL();
+ IMPORT_C static CSuplCommunicationManager* NewL(MSuplConnectionMonitor& aConnMonitor);
/**
* Destructor.
@@ -178,7 +185,7 @@
/**
* C++ default constructor.
*/
- CSuplCommunicationManager();
+ CSuplCommunicationManager(MSuplConnectionMonitor& aConnMonitor);
/**
* By default Symbian 2nd phase constructor is private.
@@ -206,6 +213,8 @@
// Trace Log
CSuplConnTrace* iTrace;
+
+ MSuplConnectionMonitor& iConnMonitor;
};
#endif // C_CSUPLCOMMUNICATIONMANAGER_H