home *** CD-ROM | disk | FTP | other *** search
/ Adobe Graphics & Publishing SDK 1996 December / Adobe Graphics & Publishing SDK 1996 December.iso / pc / pm65sdk / sourcecode / pagemakerclasslibrary / commands / pmove.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  1996-08-15  |  987 b   |  43 lines

  1. /*
  2.  *--- PMove.cpp -----------------------------------------------------------
  3.  * Copyright (c) 1995-96 Adobe Systems Incorporated.  All rights reserved.
  4.  * Created on Sun, Oct 22, 1995 @ 4:19 PM by Paul Ferguson.
  5.  *
  6.  * Description:  For notes about this class, refer to the
  7.  * PCL documentation file PMove.html
  8.  *-------------------------------------------------------------------------
  9.  */
  10.  
  11. #include "PMove.h"
  12. #include "PRequestBuf.h"
  13. #include "PCommand.h"
  14.  
  15. const size_t REQUEST_SIZE2 = 6;
  16.  
  17. PMove::PMove(short cHandle, long xyLocation)
  18. {
  19.     char * temp[REQUEST_SIZE2];
  20.     PRequestBuf request(temp);
  21.  
  22.     request << cHandle << xyLocation;
  23.             
  24.     PCommand command(pm_move, request);
  25. }
  26.  
  27.  
  28. const size_t REQUEST_SIZE3 = 10;
  29.  
  30. PMove::PMove(short cHandle, long xLocation, long yLocation)
  31. {
  32.     char * temp[REQUEST_SIZE3];
  33.     PRequestBuf request(temp);
  34.  
  35.     request << cHandle << xLocation << yLocation;
  36.             
  37.     PCommand command(pm_move, request);
  38. }
  39.  
  40.  
  41.  
  42. // end of PMove.cpp
  43.