Author: derek
Date: Thu Apr 19 22:30:57 2007
New Revision: 247
Modified:
sofaswitch/trunk/am/comms.h
sofaswitch/trunk/am/counts.h
sofaswitch/trunk/am/main.h
sofaswitch/trunk/am/manager.h
sofaswitch/trunk/am/supervisor.h
sofaswitch/trunk/mcu/comms.h
sofaswitch/trunk/mcu/conferenceroom.h
sofaswitch/trunk/mcu/counts.h
sofaswitch/trunk/mcu/main.h
sofaswitch/trunk/mcu/manager.h
sofaswitch/trunk/mcu/member.h
sofaswitch/trunk/mcu/participant.h
sofaswitch/trunk/mcu/supervisor.h
sofaswitch/trunk/sofa/include/sofa/messages.h
sofaswitch/trunk/sound/comms.h
sofaswitch/trunk/sound/main.h
sofaswitch/trunk/voip/comms.h
sofaswitch/trunk/voip/counts.h
sofaswitch/trunk/voip/jocall.h
sofaswitch/trunk/voip/main.h
sofaswitch/trunk/voip/mymanager.h
sofaswitch/trunk/voip/supervisor.h
sofaswitch/trunk/voip/udpsound.h
Log:
fixes, so it compiles with the absolute latest opal cvs.
This includes precompiled headers of ptlib.h, which does supposedly
reduce the compile time.
Modified: sofaswitch/trunk/am/comms.h
==============================================================================
--- sofaswitch/trunk/am/comms.h (original)
+++ sofaswitch/trunk/am/comms.h Thu Apr 19 22:30:57 2007
@@ -28,18 +28,22 @@
#ifndef _COMMS_H
#define _COMMS_H
-#ifdef P_USE_PRAGMA
-#pragma interface
-#endif
-
+#ifndef _PTLIB_H
#include <ptlib.h>
+#endif
+
#include <ptlib/safecoll.h>
#include "sofa/messages.h"
#include "audio.h"
+#ifdef P_USE_PRAGMA
+#pragma interface
+#endif
+
+
class Comms;
class CommsList;
Modified: sofaswitch/trunk/am/counts.h
==============================================================================
--- sofaswitch/trunk/am/counts.h (original)
+++ sofaswitch/trunk/am/counts.h Thu Apr 19 22:30:57 2007
@@ -28,7 +28,9 @@
#ifndef _COUNTS_H
#define _COUNTS_H
+#ifndef _PTLIB_H
#include <ptlib.h>
+#endif
#ifdef P_USE_PRAGMA
#pragma interface
Modified: sofaswitch/trunk/am/main.h
==============================================================================
--- sofaswitch/trunk/am/main.h (original)
+++ sofaswitch/trunk/am/main.h Thu Apr 19 22:30:57 2007
@@ -28,7 +28,10 @@
#define _Am_MAIN_H
+#ifndef _PTLIB_H
#include <ptlib.h>
+#endif
+
#include <ptclib/ipacl.h>
Modified: sofaswitch/trunk/am/manager.h
==============================================================================
--- sofaswitch/trunk/am/manager.h (original)
+++ sofaswitch/trunk/am/manager.h Thu Apr 19 22:30:57 2007
@@ -31,15 +31,19 @@
#define _SsAm_MANAGER_H
-#ifdef P_USE_PRAGMA
-#pragma interface
-#endif
+#ifndef _PTLIB_H
#include <ptlib.h>
+#endif
+
#include <ptclib/ipacl.h>
#include <sofa/messages.h>
+#ifdef P_USE_PRAGMA
+#pragma interface
+#endif
+
class Comms;
class Supervisor;
class LaunchNewId;
Modified: sofaswitch/trunk/am/supervisor.h
==============================================================================
--- sofaswitch/trunk/am/supervisor.h (original)
+++ sofaswitch/trunk/am/supervisor.h Thu Apr 19 22:30:57 2007
@@ -32,15 +32,19 @@
#ifndef _SUPERVISOR_H
#define _SUPERVISOR_H
-#ifdef P_USE_PRAGMA
-#pragma interface
-#endif
+
+#ifndef _PTLIB_H
#include <ptlib.h>
+#endif
#include <sofa/messages.h>
+#ifdef P_USE_PRAGMA
+#pragma interface
+#endif
+
/**A class that has the overview of all calls to this process. This
class is involved in allocating an id to a new call. Requests
for allocation come either from: an incoming call, or from the
Modified: sofaswitch/trunk/mcu/comms.h
==============================================================================
--- sofaswitch/trunk/mcu/comms.h (original)
+++ sofaswitch/trunk/mcu/comms.h Thu Apr 19 22:30:57 2007
@@ -29,17 +29,23 @@
#ifndef _Mcu_COMMS_H
#define _Mcu_COMMS_H
-#ifdef P_USE_PRAGMA
-#pragma interface
-#endif
+#ifndef _PTLIB_H
#include <ptlib.h>
+#endif
+
+
#include <ptlib/safecoll.h>
#include "sofa/messages.h"
#include "audio.h"
+#ifdef P_USE_PRAGMA
+#pragma interface
+#endif
+
+
class Comms;
class CommsList;
class ConferenceRoom;
Modified: sofaswitch/trunk/mcu/conferenceroom.h
==============================================================================
--- sofaswitch/trunk/mcu/conferenceroom.h (original)
+++ sofaswitch/trunk/mcu/conferenceroom.h Thu Apr 19 22:30:57 2007
@@ -29,14 +29,19 @@
#ifndef _Mcu_CONFERENCE_ROOM_H
#define _Mcu_CONFERENCE_ROOM_H
+#ifndef _PTLIB_H
#include <ptlib.h>
+#endif
+
+
+#include <ptlib/safecoll.h>
+#include "manager.h"
#ifdef P_USE_PRAGMA
#pragma interface
#endif
-#include <ptlib/safecoll.h>
-#include "manager.h"
+
class Manager;
Modified: sofaswitch/trunk/mcu/counts.h
==============================================================================
--- sofaswitch/trunk/mcu/counts.h (original)
+++ sofaswitch/trunk/mcu/counts.h Thu Apr 19 22:30:57 2007
@@ -28,7 +28,9 @@
#ifndef _COUNTS_H
#define _COUNTS_H
+#ifndef _PTLIB_H
#include <ptlib.h>
+#endif
#ifdef P_USE_PRAGMA
#pragma interface
Modified: sofaswitch/trunk/mcu/main.h
==============================================================================
--- sofaswitch/trunk/mcu/main.h (original)
+++ sofaswitch/trunk/mcu/main.h Thu Apr 19 22:30:57 2007
@@ -26,16 +26,18 @@
#ifndef _Mcu_MAIN_H
#define _Mcu_MAIN_H
-#ifdef P_USE_PRAGMA
-#pragma interface
-#endif
-
-
-
+
+#ifndef _PTLIB_H
#include <ptlib.h>
+#endif
+
#include <ptclib/ipacl.h>
+#ifdef P_USE_PRAGMA
+#pragma interface
+#endif
+
class Manager;
/**The class that launches everything */
Modified: sofaswitch/trunk/mcu/manager.h
==============================================================================
--- sofaswitch/trunk/mcu/manager.h (original)
+++ sofaswitch/trunk/mcu/manager.h Thu Apr 19 22:30:57 2007
@@ -29,17 +29,22 @@
#define _Mcu_MANAGER_H
-#ifdef P_USE_PRAGMA
-#pragma interface
-#endif
+
+#ifndef _PTLIB_H
#include <ptlib.h>
+#endif
+
#include <ptclib/ipacl.h>
#include "conferenceroom.h"
#include "member.h"
#include "sofa/messages.h"
+#ifdef P_USE_PRAGMA
+#pragma interface
+#endif
+
class Comms;
class CommsProvider;
class LaunchNewId;
Modified: sofaswitch/trunk/mcu/member.h
==============================================================================
--- sofaswitch/trunk/mcu/member.h (original)
+++ sofaswitch/trunk/mcu/member.h Thu Apr 19 22:30:57 2007
@@ -27,7 +27,9 @@
#ifndef _Mcu_MEMBER_H
#define _Mcu_MEMBER_H
+#ifndef _PTLIB_H
#include <ptlib.h>
+#endif
#ifdef P_USE_PRAGMA
#pragma interface
Modified: sofaswitch/trunk/mcu/participant.h
==============================================================================
--- sofaswitch/trunk/mcu/participant.h (original)
+++ sofaswitch/trunk/mcu/participant.h Thu Apr 19 22:30:57 2007
@@ -27,7 +27,9 @@
#ifndef _Mcu_Participant_H
#define _Mcu_Participant_H
+#ifndef _PTLIB_H
#include <ptlib.h>
+#endif
#ifdef P_USE_PRAGMA
#pragma interface
Modified: sofaswitch/trunk/mcu/supervisor.h
==============================================================================
--- sofaswitch/trunk/mcu/supervisor.h (original)
+++ sofaswitch/trunk/mcu/supervisor.h Thu Apr 19 22:30:57 2007
@@ -30,14 +30,19 @@
#ifndef _Mcu_SUPERVISOR_H
#define _Mcu_SUPERVISOR_H
+
+#ifndef _PTLIB_H
+#include <ptlib.h>
+#endif
+
+
+#include "sofa/messages.h"
+
#ifdef P_USE_PRAGMA
#pragma interface
#endif
-#include <ptlib.h>
-
-#include "sofa/messages.h"
/**A class that has the overview of all calls to this process. This
class is involved in allocating an id to a new call. Requests
Modified: sofaswitch/trunk/sofa/include/sofa/messages.h
==============================================================================
--- sofaswitch/trunk/sofa/include/sofa/messages.h (original)
+++ sofaswitch/trunk/sofa/include/sofa/messages.h Thu Apr 19 22:30:57 2007
@@ -25,17 +25,21 @@
#ifndef _SOFA_MESSAGE_H
#define _SOFA_MESSAGE_H
-#ifdef P_USE_PRAGMA
-#pragma interface
-#endif
+#ifndef _PTLIB_H
#include <ptlib.h>
+#endif
#include <ptlib/notifier_ext.h>
#include <ptlib/sockets.h>
#include <sofa/messlist.h>
+#ifdef P_USE_PRAGMA
+#pragma interface
+#endif
+
+
class LaunchNewId;
class MessageFrame;
Modified: sofaswitch/trunk/sound/comms.h
==============================================================================
--- sofaswitch/trunk/sound/comms.h (original)
+++ sofaswitch/trunk/sound/comms.h Thu Apr 19 22:30:57 2007
@@ -27,14 +27,19 @@
#ifndef _COMMS_H
#define _COMMS_H
+
+#ifndef _PTLIB_H
+#include <ptlib.h>
+#endif
+
+#include <ptlib/sound.h>
+#include <sofa/messages.h>
+
#ifdef P_USE_PRAGMA
#pragma interface
#endif
-#include <ptlib.h>
-#include <ptlib/sound.h>
-#include <sofa/messages.h>
class JOCall;
class TestAudioRead;
Modified: sofaswitch/trunk/sound/main.h
==============================================================================
--- sofaswitch/trunk/sound/main.h (original)
+++ sofaswitch/trunk/sound/main.h Thu Apr 19 22:30:57 2007
@@ -19,7 +19,9 @@
#ifndef _MAIN_H
#define _MAIN_H
+#ifndef _PTLIB_H
#include <ptlib.h>
+#endif
#include "comms.h"
Modified: sofaswitch/trunk/voip/comms.h
==============================================================================
--- sofaswitch/trunk/voip/comms.h (original)
+++ sofaswitch/trunk/voip/comms.h Thu Apr 19 22:30:57 2007
@@ -31,16 +31,21 @@
#ifndef _COMMS_H
#define _COMMS_H
-#ifdef P_USE_PRAGMA
-#pragma interface
-#endif
-
+#ifndef _PTLIB_H
#include <ptlib.h>
+#endif
+
#include <ptlib/safecoll.h>
#include <sofa/messages.h>
+#ifdef P_USE_PRAGMA
+#pragma interface
+#endif
+
+
+
class Comms;
class CommsList;
class MyOpalCall;
Modified: sofaswitch/trunk/voip/counts.h
==============================================================================
--- sofaswitch/trunk/voip/counts.h (original)
+++ sofaswitch/trunk/voip/counts.h Thu Apr 19 22:30:57 2007
@@ -27,14 +27,16 @@
#ifndef _COUNTS_H
#define _COUNTS_H
+#ifndef _PTLIB_H
#include <ptlib.h>
-
-#ifdef P_USE_PRAGMA
-#pragma interface
#endif
+
#include "counts.h"
+#ifdef P_USE_PRAGMA
+#pragma interface
+#endif
Modified: sofaswitch/trunk/voip/jocall.h
==============================================================================
--- sofaswitch/trunk/voip/jocall.h (original)
+++ sofaswitch/trunk/voip/jocall.h Thu Apr 19 22:30:57 2007
@@ -30,15 +30,19 @@
#ifndef _JOCALL_H
#define _JOCALL_H
+#ifndef _PTLIB_H
#include <ptlib.h>
-
-#ifdef P_USE_PRAGMA
-#pragma interface
#endif
+
#include <opal/call.h>
#include "comms.h"
+#ifdef P_USE_PRAGMA
+#pragma interface
+#endif
+
+
class MyManager;
/**
A class the combines the OpalCall structure from OPAL with our protocol
Modified: sofaswitch/trunk/voip/main.h
==============================================================================
--- sofaswitch/trunk/voip/main.h (original)
+++ sofaswitch/trunk/voip/main.h Thu Apr 19 22:30:57 2007
@@ -31,7 +31,10 @@
#define _Voip_MAIN_H
+#ifndef _PTLIB_H
#include <ptlib.h>
+#endif
+
#include <ptclib/ipacl.h>
#include <opal/manager.h>
Modified: sofaswitch/trunk/voip/mymanager.h
==============================================================================
--- sofaswitch/trunk/voip/mymanager.h (original)
+++ sofaswitch/trunk/voip/mymanager.h Thu Apr 19 22:30:57 2007
@@ -31,18 +31,22 @@
#ifndef _Voip_MANAGER_H
#define _Voip_MANAGER_H
-
-#ifdef P_USE_PRAGMA
-#pragma interface
-#endif
+#ifndef _PTLIB_H
#include <ptlib.h>
+#endif
+
#include <ptclib/ipacl.h>
#include <opal/manager.h>
#include <opal/connection.h>
#include "comms.h"
+#ifdef P_USE_PRAGMA
+#pragma interface
+#endif
+
+
class H323EndPoint;
class IAX2EndPoint;
class LaunchNewId;
Modified: sofaswitch/trunk/voip/supervisor.h
==============================================================================
--- sofaswitch/trunk/voip/supervisor.h (original)
+++ sofaswitch/trunk/voip/supervisor.h Thu Apr 19 22:30:57 2007
@@ -31,15 +31,18 @@
#ifndef _SUPERVISOR_H
#define _SUPERVISOR_H
-#ifdef P_USE_PRAGMA
-#pragma interface
-#endif
-
+#ifndef _PTLIB_H
#include <ptlib.h>
+#endif
#include <sofa/messages.h>
+#ifdef P_USE_PRAGMA
+#pragma interface
+#endif
+
+
/**A class that has the overview of all calls to this process. This
class is involved in allocating an id to a new call. Requests
for allocation come either from: an incoming call, or from the
Modified: sofaswitch/trunk/voip/udpsound.h
==============================================================================
--- sofaswitch/trunk/voip/udpsound.h (original)
+++ sofaswitch/trunk/voip/udpsound.h Thu Apr 19 22:30:57 2007
@@ -35,16 +35,21 @@
#ifndef __OPAL_UDPSOUND_H
#define __OPAL_UDPSOUND_H
-#ifdef P_USE_PRAGMA
-#pragma interface
+#ifndef _PTLIB_H
+#include <ptlib.h>
#endif
-#include <ptlib.h>
#include <ptlib/ipsock.h>
#include <ptlib/sockets.h>
#include <ptclib/qchannel.h>
#include <ptlib/sound.h>
+#ifdef P_USE_PRAGMA
+#pragma interface
+#endif
+
+
+
class PUDPSocket;
class MyOpalCall;