home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / viscobv6.zip / vac22os2 / ibmcobol / samples / editor / lpexcpat.h < prev    next >
Text File  |  1996-05-31  |  2KB  |  47 lines

  1. /*************************************************************************
  2. *                                                                        *
  3. *  LPEXCPAT.H: Header file for upgrading LPEX commands to current API.   *
  4. *              This file is included in LPEXAPI.H.                       *
  5. *                                                                        *
  6. **************************************************************************
  7. *                                                                        *
  8. *             (C) Copyright IBM Corporation 1993-1995                    *
  9. *                                                                        *
  10. *************************************************************************/
  11.  
  12. #ifndef H_LPEXCPAT
  13. #define H_LPEXCPAT
  14.  
  15. #define lxmain(a)                   LpexEntry(a)
  16. #define lxexit(a)                   LpexExit(a)
  17.  
  18. #define lxcmd(a)                    LpexCommand(a)
  19. #define lxcall(a,b)                 LpexCall(a,b)
  20. #define lxmsg(a)                    LpexCall("msg",a)
  21. #define lxalloc(a)                  LpexAlloc(a)
  22. #define lxfree(a)                   LpexFree(a)
  23. #define lxquery(a,b)                LpexQuery(a,b)
  24. #define lxquery_user(a,b)           LpexQueryUserLink(a,b)
  25. #define lxlink_user(a,b)            LpexLinkUser(a,b)
  26. #define lxfind_user(a,b)            LpexFindUserLink(a,b)
  27. #define lxqgmlfonts(a)              LpexQueryGMLFonts(a)
  28. #define lxgmlfontadd(a)             LpexAddGMLFonts(a)
  29. #define lxnext()                    LpexNext("")
  30. #define lxprev()                    LpexPrev("")
  31. #define lxqrawtx(a)                 LpexQueryRawText(a)
  32. #define lxqtext(a)                  LpexQueryText(a)
  33. #define lxstext(a)                  LpexSetText(a)
  34. #define lxqfont(a)                  LpexQueryFonts(a)
  35. #define lxsfont(a)                  LpexSetFonts(a)
  36. #define lxqmode(a)                  LpexQueryCharModes(a)
  37. #define lxqclass(a)                 LpexQueryClass(a)
  38. #define lxsclass(a)                 LpexSetClass(a)
  39. #define lxqelestate(a)              LpexQueryElementState(a)
  40. #define lxinsert(a)                 LpexInsert(a)
  41.  
  42. /* Note:  The following is provided *for compatibility */
  43. /* only*.  It may not be available in future releases! */
  44. #define lxhab(a)                    LpexHab(a)
  45.  
  46. #endif /* H_LPEXCPAT */
  47.