home *** CD-ROM | disk | FTP | other *** search
/ Meeting Pearls 1 / Meeting Pearls Vol 1 (1994).iso / installed_progs / dev / flexcat / c++_h.sd < prev    next >
Encoding:
Text File  |  1994-05-31  |  1.2 KB  |  39 lines

  1. ##stringtype C
  2. ##shortstrings
  3. //****************************************************************
  4. //  This file was created automatically by `FlexCat V1.1'
  5. //  Do NOT edit by hand!
  6. //****************************************************************
  7.  
  8. // You can include as many files like this as you want, if they have
  9. // diferent string ID names; allowing you this way to have diferent catalogs
  10. // in your program.
  11.  
  12. #ifndef %b_CAT_H    //    assure that this is read only once
  13. #define %b_CAT_H
  14.  
  15. #ifndef CATALOGF_H
  16. #include <CatalogF.h>
  17. #endif
  18.  
  19. // Following comes a #define that simplifies the use of a catalog, there
  20. // will be one like this for every catalog to be used. And can be used
  21. // this way:
  22. //    // declaring a CatalogF object.
  23. //    const CatalogF cat( loc, language, %b_ARGS );
  24. //    // where language can be any language (that a catalog file exist)
  25. //    // if loc == 0 then it will use default Locale
  26. //    // if language == 0 then in will use default language
  27. //    // this is replaced with the appropiate arguments to the constructor.
  28. //
  29. //    // and then to use it, simply:
  30. //    text = cat.GetString(MSG_HELLO);
  31. //    // Where MSG_HELLO is a name of an ID of the .cd file
  32. //    // Easy!
  33.  
  34. #define %b_ARGS "%b.catalog", %l, %v
  35.  
  36. extern MensajeCAT %i;
  37.  
  38. #endif
  39.