Bayonne2 / Common C++ 2 Framework
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
engine.h
Go to the documentation of this file.
1 // Copyright (C) 2005 Open Source Telecom Corp.
2 //
3 // This program is free software; you can redistribute it and/or modify
4 // it under the terms of the GNU General Public License as published by
5 // the Free Software Foundation; either version 2 of the License, or
6 // (at your option) any later version.
7 //
8 // This program is distributed in the hope that it will be useful,
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 // GNU General Public License for more details.
12 //
13 // You should have received a copy of the GNU General Public License
14 // along with this program; if not, write to the Free Software
15 // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
16 //
17 // As a special exception, you may use this file as part of a free software
18 // library without restriction. Specifically, if other files instantiate
19 // templates or use macros or inline functions from this file, or you compile
20 // this file and link it with other files to produce an executable, this
21 // file does not by itself cause the resulting executable to be covered by
22 // the GNU General Public License. This exception does not however
23 // invalidate any other reasons why the executable file might be covered by
24 // the GNU General Public License.
25 //
26 // This exception applies only to the code released under the name GNU
27 // ccScript. If you copy code from other releases into a copy of GNU
28 // ccScript, as the General Public License permits, the exception does
29 // not apply to the code that you add in this way. To avoid misleading
30 // anyone as to the status of such modified files, you must delete
31 // this exception notice from them.
32 //
33 // If you write modifications of your own for GNU ccScript, it is your choice
34 // whether to permit this exception to apply to your modifications.
35 // If you do not wish that, delete this exception notice.
36 //
37 
38 #include <cc++/config.h>
39 #include <cc++/misc.h>
40 #include <cc++/slog.h>
41 #include <cc++/file.h>
42 #include <cc++/thread.h>
43 #include <cc++/process.h>
44 #include <cc++/buffer.h>
45 #include <cc++/strchar.h>
46 #include <cc++/audio2.h>
47 #include <cc++/script3.h>
48 //#ifndef BUILD_LIBEXEC
49 #include <cc++/export.h>
50 //#endif
51 #include <cstdlib>
52 #include <fstream>
53 #include <cstdio>
54 #include "bayonne.h"
55 
56 #ifdef WIN32
57 #ifdef _DEBUG
58 #define HAVE_TESTING
59 #endif
60 #else
61 #include "private.h"
62 #endif
63 
64 #if defined(_MSC_VER) && _MSC_VER >= 1300
65 #if defined(_WIN64_) || defined(__WIN64__)
66 #define RLL_SUFFIX "x64"
67 #elif defined(_M_IX86)
68 #define RLL_SUFFIX "x86"
69 #else
70 #define RLL_SUFFIX "xlo"
71 #endif
72 #endif
73 
74 #if defined(__MINGW32__) | defined(__CYGWIN32__)
75 #define RLL_SUFFIX "dso"
76 #endif
77 
78 #ifdef W32
79 #ifndef RLL_SUFFIX
80 #define RLL_SUFFIX "rll"
81 #endif
82 #endif
83 
84 #ifndef RLL_SUFFIX
85 #define RLL_SUFFIX "dso"
86 #endif
87 
Memory management, configuration keydata objects and string tokenizer.
export/import definitions for DLL's on Win32.
Files and dynamic loader services.
Threaded step execute scripting engine framework.
Synchronization and threading services.
Common and portable character string related functions.
Framework for portable audio processing and file handling classes.
Process services.
object passing services between threads.
System logging facilities abstraction.