From c068f22329d5cc722622a2183bbb22eef2093df7 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Mon, 24 Aug 2026 11:16:07 +0200 Subject: initial import --- tool_src/BspLib/AodFormat.h | 59 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 tool_src/BspLib/AodFormat.h (limited to 'tool_src/BspLib/AodFormat.h') 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_ + -- cgit v1.2.3