make printer functions virtual

This commit is contained in:
Lee Thomason
2020-06-13 17:46:44 -07:00
parent 98ca9146b4
commit 8812f197ac

View File

@@ -2327,10 +2327,11 @@ protected:
the space and tabs used. A PrintSpace() override should call Print(). the space and tabs used. A PrintSpace() override should call Print().
*/ */
virtual void PrintSpace( int depth ); virtual void PrintSpace( int depth );
void Print( const char* format, ... ); virtual void Print( const char* format, ... );
void Write( const char* data, size_t size ); virtual void Write( const char* data, size_t size );
virtual void Putc( char ch );
inline void Write(const char* data) { Write(data, strlen(data)); } inline void Write(const char* data) { Write(data, strlen(data)); }
void Putc( char ch );
void SealElementIfJustOpened(); void SealElementIfJustOpened();
bool _elementJustOpened; bool _elementJustOpened;