Commit 3cf75748 authored by Ghislain MARY's avatar Ghislain MARY

Remove Windows Phone8 backup files.

parent 81c63531
This diff is collapsed.
This diff is collapsed.
# License
Please carefully understand the license and download the latest icons at ModernUIIcons.com.
## Understand Your Rights
No Attribution and No Derived Works
http://creativecommons.org/licenses/by-nd/3.0/ *
- If your project is open source include this license file in the source.
- Nothing is needed in the front facing project (UNLESS you
are using any of the icons listed below in the attribution section).
- Commercial use is not only allowed but encouraged. If it is an icon
in the attribution list below, you still need to attribute those!
- Do not distribute the entire package (I've allowed this dozens of
times for open source projects, but email me first).
## Creator
- Austin Andrews (@templarian)
## Contributor**
- Jay Zawrotny (@JayZawrotny)
- A Bunch
- Oren Nachman
- appbar.chevron.down
- appbar.chevron.up
- appbar.chevron.left
- appbar.chevron.right
## Derived Works
- Alex Peattie
- Social: http://www.alexpeattie.com/projects/justvector_icons/
## Attribution***
- Kris Vandermotten (@kvandermotten)
- appbar.medical.pulse
- Constantin Kichinsky (@kichinsky)
- appbar.currency.rubles
- appbar.currency.grivna
- Massimo Savazzi (@msavazzi)
- List of missing exported icons
- Proletkult Graphik, from The Noun Project
- appbar.draw.pen (inspired)
- Olivier Guin, from The Noun Project
- appbar.draw.marker
- Gibran Bisio, from The Noun Project
- appbar.draw.bucket
Andrew Forrester, from The Noun Project
- appbar.fingerprint
* The license is for attribution, but this is not required.
** Developers and designers that emailed Templarian the source .design icons to be added into the package. PNGs also accepted, but may take longer to be added.
*** Icons I've copied so closely you want to attribute them and are also under the CC license.
Contact
- http://templarian.com/
- admin[@]templarian[.]com
* Does not apply to copyrighted logos
- Skype
- Facebook
- Twitter
- etc...
\ No newline at end of file
This diff is collapsed.
[net]
firewall_policy=0
download_bw=380
upload_bw=380
[sip]
default_proxy=0
[rtp]
audio_rtp_port=7076
video_rtp_port=9078
[sound]
hold_music=Assets/Sounds/toy-mono.wav
[video]
capture=1
display=1
size=qvga
[proxy_default_values]
reg_expires=28800
[net]
mtu=1300
[sip]
guess_hostname=1
inc_timeout=45
use_ipv6=0
register_only_when_network_is_up=1
auto_net_state_mon=0
keepalive_period=30000
ping_with_options=0
store_ha1_passwd=0
sip_port=-1
sip_tcp_port=-1
sip_tls_port=-1
inactive_video_on_pause=1
defer_update_default=1
[rtp]
audio_jitt_comp=60
video_jitt_comp=60
nortp_timeout=30
[sound]
dtmf_player_amp=0.1
[video]
displaytype=MSWP8Dis
[misc]
history_max_size=30
max_calls=1
file_transfer_server_url=https://www.linphone.org:444/lft.php
log_collection_upload_server_url=https://www.linphone.org:444/lft.php
This diff is collapsed.
This diff is collapsed.
/*
AddressBox.xaml.cs
Copyright (C) 2015 Belledonne Communications, Grenoble, France
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
using System;
using System.Windows;
using System.Windows.Controls;
namespace Linphone.Controls
{
/// <summary>
/// Listener to throw events depending on the focus state of this control.
/// </summary>
public interface AddressBoxFocused
{
/// <summary>
/// Called when the addressbox get focused.
/// </summary>
void Focused();
/// <summary>
/// Called when the addressbox lost its focus.
/// </summary>
void UnFocused();
}
/// <summary>
/// Custom control representing a textbox that contains a SIP address.
/// </summary>
public partial class AddressBox : UserControl
{
/// <summary>
/// Listener to throw events depending on the focus state of this control.
/// </summary>
public AddressBoxFocused FocusListener;
/// <summary>
/// String content of the textbox.
/// </summary>
public String Text
{
get { return address.Text; }
set { address.Text = value; }
}
/// <summary>
/// Public constructor.
/// </summary>
public AddressBox()
{
InitializeComponent();
this.DataContext = this;
}
private void backspace_Hold_1(object sender, System.Windows.Input.GestureEventArgs e)
{
address.Text = "";
}
private void backspace_Click_1(object sender, RoutedEventArgs e)
{
if (address.Text.Length > 0)
address.Text = address.Text.Substring(0, address.Text.Length - 1);
}
private void address_GotFocus(object sender, RoutedEventArgs e)
{
if (FocusListener != null)
FocusListener.Focused();
}
private void address_LostFocus(object sender, RoutedEventArgs e)
{
if (FocusListener != null)
FocusListener.UnFocused();
}
}
}
<UserControl
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:controls="clr-namespace:Linphone.Controls"
xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone" x:Class="Linphone.Controls.CallControlsL"
mc:Ignorable="d"
FontFamily="{StaticResource PhoneFontFamilyNormal}"
FontSize="{StaticResource PhoneFontSizeNormal}"
Foreground="{StaticResource PhoneForegroundBrush}"
d:DesignHeight="300" d:DesignWidth="860">
<Grid x:Name="LayoutRoot">
<Grid.RowDefinitions>
<RowDefinition Height="*"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<ToggleButton
x:Name="speaker"
Grid.Row="1"
Grid.Column="0"
BorderThickness="0"
Margin="-10"
Click="speaker_Click_1"
Background="{StaticResource PhoneChromeBrush}">
<StackPanel Orientation="Vertical">
<Image x:Name="speakerImg" Source="/Assets/Incall_Icons/speaker_off.png" Stretch="None"/>
</StackPanel>
</ToggleButton>
<ToggleButton
x:Name="microphone"
Grid.Row="1"
Grid.Column="1"
BorderThickness="0"
Margin="-10"
Click="microphone_Click_1"
IsEnabled="False"
Background="{StaticResource PhoneChromeBrush}">
<StackPanel Orientation="Vertical">
<Image x:Name="microImg" Source="/Assets/Incall_Icons/micro_on.png" Stretch="None" Opacity="0.4"/>
</StackPanel>
</ToggleButton>
<ToggleButton
x:Name="bluetooth"
Grid.Row="1"
Grid.Column="2"
BorderThickness="0"
Margin="-10"
Click="bluetooth_Click_1"
IsEnabled="False"
Background="{StaticResource PhoneChromeBrush}">
<StackPanel Orientation="Vertical">
<Image x:Name="bluetoothImg" Source="/Assets/Incall_Icons/bluetooth_off.png" Stretch="None" Opacity="0.4"/>
</StackPanel>
</ToggleButton>
<ToggleButton
x:Name="pause"
Grid.Row="2"
Grid.Column="0"
BorderThickness="0"
Margin="-10"
Click="pause_Click_1"
IsEnabled="False"
Background="{StaticResource PhoneChromeBrush}">
<StackPanel Orientation="Vertical">
<Image x:Name="pauseImg" Source="/Assets/Incall_Icons/play.png" Stretch="None" Opacity="0.4"/>
</StackPanel>
</ToggleButton>
<ToggleButton
x:Name="video"
Grid.Row="2"
Grid.Column="1"
BorderThickness="0"
Margin="-10"
Click="video_Click_1"
IsEnabled="False"
Visibility="{Binding VideoButtonVisibility}"
Background="{StaticResource PhoneChromeBrush}">
<StackPanel Orientation="Vertical">
<Image x:Name="videoImg" Source="/Assets/Incall_Icons/video_off.png" Stretch="None" Opacity="0.4"/>
</StackPanel>
</ToggleButton>
<ToggleButton
x:Name="stats"
Grid.Row="2"
Grid.Column="2"
BorderThickness="0"
Margin="-10"
Click="stats_Click_1"
Background="{StaticResource PhoneChromeBrush}">
<StackPanel Orientation="Vertical">
<Image x:Name="statsImg" Source="/Assets/Incall_Icons/stats.png" Stretch="None"/>
</StackPanel>
</ToggleButton>
<Button
x:Name="camera"
Grid.Row="3"
Grid.Column="3"
BorderThickness="0"
Margin="-10"
Click="camera_Click_1"
IsEnabled="False"
Visibility="{Binding CameraButtonVisibility}"
Background="{StaticResource PhoneChromeBrush}">
<StackPanel Orientation="Vertical">
<Image x:Name="cameraImg" Source="/Assets/Incall_Icons/camera.png" Stretch="None" Opacity="0.4"/>
</StackPanel>
</Button>
<Button
x:Name="hangUp"
Grid.Row="3"
Grid.Column="0"
Grid.ColumnSpan="3"
BorderThickness="0"
Margin="-10"
Background="{StaticResource PhoneAccentBrush}"
Content="{Binding LocalizedResources.HangUp, Source={StaticResource LocalizedStrings}}"
Click="hangUp_Click"
ClickMode="Release"
Style="{StaticResource AccentColorButton}"/>
<ToggleButton
x:Name="dialpad"
Grid.Row="3"
Grid.Column="4"
Grid.ColumnSpan="2"
BorderThickness="0"
Margin="-10"
Click="dialpad_Click_1"
Background="{StaticResource PhoneChromeBrush}">
<Image Source="/Assets/Incall_Icons/dialpad.png" Stretch="None"/>
</ToggleButton>
<!-- Statistics panel -->
<Grid x:Name="statsPanel" Background="{StaticResource PhoneChromeBrush}" Grid.Row="1" Grid.RowSpan="2" Grid.Column="3" Grid.ColumnSpan="3" Visibility="Collapsed">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<TextBlock Text="{Binding Path=LocalizedResources.StatPayloadType, Source={StaticResource LocalizedStrings}}" FontSize="{StaticResource PhoneFontSizeSmall}" FontFamily="{StaticResource PhoneFontFamilySemiBold}" Margin="5" Grid.Column="0" Grid.Row="1"/>
<TextBlock Text="{Binding PayloadType}" Style="{StaticResource PhoneTextSmallStyle}" Grid.Column="1" Grid.Row="1"/>
<TextBlock Text="{Binding Path=LocalizedResources.StatDownloadBandwidth, Source={StaticResource LocalizedStrings}}" FontSize="{StaticResource PhoneFontSizeSmall}" FontFamily="{StaticResource PhoneFontFamilySemiBold}" Margin="5" Grid.Column="0" Grid.Row="2"/>
<TextBlock Text="{Binding DownBandwidth}" Style="{StaticResource PhoneTextSmallStyle}" Grid.Column="1" Grid.Row="2"/>
<TextBlock Text="{Binding Path=LocalizedResources.StatUploadBandwidth, Source={StaticResource LocalizedStrings}}" FontSize="{StaticResource PhoneFontSizeSmall}" FontFamily="{StaticResource PhoneFontFamilySemiBold}" Margin="5" Grid.Column="0" Grid.Row="3"/>
<TextBlock Text="{Binding UpBandwidth}" Style="{StaticResource PhoneTextSmallStyle}" Grid.Column="1" Grid.Row="3"/>
<TextBlock Text="{Binding Path=LocalizedResources.StatMediaEncryption, Source={StaticResource LocalizedStrings}}" FontSize="{StaticResource PhoneFontSizeSmall}" FontFamily="{StaticResource PhoneFontFamilySemiBold}" Margin="5" Grid.Column="0" Grid.Row="4"/>
<TextBlock Text="{Binding MediaEncryption}" Style="{StaticResource PhoneTextSmallStyle}" Grid.Column="1" Grid.Row="4"/>
<TextBlock Text="{Binding Path=LocalizedResources.StatICE, Source={StaticResource LocalizedStrings}}" FontSize="{StaticResource PhoneFontSizeSmall}" FontFamily="{StaticResource PhoneFontFamilySemiBold}" Margin="5" Grid.Column="0" Grid.Row="5"/>
<TextBlock Text="{Binding ICE}" Style="{StaticResource PhoneTextSmallStyle}" Grid.Column="1" Grid.Row="5"/>
<TextBlock Text="{Binding Path=LocalizedResources.StatReceivedVideoSize, Source={StaticResource LocalizedStrings}}" Visibility="{Binding VideoStatsVisibility}" FontSize="{StaticResource PhoneFontSizeSmall}" FontFamily="{StaticResource PhoneFontFamilySemiBold}" Margin="5" Grid.Column="0" Grid.Row="6"/>
<TextBlock Text="{Binding ReceivedVideoSize}" Visibility="{Binding VideoStatsVisibility}" Style="{StaticResource PhoneTextSmallStyle}" Grid.Column="1" Grid.Row="6"/>
<TextBlock Text="{Binding Path=LocalizedResources.StatSentVideoSize, Source={StaticResource LocalizedStrings}}" Visibility="{Binding VideoStatsVisibility}" FontSize="{StaticResource PhoneFontSizeSmall}" FontFamily="{StaticResource PhoneFontFamilySemiBold}" Margin="5" Grid.Column="0" Grid.Row="7"/>
<TextBlock Text="{Binding SentVideoSize}" Visibility="{Binding VideoStatsVisibility}" Style="{StaticResource PhoneTextSmallStyle}" Grid.Column="1" Grid.Row="7"/>
</Grid>
<!-- Numeric pad buttons -->
<controls:Numpad
x:Name="numpad"
Grid.Row="0"
Grid.RowSpan="3"
Grid.Column="3"
Grid.ColumnSpan="3"
Visibility="Collapsed"/>
</Grid>
</UserControl>
\ No newline at end of file
/*
CallControlsL.xaml.cs
Copyright (C) 2015 Belledonne Communications, Grenoble, France
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Navigation;
using Microsoft.Phone.Controls;
using Microsoft.Phone.Shell;
using Linphone.Model;
using System.Windows.Media.Imaging;
namespace Linphone.Controls
{
/// <summary>
///
/// </summary>
public partial class CallControlsL : UserControl
{
private const string speakerOn = "/Assets/Incall_Icons/speaker_on.png";
private const string speakerOff = "/Assets/Incall_Icons/speaker_off.png";
private const string bluetoothOn = "/Assets/Incall_Icons/bluetooth_on.png";
private const string bluetoothOff = "/Assets/Incall_Icons/bluetooth_off.png";
private const string videoOn = "/Assets/Incall_Icons/video_on.png";
private const string videoOff = "/Assets/Incall_Icons/video_off.png";
private const string pauseOn = "/Assets/Incall_Icons/pause.png";
private const string pauseOff = "/Assets/Incall_Icons/play.png";
private const string micOn = "/Assets/Incall_Icons/micro_on.png";
private const string micOff = "/Assets/Incall_Icons/micro_off.png";
public delegate void HangUpClickEventHandler(object sender);
public event HangUpClickEventHandler HangUpClick;
public delegate void StatsClickEventHandler(object sender, bool areStatsVisible);
public event StatsClickEventHandler StatsClick;
public delegate void CameraClickEventHandler(object sender);
public event CameraClickEventHandler CameraClick;
public delegate void PauseClickEventHandler(object sender, bool isPaused);
public event PauseClickEventHandler PauseClick;
public delegate bool SpeakerClickEventHandler(object sender, bool isSpeakerOn);
public event SpeakerClickEventHandler SpeakerClick;
public delegate void MuteClickEventHandler(object sender, bool isMuteOn);
public event MuteClickEventHandler MuteClick;
public delegate void VideoClickEventHandler(object sender, bool isVideoOn);
public event VideoClickEventHandler VideoClick;
public delegate void DialpadClickEventHandler(object sender, bool isDialpadShown);
public event DialpadClickEventHandler DialpadClick;
public delegate void BluetoothClickEventHandler(object sender, bool isBluetoothOn);
public event DialpadClickEventHandler BluetoothClick;
/// <summary>
/// Public constructor
/// </summary>