00001 #ifndef __KSJ_API_AWAIBA_H__
00002 #define __KSJ_API_AWAIBA_H__
00003 
00004 // #pragma message("Include KSJApiAwaiba.h") 
00005 
00006 #ifdef KSJAPI_EXPORTS
00007 #define KSJ_API __declspec(dllexport)
00008 #elif defined KSJAPI_STATIC
00009 #define KSJ_API
00010 #else
00011 #define KSJ_API __declspec(dllimport)
00012 #endif
00013 
00014 #ifdef __cplusplus
00015 extern "C"{
00016 #endif
00017 
00020 
00021 
00022 
00023 
00024 
00025 
00026 
00027 
00028 
00029 
00030     KSJ_API  int __stdcall KSJ_AWAIBA_IsUsed( int nIndex, bool *bUsed );
00031     
00043     KSJ_API  int __stdcall KSJ_AWAIBA_GetSegmentNum(int nIndex, int *pnSegNum );
00044 
00058     KSJ_API  int __stdcall KSJ_AWAIBA_GetGainRange(int nIndex, int nSegIndex, int *pnMin, int *pnMax);
00059     
00072     KSJ_API  int __stdcall KSJ_AWAIBA_SetGain(int nIndex, int nSegIndex, int nGain);
00073     
00086     KSJ_API  int __stdcall KSJ_AWAIBA_GetGain(int nIndex, int nSegIndex, int *pnGain);
00087 
00101     KSJ_API  int __stdcall KSJ_AWAIBA_GetBlackLevelRange(int nIndex, int nSegIndex, int *pnMin, int *pnMax);
00102     
00115     KSJ_API  int __stdcall KSJ_AWAIBA_SetBlackLevel(int nIndex, int nSegIndex, int nBlackLevel);
00116     
00129     KSJ_API  int __stdcall KSJ_AWAIBA_GetBlackLevel(int nIndex, int nSegIndex, int *pnBlackLevel);
00130     
00141     KSJ_API  int __stdcall KSJ_AWAIBA_AutoBlackLevel(int nIndex, int nSegIndex);
00142 
00154     KSJ_API  int __stdcall KSJ_AWAIBA_SetSplitSegment(int nIndex, bool bSplit);
00155     
00166     KSJ_API  int __stdcall KSJ_AWAIBA_GetSplitSegment(int nIndex, bool *pbSplit);
00167 
00176     KSJ_API  int __stdcall KSJ_ProgramLineCameraParam(int nIndex); 
00177 
00186     KSJ_API  int __stdcall KSJ_LoadLineCameraParam(int nIndex);
00187 
00196     KSJ_API  int __stdcall KSJ_ClearLineCameraParam(int nIndex);
00198 #ifdef __cplusplus
00199 }
00200 #endif
00201 
00202 #endif