aboutsummaryrefslogtreecommitdiff
path: root/tool_src/BspLib/SingleOutput.h
diff options
context:
space:
mode:
Diffstat (limited to 'tool_src/BspLib/SingleOutput.h')
-rw-r--r--tool_src/BspLib/SingleOutput.h44
1 files changed, 44 insertions, 0 deletions
diff --git a/tool_src/BspLib/SingleOutput.h b/tool_src/BspLib/SingleOutput.h
new file mode 100644
index 0000000..4296c42
--- /dev/null
+++ b/tool_src/BspLib/SingleOutput.h
@@ -0,0 +1,44 @@
+//-----------------------------------------------------------------------------
+// BSPLIB HEADER: SingleOutput.h
+//
+// Copyright (c) 1997 by Markus Hadwiger
+// All Rights Reserved.
+//-----------------------------------------------------------------------------
+
+#ifndef _SINGLEOUTPUT_H_
+#define _SINGLEOUTPUT_H_
+
+// bsplib header files
+#include "BspLibDefs.h"
+#include "BspObject.h"
+#include "OutputData3D.h"
+#include "SingleFormat.h"
+
+
+BSPLIB_NAMESPACE_BEGIN
+
+
+// class providing single format type output capability -----------------------
+//
+class SingleOutput : public OutputData3D, public virtual SingleFormat {
+
+protected:
+ SingleOutput( BspObjectList objectlist, const char *filename );
+ ~SingleOutput();
+
+ SingleOutput& operator =( const SingleOutput& copyobj );
+
+ void InitOutput();
+ virtual int WriteOutputFile();
+
+protected:
+ BspObject* m_baseobject;
+ FileAccess m_output;
+};
+
+
+BSPLIB_NAMESPACE_END
+
+
+#endif // _SINGLEOUTPUT_H_
+