00001
00024 #ifndef __GPHOTO2_H__
00025 #define __GPHOTO2_H__
00026
00027 #ifdef __cplusplus
00028 extern "C" {
00029 #endif
00030
00031 #ifdef OS2
00032 # include <db.h>
00033 # include <sys/param.h>
00034 # define CAMLIBS getenv("CAMLIBS")
00035 # define RTLD_LAZY 0x001
00036 # define VERSION "2"
00037 # define usleep(t) _sleep2(((t)+500)/ 1000)
00038 #endif
00039
00040 #ifdef WIN32
00041 #define CAMLIBS "."
00042 #endif
00043
00044 #include <gphoto2/gphoto2-port.h>
00045 #include <gphoto2/gphoto2-port-log.h>
00046 #include <gphoto2/gphoto2-port-result.h>
00047
00048 #include <gphoto2/gphoto2-file.h>
00049 #include <gphoto2/gphoto2-library.h>
00050 #include <gphoto2/gphoto2-setting.h>
00051
00052 #ifdef __cplusplus
00053 }
00054 #endif
00055
00056 #endif