logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

rev 189 - trunk/msn: msg#00068

Subject: rev 189 - trunk/msn
Author: mrowe
Date: 2004-06-24 03:26:30 +1200 (Thu, 24 Jun 2004)
New Revision: 189

Modified:
   trunk/msn/notificationserver.cpp
   trunk/msn/notificationserver.h
Log:
Add a default constructor that initialises with an empty username nad password.

Modified: trunk/msn/notificationserver.cpp
===================================================================
--- trunk/msn/notificationserver.cpp    2004-06-23 15:25:47 UTC (rev 188)
+++ trunk/msn/notificationserver.cpp    2004-06-23 15:26:30 UTC (rev 189)
@@ -57,6 +57,11 @@
         registerCommandHandlers();
     }
     
+    NotificationServerConnection::NotificationServerConnection() : 
Connection(), auth(Passport(), ""), connectionStatus(NS_DISCONNECTED)
+    {
+        registerCommandHandlers();
+    }
+    
     NotificationServerConnection::~NotificationServerConnection()
     {
         if (connectionStatus != NS_DISCONNECTED)

Modified: trunk/msn/notificationserver.h
===================================================================
--- trunk/msn/notificationserver.h      2004-06-23 15:25:47 UTC (rev 188)
+++ trunk/msn/notificationserver.h      2004-06-23 15:26:30 UTC (rev 189)
@@ -161,6 +161,9 @@
          */
         NotificationServerConnection(Passport username, std::string password);
         
+        /** Create a NotificationServerConnection with no specified username 
or password. */
+        NotificationServerConnection();
+        
         virtual ~NotificationServerConnection();
         virtual void dispatchCommand(std::vector<std::string> & args);
         



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com


<Prev in Thread] Current Thread [Next in Thread>