]> sjero.net Git - linphone/blobdiff - console/linphonec.h
Aac-eld add missing header according to RFC3640 3.3.6
[linphone] / console / linphonec.h
index 4a5844b56c4ab7859994a07eef28788b0d11d65a..3265d42ac3de2ed191342815cdc3ab99026edd03 100644 (file)
 #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
@@ -45,6 +44,7 @@
 #include <readline/history.h>
 #endif
 #endif
+#endif
 
 #undef PARAMS
 /**************************************************************************
@@ -67,7 +67,7 @@
  * 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
@@ -99,10 +99,15 @@ typedef struct {
 
 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
@@ -121,6 +126,8 @@ void linphonec_set_caller(const char *caller);
 LinphoneCall *linphonec_get_call(long id);
 void linphonec_call_identify(LinphoneCall* call);
 
+extern bool_t linphonec_camera_enabled;
+
 #endif /* def LINPHONEC_H */
 
 /****************************************************************************