Skip to content
项目
群组
代码片段
帮助
正在加载...
登录
切换导航
F
freeswitch-contrib
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
张华
freeswitch-contrib
Commits
aad20cb8
提交
aad20cb8
authored
2月 03, 2011
作者:
Mitch Capper
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
I cannot spell the word balloons.
上级
2ce0326f
隐藏空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
14 行增加
和
14 行删除
+14
-14
Broker.cs
mitchcapper/FSClient/Broker.cs
+4
-4
Options.xaml
mitchcapper/FSClient/Options.xaml
+1
-1
Options.xaml.cs
mitchcapper/FSClient/Options.xaml.cs
+2
-2
Settings.Designer.cs
mitchcapper/FSClient/Properties/Settings.Designer.cs
+3
-3
Settings.settings
mitchcapper/FSClient/Properties/Settings.settings
+1
-1
SimpleContactPluginBase.cs
mitchcapper/FSClient/SimpleContactPluginBase.cs
+2
-2
app.config
mitchcapper/FSClient/app.config
+1
-1
没有找到文件。
mitchcapper/FSClient/Broker.cs
浏览文件 @
aad20cb8
...
@@ -46,7 +46,7 @@ namespace FSClient {
...
@@ -46,7 +46,7 @@ namespace FSClient {
Account
.
LoadSettings
();
Account
.
LoadSettings
();
IncomingBallo
ns
=
Properties
.
Settings
.
Default
.
IncomingBall
ons
;
IncomingBallo
ons
=
Properties
.
Settings
.
Default
.
IncomingBallo
ons
;
IncomingTopMost
=
Properties
.
Settings
.
Default
.
FrontOnIncoming
;
IncomingTopMost
=
Properties
.
Settings
.
Default
.
FrontOnIncoming
;
ClearDTMFS
=
Properties
.
Settings
.
Default
.
ClearDTMFS
;
ClearDTMFS
=
Properties
.
Settings
.
Default
.
ClearDTMFS
;
UseNumberOnlyInput
=
Properties
.
Settings
.
Default
.
UseNumberOnlyInput
;
UseNumberOnlyInput
=
Properties
.
Settings
.
Default
.
UseNumberOnlyInput
;
...
@@ -306,7 +306,7 @@ namespace FSClient {
...
@@ -306,7 +306,7 @@ namespace FSClient {
try
{
try
{
SaveAudioSettings
();
SaveAudioSettings
();
Account
.
SaveSettings
();
Account
.
SaveSettings
();
Properties
.
Settings
.
Default
.
IncomingBallo
ns
=
IncomingBall
ons
;
Properties
.
Settings
.
Default
.
IncomingBallo
ons
=
IncomingBallo
ons
;
Properties
.
Settings
.
Default
.
FrontOnIncoming
=
IncomingTopMost
;
Properties
.
Settings
.
Default
.
FrontOnIncoming
=
IncomingTopMost
;
Properties
.
Settings
.
Default
.
ClearDTMFS
=
ClearDTMFS
;
Properties
.
Settings
.
Default
.
ClearDTMFS
=
ClearDTMFS
;
Properties
.
Settings
.
Default
.
UseNumberOnlyInput
=
UseNumberOnlyInput
;
Properties
.
Settings
.
Default
.
UseNumberOnlyInput
=
UseNumberOnlyInput
;
...
@@ -389,7 +389,7 @@ namespace FSClient {
...
@@ -389,7 +389,7 @@ namespace FSClient {
if
(
IncomingTopMost
)
{
if
(
IncomingTopMost
)
{
MainWindow
.
get_instance
().
BringToFront
();
MainWindow
.
get_instance
().
BringToFront
();
}
}
if
(
IncomingBallons
&&
!
DND
)
{
if
(
IncomingBallo
o
ns
&&
!
DND
)
{
IncomingCallNotification
.
ShowCallNotification
(
args
.
call
);
IncomingCallNotification
.
ShowCallNotification
(
args
.
call
);
if
(
Call
.
active_call
!=
args
.
call
&&
Call
.
active_call
!=
null
)
if
(
Call
.
active_call
!=
args
.
call
&&
Call
.
active_call
!=
null
)
HandleCallWaiting
(
null
,
args
.
call
);
HandleCallWaiting
(
null
,
args
.
call
);
...
@@ -404,7 +404,7 @@ namespace FSClient {
...
@@ -404,7 +404,7 @@ namespace FSClient {
}
}
#
region
properties
#
region
properties
public
bool
IncomingBallons
;
public
bool
IncomingBallo
o
ns
;
public
bool
IncomingTopMost
;
public
bool
IncomingTopMost
;
public
bool
UseNumberOnlyInput
{
public
bool
UseNumberOnlyInput
{
...
...
mitchcapper/FSClient/Options.xaml
浏览文件 @
aad20cb8
...
@@ -45,7 +45,7 @@
...
@@ -45,7 +45,7 @@
<ComboBox Height="23" Grid.Row="6" Grid.Column="1" Name="comboRingDevice" Width="340" />
<ComboBox Height="23" Grid.Row="6" Grid.Column="1" Name="comboRingDevice" Width="340" />
<StackPanel Grid.Row="7" Grid.Column="1" Grid.RowSpan="3">
<StackPanel Grid.Row="7" Grid.Column="1" Grid.RowSpan="3">
<CheckBox x:Name="chkIncomingFront" Content="Bring To Front On Incoming Calls" VerticalAlignment="Center" FontWeight="Bold" FontSize="13.333" />
<CheckBox x:Name="chkIncomingFront" Content="Bring To Front On Incoming Calls" VerticalAlignment="Center" FontWeight="Bold" FontSize="13.333" />
<CheckBox x:Name="chkIncomingBallo
ns" Content="Show Incoming Call Notification Ball
ons" VerticalAlignment="Center" FontWeight="Bold" FontSize="13.333" />
<CheckBox x:Name="chkIncomingBallo
ons" Content="Show Incoming Call Notification Ballo
ons" VerticalAlignment="Center" FontWeight="Bold" FontSize="13.333" />
<CheckBox x:Name="chkClearDTMFS" Content="Clear Key Presses In Call Stats On Disconnect" VerticalAlignment="Center" FontWeight="Bold" FontSize="13.333" />
<CheckBox x:Name="chkClearDTMFS" Content="Clear Key Presses In Call Stats On Disconnect" VerticalAlignment="Center" FontWeight="Bold" FontSize="13.333" />
<CheckBox x:Name="chkUseNumbers" Content="Only Allow Numerical Input While Dialing" VerticalAlignment="Center" FontWeight="Bold" FontSize="13.333" />
<CheckBox x:Name="chkUseNumbers" Content="Only Allow Numerical Input While Dialing" VerticalAlignment="Center" FontWeight="Bold" FontSize="13.333" />
</StackPanel>
</StackPanel>
...
...
mitchcapper/FSClient/Options.xaml.cs
浏览文件 @
aad20cb8
...
@@ -31,7 +31,7 @@ namespace FSClient {
...
@@ -31,7 +31,7 @@ namespace FSClient {
comboSpeakerInput
.
SelectedItem
=
broker
.
SpeakerInDev
;
comboSpeakerInput
.
SelectedItem
=
broker
.
SpeakerInDev
;
comboSpeakerOutput
.
SelectedItem
=
broker
.
SpeakerOutDev
;
comboSpeakerOutput
.
SelectedItem
=
broker
.
SpeakerOutDev
;
comboRingDevice
.
SelectedItem
=
broker
.
RingDev
;
comboRingDevice
.
SelectedItem
=
broker
.
RingDev
;
chkIncomingBallo
ns
.
IsChecked
=
broker
.
IncomingBall
ons
;
chkIncomingBallo
ons
.
IsChecked
=
broker
.
IncomingBallo
ons
;
chkIncomingFront
.
IsChecked
=
broker
.
IncomingTopMost
;
chkIncomingFront
.
IsChecked
=
broker
.
IncomingTopMost
;
chkClearDTMFS
.
IsChecked
=
broker
.
ClearDTMFS
;
chkClearDTMFS
.
IsChecked
=
broker
.
ClearDTMFS
;
chkUseNumbers
.
IsChecked
=
broker
.
UseNumberOnlyInput
;
chkUseNumbers
.
IsChecked
=
broker
.
UseNumberOnlyInput
;
...
@@ -51,7 +51,7 @@ namespace FSClient {
...
@@ -51,7 +51,7 @@ namespace FSClient {
broker
.
SetSpeakerDevs
(
indev
==
null
?
""
:
indev
.
name
,
outdev
==
null
?
""
:
outdev
.
name
);
broker
.
SetSpeakerDevs
(
indev
==
null
?
""
:
indev
.
name
,
outdev
==
null
?
""
:
outdev
.
name
);
outdev
=
comboRingDevice
.
SelectedItem
as
PortAudio
.
AudioDevice
;
outdev
=
comboRingDevice
.
SelectedItem
as
PortAudio
.
AudioDevice
;
broker
.
SetRingDev
(
outdev
==
null
?
""
:
outdev
.
name
);
broker
.
SetRingDev
(
outdev
==
null
?
""
:
outdev
.
name
);
broker
.
IncomingBallo
ns
=
chkIncomingBall
ons
.
IsChecked
==
true
;
broker
.
IncomingBallo
ons
=
chkIncomingBallo
ons
.
IsChecked
==
true
;
broker
.
IncomingTopMost
=
chkIncomingFront
.
IsChecked
==
true
;
broker
.
IncomingTopMost
=
chkIncomingFront
.
IsChecked
==
true
;
broker
.
ClearDTMFS
=
chkClearDTMFS
.
IsChecked
==
true
;
broker
.
ClearDTMFS
=
chkClearDTMFS
.
IsChecked
==
true
;
broker
.
UseNumberOnlyInput
=
chkUseNumbers
.
IsChecked
==
true
;
broker
.
UseNumberOnlyInput
=
chkUseNumbers
.
IsChecked
==
true
;
...
...
mitchcapper/FSClient/Properties/Settings.Designer.cs
浏览文件 @
aad20cb8
...
@@ -120,12 +120,12 @@ namespace FSClient.Properties {
...
@@ -120,12 +120,12 @@ namespace FSClient.Properties {
[
global
::
System
.
Configuration
.
UserScopedSettingAttribute
()]
[
global
::
System
.
Configuration
.
UserScopedSettingAttribute
()]
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
()]
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
()]
[
global
::
System
.
Configuration
.
DefaultSettingValueAttribute
(
"True"
)]
[
global
::
System
.
Configuration
.
DefaultSettingValueAttribute
(
"True"
)]
public
bool
IncomingBallons
{
public
bool
IncomingBallo
o
ns
{
get
{
get
{
return
((
bool
)(
this
[
"IncomingBallons"
]));
return
((
bool
)(
this
[
"IncomingBallo
o
ns"
]));
}
}
set
{
set
{
this
[
"IncomingBallons"
]
=
value
;
this
[
"IncomingBallo
o
ns"
]
=
value
;
}
}
}
}
...
...
mitchcapper/FSClient/Properties/Settings.settings
浏览文件 @
aad20cb8
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
<Setting
Name=
"FrontOnIncoming"
Type=
"System.Boolean"
Scope=
"User"
>
<Setting
Name=
"FrontOnIncoming"
Type=
"System.Boolean"
Scope=
"User"
>
<Value
Profile=
"(Default)"
>
True
</Value>
<Value
Profile=
"(Default)"
>
True
</Value>
</Setting>
</Setting>
<Setting
Name=
"IncomingBallons"
Type=
"System.Boolean"
Scope=
"User"
>
<Setting
Name=
"IncomingBallo
o
ns"
Type=
"System.Boolean"
Scope=
"User"
>
<Value
Profile=
"(Default)"
>
True
</Value>
<Value
Profile=
"(Default)"
>
True
</Value>
</Setting>
</Setting>
<Setting
Name=
"HeadsetDevice"
Type=
"System.String"
Scope=
"User"
>
<Setting
Name=
"HeadsetDevice"
Type=
"System.String"
Scope=
"User"
>
...
...
mitchcapper/FSClient/SimpleContactPluginBase.cs
浏览文件 @
aad20cb8
...
@@ -127,8 +127,8 @@ namespace FSClient
...
@@ -127,8 +127,8 @@ namespace FSClient
}
}
protected
void
refresh_search_box
(){
protected
void
refresh_search_box
(){
if
(
search_box
==
null
)
if
(
search_box
==
null
)
return
;
return
;
search_box
.
ItemsSource
=
from
c
in
number_to_alias
select
new
SearchAutoCompleteEntry
(
c
.
Key
,
c
.
Value
);
search_box
.
ItemsSource
=
from
c
in
number_to_alias
orderby
c
.
Value
,
c
.
Key
select
new
SearchAutoCompleteEntry
(
c
.
Key
,
c
.
Value
);
}
}
protected
class
SearchAutoCompleteEntry
{
protected
class
SearchAutoCompleteEntry
{
public
string
number
;
public
string
number
;
...
...
mitchcapper/FSClient/app.config
浏览文件 @
aad20cb8
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
<
setting
name
=
"FrontOnIncoming"
serializeAs
=
"String"
>
<
setting
name
=
"FrontOnIncoming"
serializeAs
=
"String"
>
<
value
>
True
</
value
>
<
value
>
True
</
value
>
</
setting
>
</
setting
>
<
setting
name
=
"IncomingBallons"
serializeAs
=
"String"
>
<
setting
name
=
"IncomingBallo
o
ns"
serializeAs
=
"String"
>
<
value
>
True
</
value
>
<
value
>
True
</
value
>
</
setting
>
</
setting
>
<
setting
name
=
"HeadsetDevice"
serializeAs
=
"String"
>
<
setting
name
=
"HeadsetDevice"
serializeAs
=
"String"
>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论