aboutsummaryrefslogtreecommitdiff
path: root/tool_src/BspLib/AodFormat.h
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@gmail.com>2026-08-24 11:16:07 +0200
committerFelix Morgner <felix.morgner@gmail.com>2026-08-24 11:16:07 +0200
commitc068f22329d5cc722622a2183bbb22eef2093df7 (patch)
tree12d56c1aede67988a55e241364606bfbb4dba933 /tool_src/BspLib/AodFormat.h
downloadopenparsec-main.tar.xz
openparsec-main.zip
initial importHEADmain
Diffstat (limited to 'tool_src/BspLib/AodFormat.h')
-rw-r--r--tool_src/BspLib/AodFormat.h59
1 files changed, 59 insertions, 0 deletions
diff --git a/tool_src/BspLib/AodFormat.h b/tool_src/BspLib/AodFormat.h
new file mode 100644
index 0000000..64a216c
--- /dev/null
+++ b/tool_src/BspLib/AodFormat.h
@@ -0,0 +1,59 @@
+//-----------------------------------------------------------------------------
+// BSPLIB HEADER: AodFormat.h
+//
+// Copyright (c) 1997 by Markus Hadwiger
+// All Rights Reserved.
+//-----------------------------------------------------------------------------
+
+#ifndef _AODFORMAT_H_
+#define _AODFORMAT_H_
+
+// bsplib header files
+#include "BspLibDefs.h"
+#include "SingleFormat.h"
+
+
+BSPLIB_NAMESPACE_BEGIN
+
+
+// class containing aod format specifics --------------------------------------
+//
+class AodFormat : public virtual SingleFormat {
+
+protected:
+
+ // section enumeration
+ enum {
+ _num_aod_sections = _num_single_sections
+ };
+
+//protected:
+public:
+ AodFormat() { }
+ ~AodFormat() { }
+
+ AodFormat( const AodFormat& copyobj ) : SingleFormat( copyobj ) { }
+ AodFormat& operator =( const AodFormat& copyobj );
+
+protected:
+ static int GetSectionId( char *section_name );
+ static const char* GetSectionName( int section_id );
+
+protected:
+ static const char _aodsig_str[];
+ static const char AOD_FILE_EXTENSION[];
+};
+
+// assignment operator --------------------------------------------------------
+inline AodFormat& AodFormat::operator =( const AodFormat& copyobj )
+{
+ *(SingleFormat *)this = copyobj;
+ return *this;
+}
+
+
+BSPLIB_NAMESPACE_END
+
+
+#endif // _AODFORMAT_H_
+