1 /* 2 * Copyright (C) 2011 The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 /** 17 ************************************************************************ 18 * @file M4TOOL_VersionInfo.h 19 * @brief defines a common version information structure 20 * @note 21 * 22 ************************************************************************ 23 */ 24 #ifndef __M4TOOL_VERSIONINFO_H__ 25 #define __M4TOOL_VERSIONINFO_H__ 26 27 #include "M4OSA_Types.h" 28 29 /** 30 * structure M4_VersionInfo 31 * @brief This structure describes version of core component 32 * @note This structure is typically used to retrieve version information 33 * of a component via getOption function 34 */ 35 typedef struct _M4_VersionInfo 36 { 37 M4OSA_UInt32 m_major; /*major version of the component*/ 38 M4OSA_UInt32 m_minor; /*minor version of the component*/ 39 M4OSA_UInt32 m_revision; /*revision version of the component*/ 40 41 /* Structure size */ 42 M4OSA_UInt32 m_structSize; 43 44 } M4_VersionInfo; 45 46 47 #endif /*__M4TOOL_VERSIONINFO_H__*/ 48 49