aboutsummaryrefslogtreecommitdiff
path: root/tool_src/BspLib/AodFormat.cpp
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.cpp
downloadopenparsec-c068f22329d5cc722622a2183bbb22eef2093df7.tar.xz
openparsec-c068f22329d5cc722622a2183bbb22eef2093df7.zip
initial importHEADmain
Diffstat (limited to 'tool_src/BspLib/AodFormat.cpp')
-rw-r--r--tool_src/BspLib/AodFormat.cpp39
1 files changed, 39 insertions, 0 deletions
diff --git a/tool_src/BspLib/AodFormat.cpp b/tool_src/BspLib/AodFormat.cpp
new file mode 100644
index 0000000..8ee949c
--- /dev/null
+++ b/tool_src/BspLib/AodFormat.cpp
@@ -0,0 +1,39 @@
+//-----------------------------------------------------------------------------
+// BSPLIB MODULE: AodFormat.cpp
+//
+// Copyright (c) 1997 by Markus Hadwiger
+// All Rights Reserved.
+//-----------------------------------------------------------------------------
+
+// bsplib header files
+#include "AodFormat.h"
+
+
+BSPLIB_NAMESPACE_BEGIN
+
+
+// get index to section id specified as string (this function is static!) -----
+//
+int AodFormat::GetSectionId( char *section_name )
+{
+ return SingleFormat::GetSectionId( section_name );
+}
+
+
+// get name of section specified via id (this function is static!) ------------
+//
+const char *AodFormat::GetSectionName( int section_id )
+{
+ return SingleFormat::GetSectionName( section_id );
+}
+
+
+// AodFormat specific static variables ----------------------------------------
+//
+const char AodFormat::_aodsig_str[] = "#AOD";
+const char AodFormat::AOD_FILE_EXTENSION[] = ".aod";
+
+
+BSPLIB_NAMESPACE_END
+
+//-----------------------------------------------------------------------------