1 |
/***************************************************************************
|
2 |
pconf.h
|
3 |
|
4 |
Copyright (c) 2002-2003 Vladimir Toncar
|
5 |
|
6 |
The contents of this file are subject to the Mozilla Public License
|
7 |
Version 1.1 (the "License"); you may not use this file except in
|
8 |
compliance with the License. You may obtain a copy of the License at
|
9 |
http://www.mozilla.org/MPL/
|
10 |
|
11 |
Software distributed under the License is distributed on an "AS IS"
|
12 |
basis, WITHOUT WARRANTY OF ANY KIND, either express or implied.
|
13 |
See the License for the specific language governing rights and
|
14 |
limitations under the License.
|
15 |
|
16 |
The Original Code is oh323tut.
|
17 |
|
18 |
The Initial Developer of the Original Code is Vladimir Toncar.
|
19 |
All Rights Reserved.
|
20 |
|
21 |
Contributor(s): ______________________________________.
|
22 |
|
23 |
***************************************************************************/
|
24 |
|
25 |
#ifndef _PCONF_H
|
26 |
#define _PCONF_H
|
27 |
|
28 |
#include <ptlib.h>
|
29 |
|
30 |
#define DEFAULT_PORT 1820
|
31 |
|
32 |
struct ProgConf
|
33 |
{
|
34 |
enum GkMode {
|
35 |
NoGatekeeper,
|
36 |
RegisterWithGatekeeper
|
37 |
};
|
38 |
|
39 |
GkMode gkMode;
|
40 |
PString gkAddr;
|
41 |
PString gkId;
|
42 |
WORD port;
|
43 |
PString fileName;
|
44 |
PStringArray userAliases;
|
45 |
|
46 |
ProgConf() { port = DEFAULT_PORT; };
|
47 |
};
|
48 |
|
49 |
|
50 |
#define OH323TUT_VER_MAJOR 1
|
51 |
#define OH323TUT_VER_MINOR 0
|
52 |
#define OH323TUT_VER_STATUS ReleaseCode
|
53 |
#define OH323TUT_VER_BUILD 2
|
54 |
|
55 |
#endif
|