2004-02-20 Gernot Hillier <gernot@hillier.de>
* src/application/capisuite.cpp: changed include order to get rid of the "_POSIX_C_SOURCE redefined" warning (thx to Hartmut Goebel) * src/application/capisuitemodule.cpp: Likewise. * src/application/idlescript.cpp: Likewise. * src/application/incomingscript.cpp: Likewise. * src/application/pythonscript.h: Likewise. git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@236 4ebea2bb-67d4-0310-8558-a5799e421b66
This commit is contained in:
parent
b38769100a
commit
dc43bcade6
|
@ -1,4 +1,10 @@
|
|||
2004-02-20 Gernot Hillier <gernot@hillier.de>
|
||||
* src/application/capisuite.cpp: changed include order to get rid of
|
||||
the "_POSIX_C_SOURCE redefined" warning (thx to Hartmut Goebel)
|
||||
* src/application/capisuitemodule.cpp: Likewise.
|
||||
* src/application/idlescript.cpp: Likewise.
|
||||
* src/application/incomingscript.cpp: Likewise.
|
||||
* src/application/pythonscript.h: Likewise.
|
||||
* scripts/answering_machine.confin: remove spaces in example which
|
||||
confused the config file parser when not deleted by the user
|
||||
* scripts/fax.confin: Likewise.
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
@brief Contains CapiSuite - Main application class, implements ApplicationInterface
|
||||
|
||||
@author Gernot Hillier <gernot@hillier.de>
|
||||
$Revision: 1.7 $
|
||||
$Revision: 1.8 $
|
||||
*/
|
||||
|
||||
/***************************************************************************
|
||||
|
@ -14,12 +14,13 @@
|
|||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#include <Python.h>
|
||||
#include <cStringIO.h>
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "../../config.h"
|
||||
#endif
|
||||
|
||||
#include <Python.h>
|
||||
#include <cStringIO.h>
|
||||
#include <sstream>
|
||||
#include <signal.h>
|
||||
#include <getopt.h>
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
@brief Contains the Python module and integration routines
|
||||
|
||||
@author Gernot Hillier <gernot@hillier.de>
|
||||
$Revision: 1.9 $
|
||||
$Revision: 1.10 $
|
||||
*/
|
||||
|
||||
/***************************************************************************
|
||||
|
@ -17,6 +17,7 @@
|
|||
// IMPORTANT: every python function MUST call PyErr_Occured() before using the associated
|
||||
// Connection object! (connection can be already deleted while the python script is still running
|
||||
|
||||
#include <Python.h>
|
||||
#include <string>
|
||||
#include <unistd.h> // for sleep()
|
||||
#include "../backend/connection.h"
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
@brief Contains IncomingScript - Incoming call handling. One object for each incoming call is created.
|
||||
|
||||
@author Gernot Hillier <gernot@hillier.de>
|
||||
$Revision: 1.2 $
|
||||
$Revision: 1.3 $
|
||||
*/
|
||||
|
||||
/***************************************************************************
|
||||
|
@ -14,6 +14,7 @@
|
|||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#include <Python.h>
|
||||
#include "idlescript.h"
|
||||
#include "capisuitemodule.h"
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
@brief Contains IncomingScript - Incoming call handling. One object for each incoming call is created.
|
||||
|
||||
@author Gernot Hillier <gernot@hillier.de>
|
||||
$Revision: 1.2 $
|
||||
$Revision: 1.3 $
|
||||
*/
|
||||
|
||||
/***************************************************************************
|
||||
|
@ -14,6 +14,7 @@
|
|||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#include <Python.h>
|
||||
#include "incomingscript.h"
|
||||
#include "../modules/disconnectmodule.h"
|
||||
#include "capisuitemodule.h"
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
@brief Contains PythonScript - Read a python script and call a function in own thread
|
||||
|
||||
@author Gernot Hillier <gernot@hillier.de>
|
||||
$Revision: 1.4 $
|
||||
$Revision: 1.5 $
|
||||
*/
|
||||
|
||||
/***************************************************************************
|
||||
|
@ -17,8 +17,9 @@
|
|||
#ifndef PYTHONSCRIPT_H
|
||||
#define PYTHONSCRIPT_H
|
||||
|
||||
#include "../../config.h"
|
||||
#include <Python.h>
|
||||
|
||||
#include "../../config.h"
|
||||
#ifdef HAVE_OSTREAM
|
||||
#include <ostream>
|
||||
#else
|
||||
|
|
Loading…
Reference in New Issue