home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1999 March B / SCO_CASTOR4RRT.iso / uccs / root.14 / udk / usr / include / agent.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-08-19  |  1.9 KB  |  61 lines

  1. /*
  2.  * Copyright (c) 1998 The Santa Cruz Operation, Inc.. All Rights Reserved. 
  3.  *                                                                         
  4.  *        THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF THE               
  5.  *                   SANTA CRUZ OPERATION INC.                             
  6.  *                                                                         
  7.  *   The copyright notice above does not evidence any actual or intended   
  8.  *   publication of such source code.                                      
  9.  */
  10.  
  11. #ifndef _AGENT_H
  12. #define _AGENT_H
  13.  
  14. #ident    "@(#)sgs-head:common/head/agent.h    1.2"
  15. #ident    "@(#)attwin:head/agent.h    1.1"
  16.  
  17. /*    Copyright (c) 1984 AT&T    */
  18. /*      All Rights Reserved      */
  19.  
  20. /*    THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T    */
  21. /*    The copyright notice above does not evidence any       */
  22. /*    actual or intended publication of such source code.    */
  23.  
  24. #define    A_NEWLAYER    1    /* make a new layer             */
  25. #define    A_CURRENT    2    /* make layer process current         */
  26. #define    A_DELETE    3    /* delete a layer             */
  27. #define    A_TOP        4    /* bring a layer to top         */
  28. #define    A_BOTTOM    5    /* put a layer on bottom         */
  29. #define    A_MOVE        6    /* move a layer             */
  30. #define    A_RESHAPE    7    /* reshape a layer             */
  31. #define    A_NEW        8    /* make a new layer and send C_NEW to layers */
  32. #define    A_EXIT        9    /* exit layers program             */
  33.  
  34. /* Leave some room for future mouse operations to be implemented     */
  35.  
  36. #define    A_ROMVERSION    20    /* tell us your rom version, e.g. 8;7;5 */
  37. #define    A_STACKSIZE    21    /* supply terminal with an alternate
  38.                    amount of stack space to be used with
  39.                    the current download            */
  40.  
  41.  
  42. #ifndef DADDR
  43. /* needed for host code where dmd.h is not available...(DADDR is in dmd.h) */
  44. typedef struct Point {
  45.     short    x;
  46.     short    y;
  47. } Point;
  48. typedef struct Rectangle {
  49.     Point origin;
  50.     Point corner;
  51. } Rectangle;
  52. #endif
  53.  
  54. struct agentrect{
  55.     short    command;    /* either newlayer, reshape or current */
  56.     short    chan;
  57.     Rectangle r;        /* rectangle description */
  58. };
  59.  
  60. #endif    /* _AGENT_H */
  61.