Use proper namespace for iostream classes
[gnucomo.git] / src / gcm_input / message.h
index 03a8209..bfe5193 100644 (file)
@@ -6,7 +6,7 @@
 ***********************
 **      FILE NAME      : message.h
 **      SYSTEM NAME    : 
-**      VERSION NUMBER : $Revision: 1.1 $
+**      VERSION NUMBER : $Revision: 1.2 $
 **
 **  DESCRIPTION      :  Classes to for handling client messages
 **
 ********************************
 **      ORIGINAL AUTHOR : Arjen Baart - arjen@andromeda.nl
 **      CREATION DATE   : Sep 16, 2002
-**      LAST UPDATE     : Oct 05, 2002
+**      LAST UPDATE     : Nov 04, 2002
 **      MODIFICATIONS   : 
 **************************************************************************/
 
 /*****************************
    $Log: message.h,v $
-   Revision 1.1  2002-10-05 10:25:49  arjen
+   Revision 1.2  2002-11-04 10:13:36  arjen
+   Use proper namespace for iostream classes
+
+   Revision 1.1  2002/10/05 10:25:49  arjen
    Creation of gcm_input and a first approach to a web interface
 
 *****************************/
 
-/* static const char *RCSID = "$Id: message.h,v 1.1 2002-10-05 10:25:49 arjen Exp $"; */
+/* static const char *RCSID = "$Id: message.h,v 1.2 2002-11-04 10:13:36 arjen Exp $"; */
 
 #include <iostream>
 #include <list>
 //
 //  RELATIONS      :
 //  SEE ALSO       :
-//  LAST MODIFIED  : Sep 30, 2002
+//  LAST MODIFIED  : Nov 04, 2002
 ///////////////////////////////////////////////////////////////////////////
 */
 
 class message_buffer
 {
-   istream       *input;
-   list<String>  buffer;
+   std::istream       *input;
+   std::list<String>  buffer;
 
-   list<String>::iterator   next_line;
+   std::list<String>::iterator   next_line;
 
 public:
 
@@ -69,13 +72,13 @@ public:
       next_line = buffer.begin();
    }
 
-   message_buffer(istream *in)
+   message_buffer(std::istream *in)
    {
       input = in;
       next_line = buffer.begin();
    }
 
-   void from(istream *in)
+   void from(std::istream *in)
    {
       input = in;
    }
@@ -117,7 +120,7 @@ public:
 //
 //  RELATIONS      :
 //  SEE ALSO       :
-//  LAST MODIFIED  : Oct 05, 2002
+//  LAST MODIFIED  : Nov 04, 2002
 ///////////////////////////////////////////////////////////////////////////
 */
 
@@ -142,7 +145,7 @@ class client_message
 
 public:
 
-   client_message(istream *in, gnucomo_database db);
+   client_message(std::istream *in, gnucomo_database db);
 
    double classify(String host, UTC arrival = Now(), String serv = "");
    int    enter();