home *** CD-ROM | disk | FTP | other *** search
/ PC Online 1999 February / PCO_0299.ISO / filesbbs / dos / indigo01.exe / FIDO.H < prev    next >
Encoding:
C/C++ Source or Header  |  1997-08-21  |  1.1 KB  |  31 lines

  1. // This program is free software; you can redistribute it and/or modify it
  2. // under the terms of the GNU General Public License as published by the Free
  3. // Software Foundation; either version 2 of the License, or (at your option)
  4. // any later version.
  5.  
  6. // You should have received a copy of the GNU General Public License along
  7. // with this program; if not, write to the Free Software Foundation, Inc., 675
  8. // Mass Ave, Cambridge, MA 02139, USA.
  9.  
  10. // fido.h
  11. // Header file for the Fidonet address object
  12. #ifndef __FIDO_H
  13. #define __FIDO_H
  14.  
  15. #include "iostream.h"
  16.  
  17. // Class: FidoAddress
  18. // Handles a Fidonet address.
  19. class FidoAddress {
  20. public:
  21.     FidoAddress();                                       // constructor
  22.     FidoAddress(unsigned, unsigned, unsigned, unsigned); // constructor
  23.     void operator=(FidoAddress &);                       // assignment
  24.     int operator==(FidoAddress &);                       // comparison
  25.     friend ostream &operator<<(ostream &, FidoAddress &);
  26.  
  27.     unsigned    zone, net, node, point;                  // data
  28. };
  29.  
  30. #endif
  31.