1 #pragma once
2 
3 #ifndef __TTWAIN_CONV_H__
4 #define __TTWAIN_CONV_H__
5 
6 #include "twain.h"
7 
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
11 
12 float TTWAIN_Fix32ToFloat(TW_FIX32 fix);
13 TW_FIX32 TTWAIN_FloatToFix32(float fl);
14 void TTWAIN_ConvertRevStrToRevNum(const char *rev_str, TW_UINT16 *maj_num,
15                                   TW_UINT16 *min_num);
16 
17 #ifdef __cplusplus
18 }
19 #endif
20 
21 #endif
22