home *** CD-ROM | disk | FTP | other *** search
/ Collection of Internet / Collection of Internet.iso / msdos / lynx / source / doslynx / inc / tform.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-10-25  |  935 b   |  41 lines

  1. #ifndef __TFORM_H
  2. //    Avoid include redundancy
  3. #define __TFORM_H
  4.  
  5. //    Copyright (c) 1994, University of Kansas, All Rights Reserved
  6. //
  7. //    Include File:    tform.h
  8. //    Purpose:    Provide an object with the required HTML+ form
  9. //                functionality.
  10. //    Remarks/Portability/Dependencies/Restrictions:
  11. //        ENCTYPE not currently supported.
  12. //        It would be wise to consider a form a container for all of
  13. //            it's possible fields and the actions it should take.
  14. //    Revision History:
  15. //        04-25-94    created
  16.  
  17. //    Constant defines
  18.  
  19. //    Required includes
  20.  
  21. //    Class declarations
  22. class TForm    {
  23. public:
  24.     enum methods    {
  25.         post,    //    post the data to the server after connect.
  26.         get    //    send the information in the form of a URL.
  27.     };
  28. private:
  29.     char *cp_ActionServer;
  30.     methods m_SendAs;
  31. public:
  32.     TForm(const char *cp_action, const char *cp_method);
  33.     ~TForm();
  34. };
  35.  
  36. //    Global variable declarations
  37.  
  38. //    Macros
  39.  
  40. #endif // __TFORM_H
  41.