#ifndef PRINTDAEMONH #define PRINTDAEMONH #include #define MAX_COL 120 class D__print_daemon { int Indent_level; int Column_num; int Newline; // Boolean: true if no strings have been output on the line public: D__print_daemon( int = 0,int =0,int =1 ); void pp_out( char*,ostream& ); void inc_indent_level() { Indent_level++; } void dec_indent_level() { if( Indent_level ) Indent_level--; } void rset_column_num() { Column_num = 0; } void rset_newline() { Newline = 1; /* TRUE */ } }; extern D__print_daemon * daemon; #endif