#include "config.h"
#endif
+#ifdef HAVE_READLINE
#ifdef HAVE_READLINE_H
#include <readline.h>
-#define HAVE_READLINE
#else
#ifdef HAVE_READLINE_READLINE_H
#include <readline/readline.h>
-#define HAVE_READLINE
#endif
#endif
#ifdef HAVE_HISTORY_H
#include <readline/history.h>
#endif
#endif
+#endif
#undef PARAMS
/**************************************************************************
* Time between calls to linphonec_idle_call during main
* input read loop in microseconds.
*/
-#define LPC_READLINE_TIMEOUT 1000000
+#define LPC_READLINE_TIMEOUT 10000
/*
* Filename of linphonec history
typedef struct {
int x,y,w,h;
+ unsigned long wid;
bool_t show;
bool_t refresh;
} VideoParams;
+
+extern VideoParams lpc_video_params;
+extern VideoParams lpc_preview_params;
+
/***************************************************************************
*
* Forward declarations