blob: cf5f6117097c8b2465366145c86aeecdb7acedca [file] [log] [blame]
Benny Prijono4b4adb32008-06-12 15:37:22 +00001# $Id$
2
3DEFAULT_ECHO = True
4DEFAULT_TRACE = True
5
6# Individual pjsua config class
7class Config:
8 # pjsua command line arguments, concatenated in string
9 arg = ""
10 # Specify whether pjsua output should be echoed to stdout
11 echo_enabled = DEFAULT_ECHO
12 # Enable/disable test tracing
13 trace_enabled = DEFAULT_TRACE
14 def __init__(self, arg, echo_enabled=DEFAULT_ECHO, trace_enabled=DEFAULT_TRACE):
15 self.arg = arg
16 self.echo_enabled = echo_enabled
17 self.trace_enabled = trace_enabled
18
19# Call config class
20class CallConfig:
21 def __init__(self, title, callee_cfg, caller_cfg):
22 self.title = title
23 self.callee_cfg = callee_cfg
24 self.caller_cfg = caller_cfg
25