Moved the engine away, added install-noapi

git-svn-id: http://voip.null.ro/svn/yate@260 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2005-03-18 18:16:59 +00:00
parent 9be00a9ce6
commit f6fb8b6c0f
58 changed files with 174 additions and 120 deletions

View File

@ -1,3 +1,7 @@
Fri Mar 18 2005 Paul Chitescu <paulc-devel@null.ro>
- Bumped version to 0.8.8
- Rearranged directories and file names
Tue Jan 18 2005 Paul Chitescu <paulc-devel@null.ro>
- Version 0.8.7
- Fixed session destruction in libiax

View File

@ -10,7 +10,6 @@ DEBUG :=
CXX := @CXX@ -Wall
SED := sed
DEFS :=
LIBAUX:= -ldl
LIBTHR:= -lpthread
INCLUDES := -I. -I@srcdir@
CFLAGS := -O2 @MODULE_CPPFLAGS@ @INLINE_FLAGS@
@ -19,19 +18,16 @@ LDCONFIG:=true
MKDEPS := ./config.status
PROGS:= yate
SLIBS:= libyate.so.@PACKAGE_VERSION@ libyate.so
INCS := telengine.h telephony.h
YLIB := libyate.so.@PACKAGE_VERSION@
SLIBS:= $(YLIB) libyate.so
INCS := yatengine.h yatephone.h
GENS := yateversn.h
LIBS :=
MAN8 := yate.8 yate-config.8
DOCS := README COPYING ChangeLog
ENGOBJS := TelEngine.o String.o ObjList.o NamedList.o Configuration.o \
Message.o Mutex.o Thread.o Plugin.o Engine.o MD5.o
TELOBJS :=DataBlock.o DataFormat.o
OBJS := main.o
LIBOBJS := $(ENGOBJS) $(TELOBJS)
CLEANS = $(PROGS) $(SLIBS) $(LIBS) $(OBJS) $(LIBOBJS) yatepaths.h core
CLEANS = $(PROGS) $(SLIBS) $(LIBS) $(OBJS) yatepaths.h core
COMPILE = $(CXX) $(DEFS) $(DEBUG) $(INCLUDES) $(CFLAGS)
LINK = $(CXX) $(LDFLAGS)
@ -55,6 +51,7 @@ everything: engine contrib modules test apidocs
.PHONY: clean distclean cvsclean clean-config-files clean-tables clean-apidocs
clean:
@-$(RM) $(CLEANS) 2>/dev/null
$(MAKE) -C ./engine $@
$(MAKE) -C ./modules $@
$(MAKE) -C ./test $@
@for i in contrib/*; do \
@ -81,14 +78,14 @@ cvsclean: check-topdir clean clean-tables clean-apidocs clean-config-files
-rm -f configure
.PHONY: engine contrib modules test apidocs-build check-topdir
engine: tables yatepaths.h $(LIBS) $(SLIBS) $(PROGS)
engine: tables yatepaths.h libyate.so $(PROGS)
apidocs-build: check-topdir
kdoc -C ./kdoc-filter.sh -d docs/api/ $(INCS)
apidocs: @srcdir@/docs/api/index.html
@srcdir@/docs/api/index.html: @srcdir@/telengine.h @srcdir@/telephony.h
@srcdir@/docs/api/index.html: @srcdir@/yatengine.h @srcdir@/yatephone.h
$(MAKE) apidocs-build
.PHONY: strip sex love war
@ -125,8 +122,10 @@ yatepaths.h: $(MKDEPS)
@echo '#define MOD_PATH "$(DESTDIR)$(moddir)"' > $@
@echo '#define CFG_PATH "$(DESTDIR)$(confdir)"' >> $@
.PHONY: install install-root
install install-root: all apidocs
.PHONY: install install-root install-noapi install-api uninstall uninstall-root
install install-root: all apidocs install-noapi install-api
install-noapi: all
@mkdir -p "$(DESTDIR)$(libdir)/" && \
for i in $(SLIBS) ; do \
if [ -h "$$i" ]; then \
@ -158,10 +157,11 @@ install install-root: all apidocs
for i in $(DOCS) ; do \
install -m 0644 @srcdir@/$$i "$(DESTDIR)$(docdir)/" ; \
done ;
install-api: apidocs
install -m 0644 @srcdir@/docs/*.html "$(DESTDIR)$(docdir)/" && \
install -m 0644 @srcdir@/docs/api/*.html "$(DESTDIR)$(docdir)/api/"
.PHONY: uninstall uninstall-root
uninstall uninstall-root:
@-for i in $(SLIBS) ; do \
rm "$(DESTDIR)$(libdir)/$$i" ; \
@ -216,22 +216,7 @@ snapshot tarball: check-topdir clean tables apidocs
$$wd; \
rm $$wd/tar-exclude
Engine.o: @srcdir@/Engine.cpp $(MKDEPS) @srcdir@/telengine.h yateversn.h yatepaths.h
$(COMPILE) -c $<
DataBlock.o: @srcdir@/DataBlock.cpp $(MKDEPS) @srcdir@/telengine.h @srcdir@/telephony.h
$(COMPILE) -c $<
DataFormat.o: @srcdir@/DataFormat.cpp $(MKDEPS) @srcdir@/telengine.h @srcdir@/telephony.h
$(COMPILE) -c $<
Mutex.o: @srcdir@/Mutex.cpp $(MKDEPS) @srcdir@/telengine.h
$(COMPILE) @MUTEX_HACK@ -c $<
Thread.o: @srcdir@/Thread.cpp $(MKDEPS) @srcdir@/telengine.h
$(COMPILE) @THREAD_KILL@ -c $<
%.o: @srcdir@/%.cpp $(MKDEPS) @srcdir@/telengine.h
%.o: @srcdir@/%.cpp $(MKDEPS) @srcdir@/yatengine.h
$(COMPILE) -c $<
@srcdir@/configure: @srcdir@/configure.in
@ -243,19 +228,20 @@ config.status: @srcdir@/configure
Makefile: @srcdir@/Makefile.in $(MKDEPS)
./config.status
yate: $(OBJS) libyate.so $(LIBS)
yate: libyate.so $(OBJS) $(LIBS)
$(LINK) -o $@ $(LIBTHR) $^
libyate.so: libyate.so.@PACKAGE_VERSION@
libyate.so: $(YLIB)
ln -sf $^ $@
libyate.so.@PACKAGE_VERSION@: $(LIBOBJS) $(LIBS)
$(LINK) -shared -o $@ -Wl,--soname=$@ $(LIBTHR) $^ $(LIBAUX)
.PHONY: $(YLIB)
$(YLIB):
$(MAKE) -C ./engine all
.PHONY: help
help:
@echo -e 'Usual make targets:\n\
all engine contrib modules apidocs test everything\n\
install uninstall install-root uninstall-root\n\
install uninstall install-noapi install-root uninstall-root\n\
clean distclean cvsclean (avoid this one!)\n\
snapshot tarball'

View File

@ -22,8 +22,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <telengine.h>
#include <telephony.h>
#include <yatephone.h>
#include <string.h>
#include <stdio.h>

View File

@ -23,8 +23,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <telengine.h>
#include <telephony.h>
#include <yatephone.h>
#include <stdlib.h>

View File

@ -1,5 +1,5 @@
# Process this file with autoconf to produce a configure script.
AC_INIT(YATE, 0.8.7)
AC_INIT(YATE, 0.8.8)
AC_CONFIG_SRCDIR([README])
AC_PREREQ(2.52)
@ -544,6 +544,7 @@ AC_CONFIG_FILES([yate.spec
yate.pc
yateversn.h
Makefile
engine/Makefile
modules/Makefile
scripts/Makefile
conf.d/Makefile

View File

@ -9,7 +9,7 @@ DEFS :=
INCLUDES := -I@top_srcdir@ -I../.. -I@srcdir@
CFLAGS := -O2 @MODULE_CPPFLAGS@ @INLINE_FLAGS@
LDFLAGS:= -L.. -lyate
INCFILES := @top_srcdir@/telengine.h @top_srcdir@/telephony.h \
INCFILES := @top_srcdir@/yatengine.h @top_srcdir@/yatephone.h \
@srcdir@/ysip.h @srcdir@/util.h
PROGS=

View File

@ -21,14 +21,12 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <telengine.h>
#include <ysip.h>
#include <util.h>
#include <string.h>
#include <stdlib.h>
#include <ysip.h>
#include <util.h>
using namespace TelEngine;
SIPBody::SIPBody(const String& type)

View File

@ -21,13 +21,12 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <telengine.h>
#include <ysip.h>
#include <yateversn.h>
#include <string.h>
#include <stdlib.h>
#include <ysip.h>
using namespace TelEngine;

View File

@ -21,13 +21,12 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <telengine.h>
#include <ysip.h>
#include <util.h>
#include <string.h>
#include <stdlib.h>
#include <ysip.h>
#include <util.h>
using namespace TelEngine;

View File

@ -21,12 +21,11 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <telengine.h>
#include <ysip.h>
#include <string.h>
#include <stdlib.h>
#include <ysip.h>
using namespace TelEngine;

View File

@ -21,7 +21,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <telengine.h>
#include <yatengine.h>
#include <string.h>

View File

@ -21,7 +21,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <telengine.h>
#include <yatengine.h>
namespace TelEngine {

View File

@ -21,8 +21,8 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <telengine.h>
#include <telephony.h>
#include <yatengine.h>
#include <yatephone.h>
/**
* We use Telephony Engine namespace, which in fact holds just the

7
engine/.cvsignore Normal file
View File

@ -0,0 +1,7 @@
Makefile
core*
*.o
*.a
*.orig
*~
.*.swp

View File

@ -20,7 +20,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include "telengine.h"
#include "yatengine.h"
#include <stdio.h>
#include <string.h>

View File

@ -20,7 +20,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include "telephony.h"
#include "yatephone.h"
#include <string.h>
#include <stdlib.h>

View File

@ -20,7 +20,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include "telephony.h"
#include "yatephone.h"
#include <string.h>
#include <stdlib.h>

View File

@ -20,7 +20,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include "telengine.h"
#include "yatengine.h"
#include "yatepaths.h"
#include "yateversn.h"

76
engine/Makefile.in Normal file
View File

@ -0,0 +1,76 @@
# Makefile
# This file holds the make rules for the Telephony Engine
# override DEBUG at compile time to enable full debug or remove it all
DEBUG :=
CXX := @CXX@ -Wall
SED := sed
DEFS :=
LIBAUX:= -ldl
LIBTHR:= -lpthread
INCLUDES := -I.. -I@top_srcdir@
CFLAGS := -O2 @MODULE_CPPFLAGS@ @INLINE_FLAGS@
LDFLAGS:=
LDCONFIG:=true
MKDEPS := ../config.status
YLIB:= ../libyate.so.@PACKAGE_VERSION@
EINC := @top_srcdir@/yatengine.h
PINC := @top_srcdir@/yatephone.h
LIBS :=
ENGOBJS := TelEngine.o String.o ObjList.o NamedList.o Configuration.o \
Message.o Mutex.o Thread.o Plugin.o Engine.o MD5.o
TELOBJS :=DataBlock.o DataFormat.o
LIBOBJS := $(ENGOBJS) $(TELOBJS)
CLEANS = $(LIBOBJS) core
COMPILE = $(CXX) $(DEFS) $(DEBUG) $(INCLUDES) $(CFLAGS)
LINK = $(CXX) $(LDFLAGS)
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
libdir = @libdir@
incdir = @includedir@/yate
mandir = @mandir@
docdir = $(prefix)/share/doc/yate-@PACKAGE_VERSION@
vardir = @localstatedir@/lib/yate
moddir = @libdir@/yate
confdir = @sysconfdir@/yate
.PHONY: all
all: $(YLIB)
.PHONY: clean
clean:
@-$(RM) $(CLEANS) 2>/dev/null
.PHONY: strip
strip: all
-strip --strip-debug --discard-locals $(YLIB)
Engine.o: @srcdir@/Engine.cpp $(MKDEPS) $(EINC) ../yateversn.h ../yatepaths.h
$(COMPILE) -c $<
DataBlock.o: @srcdir@/DataBlock.cpp $(MKDEPS) $(EINC) $(PINC)
$(COMPILE) -c $<
DataFormat.o: @srcdir@/DataFormat.cpp $(MKDEPS) $(EINC) $(PINC)
$(COMPILE) -c $<
Mutex.o: @srcdir@/Mutex.cpp $(MKDEPS) $(EINC)
$(COMPILE) @MUTEX_HACK@ -c $<
Thread.o: @srcdir@/Thread.cpp $(MKDEPS) $(EINC)
$(COMPILE) @THREAD_KILL@ -c $<
%.o: @srcdir@/%.cpp $(MKDEPS) $(EINC)
$(COMPILE) -c $<
Makefile: @srcdir@/Makefile.in $(MKDEPS)
cd .. && ./config.status
$(YLIB): $(LIBOBJS) $(LIBS)
$(LINK) -shared -o $@ -Wl,--soname=$@ $(LIBTHR) $^ $(LIBAUX)

View File

@ -20,7 +20,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include "telengine.h"
#include "yatengine.h"
#include <string.h>
using namespace TelEngine;

View File

@ -20,7 +20,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include "telengine.h"
#include "yatengine.h"
#include <unistd.h>
#include <pthread.h>

View File

@ -20,7 +20,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include "telengine.h"
#include "yatengine.h"
using namespace TelEngine;

View File

@ -20,7 +20,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include "telengine.h"
#include "yatengine.h"
using namespace TelEngine;

View File

@ -20,7 +20,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include "telengine.h"
#include "yatengine.h"
using namespace TelEngine;

View File

@ -20,7 +20,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include "telengine.h"
#include "yatengine.h"
#include <sys/types.h>
#include <stdlib.h>

View File

@ -20,7 +20,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include "telengine.h"
#include "yatengine.h"
#include <stdlib.h>
#include <stdarg.h>

View File

@ -20,7 +20,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include "telengine.h"
#include "yatengine.h"
#include <unistd.h>
#include <pthread.h>

View File

@ -23,7 +23,8 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <telengine.h>
#include "yatengine.h"
#include <stdlib.h>
#include <string.h>
@ -359,6 +360,7 @@ bool MD5::update(const void* buf, unsigned int len)
return false;
init();
MD5_Update((MD5_CTX*)m_private, (unsigned char const*)buf, len);
return true;
}
const unsigned char* MD5::rawDigest()

View File

@ -20,7 +20,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include "telengine.h"
#include "yatengine.h"
extern "C" int main(int argc, const char **argv, const char **environ)
{

View File

@ -15,7 +15,7 @@ CFLAGS := -O2 @MODULE_CPPFLAGS@ @INLINE_FLAGS@
LDFLAGS:= -L.. -lyate
MODFLAGS:= @MODULE_LDFLAGS@
MODSTRIP:= @MODULE_SYMBOLS@
INCFILES := @top_srcdir@/telengine.h @top_srcdir@/telephony.h ../yateversn.h
INCFILES := @top_srcdir@/yatengine.h @top_srcdir@/yatephone.h ../yateversn.h
SUBDIRS :=
MKDEPS := ../config.status

View File

@ -22,8 +22,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <telengine.h>
#include <telephony.h>
#include <yatephone.h>
#include <stdlib.h>
#include <unistd.h>

View File

@ -22,8 +22,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <telengine.h>
#include <telephony.h>
#include <yatengine.h>
#include <string.h>

View File

@ -22,7 +22,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <telengine.h>
#include <yatengine.h>
#include <stdio.h>

View File

@ -22,7 +22,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <telengine.h>
#include <yatengine.h>
#include <stdio.h>
#include <libpq-fe.h>

View File

@ -25,8 +25,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <telengine.h>
#include <telephony.h>
#include <yatephone.h>
#include <sys/types.h>
#include <sys/stat.h>

View File

@ -42,8 +42,7 @@ extern "C" {
#include "spandsp.h"
};
#include <telengine.h>
#include <telephony.h>
#include <yatephone.h>
#include <sys/types.h>
#include <sys/stat.h>

View File

@ -22,8 +22,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <telengine.h>
#include <telephony.h>
#include <yatephone.h>
extern "C" {
#include <gsm.h>

View File

@ -54,8 +54,7 @@
#define USE_CAPABILITY_FACTORY
#endif
#include <telengine.h>
#include <telephony.h>
#include <yatephone.h>
#include <yateversn.h>
#include <string.h>

View File

@ -23,8 +23,7 @@
*/
#include <telengine.h>
#include <telephony.h>
#include <yatephone.h>
#include <yateversn.h>
#include <stdio.h>

View File

@ -32,8 +32,7 @@
* by Maciek Kaminski (maciejka_at_tiger.com.pl)
*/
#include <telengine.h>
#include <telephony.h>
#include <yatephone.h>
#include <sys/types.h>
#include <sys/stat.h>

View File

@ -22,7 +22,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <telengine.h>
#include <yatengine.h>
#include <unistd.h>

View File

@ -24,8 +24,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <telengine.h>
#include <telephony.h>
#include <yatephone.h>
#include <sys/types.h>
#include <sys/stat.h>

View File

@ -22,8 +22,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <telengine.h>
#include <telephony.h>
#include <yatephone.h>
#include <libpq-fe.h>
#include <string.h>

View File

@ -22,8 +22,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <telengine.h>
#include <telephony.h>
#include <yatengine.h>
#include <string.h>

View File

@ -22,7 +22,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <telengine.h>
#include <yatengine.h>
#include <stdio.h>

View File

@ -22,7 +22,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <telengine.h>
#include <yatengine.h>
#include <stdio.h>
#include <libpq-fe.h>

View File

@ -23,7 +23,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <telengine.h>
#include <yatengine.h>
#include <unistd.h>
#include <sys/types.h>

View File

@ -22,8 +22,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <telengine.h>
#include <telephony.h>
#include <yatephone.h>
#include <unistd.h>
#include <string.h>

View File

@ -22,8 +22,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <telengine.h>
#include <telephony.h>
#include <yatephone.h>
#include <sys/types.h>
#include <sys/stat.h>

View File

@ -22,8 +22,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <telengine.h>
#include <telephony.h>
#include <yatephone.h>
#include <unistd.h>
#include <string.h>

View File

@ -35,8 +35,7 @@ extern int q931_setup(struct pri *pri, q931_call *c, struct pri_sr *req);
#include <sys/ioctl.h>
#include <fcntl.h>
#include <telengine.h>
#include <telephony.h>
#include <yatephone.h>
#include <stdio.h>

View File

@ -5,7 +5,7 @@
DESTDIR :=
SCRIPTS :=
SCRLIBS := libyate.php Yate.pm
SCRLIBS := libyate.php libyatechan.php libyate.py Yate.pm
prefix = @prefix@
exec_prefix = @exec_prefix@

View File

@ -36,7 +36,7 @@ strip: all
clean:
@-$(RM) $(PROGS) $(LIBS) $(OBJS) core 2>/dev/null
%.o: @srcdir@/%.cpp $(MKDEPS) @top_srcdir@/telengine.h
%.o: @srcdir@/%.cpp $(MKDEPS) @top_srcdir@/yatengine.h
$(COMPILE) -c $<
Makefile: @srcdir@/Makefile.in $(MKDEPS)

View File

@ -22,7 +22,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <telengine.h>
#include <yatengine.h>
#include <unistd.h>
#include <stdlib.h>

View File

@ -3,7 +3,7 @@
This file holds the entry point of the Telephony Engine
*/
#include <telengine.h>
#include <yatengine.h>
using namespace TelEngine;

View File

@ -3,7 +3,7 @@
This file holds the entry point of the Telephony Engine
*/
#include <telengine.h>
#include <yatengine.h>
#include <unistd.h>

View File

@ -1,5 +1,5 @@
/**
* telengine.h
* yatengine.h
* This file is part of the YATE Project http://YATE.null.ro
*
* Yet Another Telephony Engine - a fully featured software PBX and IVR
@ -20,8 +20,8 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#ifndef __TELENGINE_H
#define __TELENGINE_H
#ifndef __YATENGINE_H
#define __YATENGINE_H
#ifndef __cplusplus
#error C++ is required
@ -2353,4 +2353,4 @@ private:
}; // namespace TelEngine
#endif /* __TELENGINE_H */
#endif /* __YATENGINE_H */

View File

@ -1,5 +1,5 @@
/**
* telephony.h
* yatephone.h
* This file is part of the YATE Project http://YATE.null.ro
*
* Yet Another Telephony Engine - a fully featured software PBX and IVR
@ -20,14 +20,14 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#ifndef __TELEPHONY_H
#define __TELEPHONY_H
#ifndef __YATEPHONE_H
#define __YATEPHONE_H
#ifndef __cplusplus
#error C++ is required
#endif
#include <telengine.h>
#include <yatengine.h>
/**
* Holds all Telephony Engine related classes.
@ -720,4 +720,4 @@ public:
}; // namespace TelEngine
#endif /* __TELEPHONY_H */
#endif /* __YATEPHONE_H */