00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef __GPHOTO2_H__
00021 #define __GPHOTO2_H__
00022
00023 #ifdef __cplusplus
00024 extern "C" {
00025 #endif
00026
00027 #ifdef OS2
00028 # include <db.h>
00029 # include <sys/param.h>
00030 # define CAMLIBS getenv("CAMLIBS")
00031 # define RTLD_LAZY 0x001
00032 # define VERSION "2"
00033 # define usleep(t) _sleep2(((t)+500)/ 1000)
00034 #endif
00035
00036 #ifdef WIN32
00037 #define CAMLIBS "."
00038 #endif
00039
00040 #include <gphoto2-port.h>
00041 #include <gphoto2-port-log.h>
00042 #include <gphoto2-port-result.h>
00043
00044 #include <gphoto2-result.h>
00045 #include <gphoto2-camera.h>
00046 #include <gphoto2-file.h>
00047 #include <gphoto2-filesys.h>
00048 #include <gphoto2-library.h>
00049 #include <gphoto2-list.h>
00050 #include <gphoto2-setting.h>
00051 #include <gphoto2-widget.h>
00052
00053 #ifdef __cplusplus
00054 }
00055 #endif
00056
00057 #endif