home *** CD-ROM | disk | FTP | other *** search
/ Nebula / nebula.bin / SourceCode / MiniExamples / PaginationLab / MyPrintInfo.h < prev    next >
Text File  |  1991-05-18  |  514b  |  22 lines

  1. /* MyPageLayout.m
  2.  * Purpose: A very simple subclass of PrintInfo that adds a flag describing
  3.  * how the application's views should assist in pagination while printing.
  4.  *
  5.  * You may freely copy, distribute, and reuse the code in this example.
  6.  * NeXT disclaims any warranty of any kind, expressed or  implied, as to its
  7.  * fitness for any particular use.
  8.  */
  9.  
  10.  
  11. #import <appkit/PrintInfo.h>
  12.  
  13. @interface MyPrintInfo:PrintInfo
  14. {
  15.     int paginationMode;
  16. }
  17.  
  18. - setPaginationMode:(int)status;
  19. - (int) paginationMode;
  20.  
  21. @end
  22.