aboutsummaryrefslogtreecommitdiff
path: root/tool_src/BspLib/AodFormat.cpp
diff options
context:
space:
mode:
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
+
+//-----------------------------------------------------------------------------