yuezonghe | 824eb0c | 2024-06-27 02:32:26 -0700 | [diff] [blame] | 1 | /*********************************************************************
|
| 2 | Copyright 2007 by ZTE Corporation.
|
| 3 | *
|
| 4 | * FileName:: version.h
|
| 5 | * File Mark:
|
| 6 | * Description:
|
| 7 | * Others:
|
| 8 | * Version: v0.5
|
| 9 | * Author: zhangyingjun
|
| 10 | * Date: 2009-03-26
|
| 11 |
|
| 12 | * History 1:
|
| 13 | * Date:
|
| 14 | * Version:
|
| 15 | * Author:
|
| 16 | * Modification:
|
| 17 | * History 2:
|
| 18 | **********************************************************************/
|
| 19 | #ifndef _APP_VERSION_H
|
| 20 | #define _APP_VERSION_H
|
| 21 |
|
| 22 | #include "version_number.h"
|
| 23 |
|
| 24 | #define LEN 25 /*the maximum length of each version number*/
|
| 25 |
|
| 26 | /*this struct contains each version number,and each array saves the version number */
|
| 27 | typedef struct
|
| 28 | {
|
| 29 | char Plat[LEN];
|
| 30 | char Ps[LEN];
|
| 31 | char Pl[LEN];
|
| 32 | char MMI[LEN];
|
| 33 | char System[LEN];
|
| 34 | }T_Version;
|
| 35 |
|
| 36 | /**************************************************************************
|
| 37 | * Function: zSys_Getversion
|
| 38 | * Description: get version number
|
| 39 | * Parameters:
|
| 40 | * Input:
|
| 41 | * None
|
| 42 | * Output: None
|
| 43 | * Returns: &gVersionNmuber
|
| 44 | *
|
| 45 | * Others: None
|
| 46 | **************************************************************************/
|
| 47 | char * zSys_Getversion(void);
|
| 48 |
|
| 49 | #endif
|