-
Notifications
You must be signed in to change notification settings - Fork 2
/
nsProxyConfig.cpp
87 lines (76 loc) · 1.76 KB
/
nsProxyConfig.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
#include "nsProxyConfig.h"
NS_IMPL_ISUPPORTS1(nsProxyConfig, nsIProxyConfig)
nsProxyConfig::nsProxyConfig()
{
/* member initializers and constructor code */
}
nsProxyConfig::~nsProxyConfig()
{
/* destructor code */
}
/* attribute ACString sip_identity; */
NS_IMETHODIMP nsProxyConfig::GetSip_identity(nsACString & aSip_identity)
{
aSip_identity = sip_identity;
return NS_OK;
}
NS_IMETHODIMP nsProxyConfig::SetSip_identity(const nsACString & aSip_identity)
{
sip_identity = aSip_identity;
return NS_OK;
}
/* attribute ACString sip_proxy; */
NS_IMETHODIMP nsProxyConfig::GetSip_proxy(nsACString & aSip_proxy)
{
aSip_proxy = sip_proxy;
return NS_OK;
}
NS_IMETHODIMP nsProxyConfig::SetSip_proxy(const nsACString & aSip_proxy)
{
sip_proxy = aSip_proxy;
return NS_OK;
}
/* attribute ACString sip_route; */
NS_IMETHODIMP nsProxyConfig::GetSip_route(nsACString & aSip_route)
{
aSip_route = sip_route;
return NS_OK;
}
NS_IMETHODIMP nsProxyConfig::SetSip_route(const nsACString & aSip_route)
{
sip_route = aSip_route;
return NS_OK;
}
/* attribute ACString userid; */
NS_IMETHODIMP nsProxyConfig::GetUserid(nsACString & aUserid)
{
aUserid = userid;
return NS_OK;
}
NS_IMETHODIMP nsProxyConfig::SetUserid(const nsACString & aUserid)
{
userid = aUserid;
return NS_OK;
}
/* attribute ACString password; */
NS_IMETHODIMP nsProxyConfig::GetPassword(nsACString & aPassword)
{
aPassword = password;
return NS_OK;
}
NS_IMETHODIMP nsProxyConfig::SetPassword(const nsACString & aPassword)
{
password = aPassword;
return NS_OK;
}
/* attribute long duration; */
NS_IMETHODIMP nsProxyConfig::GetDuration(PRInt32 *aDuration)
{
*aDuration = duration;
return NS_OK;
}
NS_IMETHODIMP nsProxyConfig::SetDuration(PRInt32 aDuration)
{
duration = aDuration;
return NS_OK;
}