blob: 3f5e8fb1a9d0f753377732252178ccf98212ab93 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
/*************************** Fraunhofer IIS FDK Tools ***********************
(C) Copyright Fraunhofer IIS (2006)
All Rights Reserved
Please be advised that this software and/or program delivery is
Confidential Information of Fraunhofer and subject to and covered by the
Fraunhofer IIS Software Evaluation Agreement
between Google Inc. and Fraunhofer
effective and in full force since March 1, 2012.
You may use this software and/or program only under the terms and
conditions described in the above mentioned Fraunhofer IIS Software
Evaluation Agreement. Any other and/or further use requires a separate agreement.
$Id$
Author(s): Manuel Jander
Description: FDK tools versioning support
This software and/or program is protected by copyright law and international
treaties. Any reproduction or distribution of this software and/or program,
or any portion of it, may result in severe civil and criminal penalties, and
will be prosecuted to the maximum extent possible under law.
******************************************************************************/
#include "FDK_core.h"
/* FDK tools library info */
#define FDK_TOOLS_LIB_VL0 2
#define FDK_TOOLS_LIB_VL1 2
#define FDK_TOOLS_LIB_VL2 5
#define FDK_TOOLS_LIB_TITLE "FDK Tools"
#define FDK_TOOLS_LIB_BUILD_DATE __DATE__
#define FDK_TOOLS_LIB_BUILD_TIME __TIME__
int FDK_toolsGetLibInfo(LIB_INFO *info)
{
UINT v;
int i;
if (info == NULL) {
return -1;
}
/* search for next free tab */
i = FDKlibInfo_lookup(info, FDK_TOOLS);
if (i<0) return -1;
info += i;
v = LIB_VERSION(FDK_TOOLS_LIB_VL0, FDK_TOOLS_LIB_VL1, FDK_TOOLS_LIB_VL2);
FDKsprintf(info->versionStr, "%d.%d.%d", ((v >> 24) & 0xff), ((v >> 16) & 0xff), ((v >> 8 ) & 0xff));
info->module_id = FDK_TOOLS;
info->version = v;
info->build_date = (char *)FDK_TOOLS_LIB_BUILD_DATE;
info->build_time = (char *)FDK_TOOLS_LIB_BUILD_TIME;
info->title = (char *)FDK_TOOLS_LIB_TITLE;
info->flags = 0;
return 0;
}
|