home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
World of Shareware - Software Farm 2
/
wosw_2.zip
/
wosw_2
/
PRINTING
/
NODEE11.ZIP
/
SOURCE.ZIP
/
PS.H
< prev
Wrap
C/C++ Source or Header
|
1991-09-15
|
780b
|
40 lines
#ifndef __PS_H
#define __PS_H
#ifndef __FILE_H
#include "file.h"
#endif
/*------------------------------------------------------------
PSFile class
publicly derived from FileName
public members:
BOOL test(void) - determines if the file is a Postscript file
and contains a ^D in the first line. Returns TRUE if so.
int strip(void) - removes the ^D from the first line of the file
by shifting the remaining characters over one place to the left.
inherited public members:
BOOL SetFile(char *)
char* JustName(void)
char* ShortName(int)
char* LongName(void)
-----------------------------------------------------------*/
class PSFile: public FileName
{
public:
int strip(void);
BOOL test(void);
};
#endif