Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Saturday, October 17, 2026

Diff for libplaton/platon/net/atlantis/atlantis.h between version 1.7 and 1.8

version 1.7, 2002/09/19 15:29:45 version 1.8, 2002/09/29 03:52:00
Line 1 
Line 1 
 /**************************************************************************  /**************************************************************************
  *                                                                        *   *                                                                        *
  *  Atlantis talker object-oriented header file                           *   *  Atlantis talker header file                                           *
  *                                                                        *   *                                                                        *
  *  Programmed by Ondrej Jombik <nepto@pobox.sk>                          *   *  Programmed by Ondrej Jombik <nepto@pobox.sk>                          *
  *  Copyright (c) 2000 Condy software inc.                                *   *  Copyright (c) 2000 Condy software inc.                                *
Line 22 
Line 22 
  * Nepto [1.5.2000]   * Nepto [1.5.2000]
  */   */
   
 #ifndef _PLATON_TELNET_ATLANTIS_H  #ifndef _PLATON_NET_ATLANTIS_H
 #define _PLATON_TELNET_ATLANTIS_H  #define _PLATON_NET_ATLANTIS_H
   
 #define ATL_HOST                "atlantis.sk"  #define ATL_HOST                "atlantis.sk"
 #define ATL_HOST_STR            ATL_HOST  #define ATL_HOST_STR            ATL_HOST
Line 101  extern "C" {
Line 101  extern "C" {
 }  }
 #endif  #endif
   
 /****************************************************************************  #endif /* #ifndef _PLATON_NET_ATLANTIS_H */
  * Classes                                                                  *  
  ****************************************************************************/  
   
 #ifdef __cplusplus  
   
 class atl_startup{  
         private:  
                 int status;  
                 char nick[ATL_NICK_STRSIZE+1];  
                 char level[ATL_LEVEL_STRSIZE+1];  
                 int ll_day;  
                 int ll_month;  
                 int ll_year;  
                 char lastlink[ATL_LASTLINK_STRSIZE+1];  
                 char room[ATL_ROOM_STRSIZE+1];  
   
         public:  
                 atl_startup(void);  
                 ~atl_startup(void);  
                 void Reset(void);  
                 int Analyze(const char*orig_buf);  
                 int IsDefined(void);  
                 int WriteToStream(FILE*f);  
 };  
   
 class atl_status {  
         private:  
                 int status;  
                 char currlink[ATL_CURRLINK_STRSIZE+1];  
                 char lastlink[ATL_LASTLINK_STRSIZE+1];  
                 char email[ATL_EMAIL_STRSIZE+1];  
   
         public:  
                 atl_status(void);  
                 ~atl_status(void);  
                 void Reset(void);  
                 int Analyze(const char*orig_buf);  
                 int IsDefined(void);  
                 int WriteToStream(FILE*f);  
 };  
   
 class atl_examine{  
         private:  
                 unsigned char type;  
                 int status;  
                 char nick[ATL_NICK_STRSIZE+1];  
                 char level[ATL_LEVEL_STRSIZE+1];  
                 int ttl_day;  
                 int ttl_hour;  
                 int ttl_min;  
                 int ll_day;  
                 int ll_month;  
                 int ll_year;  
   
         public:  
                 atl_examine(void);  
                 ~atl_examine(void);  
                 void Reset(void);  
                 int Analyze(const char*orig_buf);  
                 int IsDefined(void);  
                 int WriteToStream(FILE*f);  
 };  
   
 class atl_hangman{  
         private:  
                 int status;  
                 unsigned char step;  
                 char word[ATL_NICK_STRSIZE+1];  
                 char letters[ATL_LEVEL_STRSIZE+1];  
   
         public:  
                 atl_hangman(void);  
                 ~atl_hangman(void);  
                 void Reset(void);  
                 int Analyze(const char*orig_buf);  
                 int IsDefined(void);  
                 int WriteToStream(FILE*f);  
 };  
   
 #endif /* #ifdef __cplusplus */  
   
 #endif /* #ifndef _PLATON_TELNET_ATLANTIS_H */  
   

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top