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