home *** CD-ROM | disk | FTP | other *** search
/ Acorn User 2 / AUCD2.iso / program / vista.arc / !Vista / h / msgtrans < prev    next >
Text File  |  1996-01-25  |  2KB  |  49 lines

  1. // **************************************************************************
  2. //                     Copyright 1996 David Allison
  3. //
  4. //             VV    VV    IIIIII     SSSSS     TTTTTT       AA
  5. //             VV    VV      II      SS           TT       AA  AA
  6. //             VV    VV      II        SSSS       TT      AA    AA
  7. //              VV  VV       II           SS      TT      AAAAAAAA
  8. //                VV       IIIIII     SSSS        TT      AA    AA
  9. //
  10. //                    MULTI-THREADED C++ WIMP CLASS LIBRARY
  11. //                                for RISC OS
  12. // **************************************************************************
  13. //
  14. //             P U B L I C    D O M A I N    L I C E N C E
  15. //             -------------------------------------------
  16. //
  17. //     This library is copyright. You may not sell the library for
  18. //     profit, but you may sell products which use it providing
  19. //     those products are presented as executable code and are not
  20. //     libraries themselves.  The library is supplied without any
  21. //     warranty and the copyright owner cannot be held responsible for
  22. //     damage resulting from failure of any part of this library.
  23. //
  24. //          See the User Manual for details of the licence.
  25. //
  26. // *************************************************************************
  27.  
  28. //
  29. // message translation
  30. //
  31. #include "Vista:defs.h"
  32.  
  33. struct msgtrans_descriptor
  34.    {
  35.    int internal[4] ;
  36.    } ;
  37.  
  38. class MsgTrans
  39.    {
  40.    public:
  41.       MsgTrans (char *filename) ;
  42.       ~MsgTrans() ;
  43.       virtual char *lookup (char *token) ;
  44.    protected:
  45.       msgtrans_descriptor desc ;
  46.       int is_open ;
  47.       char *buffer ;
  48.    } ;
  49.