call : make a call

- adds a button in the contact list box item to call it.
- adds button and logic to cancel an outgoing call.

Change-Id: I74da49acedca9f7ac0c1b62c859823e02ee960cf
Tuleap: #1028
diff --git a/SmartPanelItem.h b/SmartPanelItem.h
index a651d15..aa5484b 100644
--- a/SmartPanelItem.h
+++ b/SmartPanelItem.h
@@ -31,8 +31,31 @@
     SmartPanelItem();

 

     virtual event PropertyChangedEventHandler^ PropertyChanged;

-

     property Contact^ _contact;

+    property Visibility _IncomingCallBar

+    {

+        Visibility get()

+        {

+            return incomingCallBar_;

+        }

+        void set(Visibility value)

+        {

+            incomingCallBar_ = value;

+            PropertyChanged(this, ref new PropertyChangedEventArgs("_IncomingCallBar"));

+        }

+    }

+    property Visibility _OutGoingCallBar

+    {

+        Visibility get()

+        {

+            return outGoingCallBar_;

+        }

+        void set(Visibility value)

+        {

+            outGoingCallBar_ = value;

+            PropertyChanged(this, ref new PropertyChangedEventArgs("_OutGoingCallBar"));

+        }

+    }

     property Visibility _callBar

     {

         Visibility get()

@@ -62,6 +85,8 @@
     void NotifyPropertyChanged(String^ propertyName);

 

 private:

+    Visibility incomingCallBar_ = Visibility::Collapsed;

+    Visibility outGoingCallBar_ = Visibility::Collapsed;

     Visibility callBar_ = Visibility::Collapsed;

     Call^ call_;

 };