home *** CD-ROM | disk | FTP | other *** search
/ Complete Linux / Complete Linux.iso / docs / apps / tex / lametex_.z / lametex_ / lametex / src / Parameter.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-09-02  |  715 b   |  24 lines

  1. /* Parameter.h
  2.  *
  3.  * Formatting a file means keeping track of a lot of things, like the current
  4.  * font, the size of the margins, and the chapter number.
  5.  * We call these "parameters" and group them under one class because the ways
  6.  * they are altered recursively or incrementally are very similar.
  7.  *
  8.  * Copyright 1992 Jonathan Monsarrat. Permission given to freely distribute,
  9.  * edit and use as long as this copyright statement remains intact.
  10.  *
  11.  */
  12.  
  13. #include "LameTeX.h"
  14. #include <iostream.h>
  15.  
  16. class Param{
  17.  public:
  18.    virtual Param *copy() = 0;
  19.    virtual int set(int, float, char *) = 0;
  20.    virtual float get(int, char *) = 0;
  21.    virtual void postscript_set(int) = 0;
  22.    virtual void revert(Param *) = 0;
  23. };
  24.