OPAL
Version 3.10.4
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
console_mgr.h
Go to the documentation of this file.
1
/*
2
* console_mgs.h
3
*
4
* An OpalManager derived class for use in a console application, providing
5
* a standard set of command line arguments for configuring many system
6
* parameters. Used by the sample applications such as faxopal, ovropal etc.
7
*
8
* Copyright (c) 2010 Vox Lucida Pty. Ltd.
9
*
10
* The contents of this file are subject to the Mozilla Public License
11
* Version 1.0 (the "License"); you may not use this file except in
12
* compliance with the License. You may obtain a copy of the License at
13
* http://www.mozilla.org/MPL/
14
*
15
* Software distributed under the License is distributed on an "AS IS"
16
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
17
* the License for the specific language governing rights and limitations
18
* under the License.
19
*
20
* The Original Code is Open Phone Abstraction Library.
21
*
22
* The Initial Developer of the Original Code is Vox Lucida Pty. Ltd.
23
*
24
* Contributor(s): ______________________________________.
25
*
26
* $Revision: 24766 $
27
* $Author: rjongbloed $
28
* $Date: 2010-09-30 02:18:52 -0500 (Thu, 30 Sep 2010) $
29
*/
30
31
#ifndef OPAL_OPAL_CONSOLE_MGR_H
32
#define OPAL_OPAL_CONSOLE_MGR_H
33
34
#ifdef P_USE_PRAGMA
35
#pragma interface
36
#endif
37
38
#include <
opal/manager.h
>
39
40
41
class
SIPEndPoint
;
42
class
H323EndPoint
;
43
class
OpalLineEndPoint
;
44
45
52
class
OpalManagerConsole
:
public
OpalManager
53
{
54
PCLASSINFO(
OpalManagerConsole
,
OpalManager
);
55
56
public
:
57
OpalManagerConsole
();
58
59
PString
GetArgumentSpec
()
const
;
60
PString
GetArgumentUsage
()
const
;
61
62
bool
Initialise
(PArgList & args,
bool
verbose);
63
64
protected
:
65
#if OPAL_SIP
66
SIPEndPoint
*
CreateSIPEndPoint
();
67
#endif
68
#if OPAL_H323
69
H323EndPoint
*
CreateH323EndPoint
();
70
#endif
71
#if OPAL_LID
72
OpalLineEndPoint
*
CreateLineEndPoint
();
73
#endif
74
};
75
76
77
#endif // OPAL_OPAL_CONSOLE_MGR_H
78
79
include
opal
console_mgr.h
Generated on Sun May 27 2012 08:56:07 for OPAL by
1.8.1