23 #if ! defined (octave_pager_h) 24 #define octave_pager_h 1 26 #include "octave-config.h" 32 #include <sys/types.h> 44 void flush_current_contents_to_diary (
void);
46 void set_diary_skip (
void);
75 static void flush_current_contents_to_diary (
void);
77 static void set_diary_skip (
void);
79 static std::ostream&
stream (
void);
81 static void reset (
void);
85 void do_flush_current_contents_to_diary (
void);
87 void do_set_diary_skip (
void);
93 static bool instance_ok (
void);
131 static std::ostream&
stream (
void);
133 static void reset (
void);
137 void do_reset (
void);
141 static bool instance_ok (
void);
151 #if defined (OCTAVE_USE_DEPRECATED_FUNCTIONS) 153 OCTAVE_DEPRECATED (4.4,
"use 'octave::diary_buf' instead")
154 typedef
octave::diary_buf octave_diary_buf;
156 OCTAVE_DEPRECATED (4.4, "use '
octave::diary_stream'
instead")
157 typedef
octave::diary_stream octave_diary_stream;
160 typedef
octave::pager_buf octave_pager_buf;
162 OCTAVE_DEPRECATED (4.4, "use '
octave::pager_stream'
instead")
163 typedef
octave::pager_stream octave_pager_stream;
167 flush_octave_stdout (
void)
174 #define octave_stdout (octave::pager_stream::stream ()) 176 #define octave_diary (octave::diary_stream::stream ())
static diary_stream * instance
static void cleanup_instance(void)