patch pour amelioration des etats
Change-Id: I5fd57088cc6a687edbaf80d556d275b7ea1040a7
Tuleap: #1205
diff --git a/SmartPanelItem.h b/SmartPanelItem.h
index 45a7e39..88cb486 100644
--- a/SmartPanelItem.h
+++ b/SmartPanelItem.h
@@ -32,7 +32,7 @@
virtual event PropertyChangedEventHandler^ PropertyChanged;
property Contact^ _contact;
- property Call^ _call
+ /*property Call^ _call
{
Call^ get()
{
@@ -43,7 +43,7 @@
call_ = value;
PropertyChanged(this, ref new PropertyChangedEventArgs("_call"));
}
- }
+ }*/
property Visibility _hovered
{
Visibility get()
@@ -57,15 +57,33 @@
}
}
- property String^ _callId;
+ property String^ _callId; /*{
+ String^ get() {
+ return callId_;
+ }
+ void set(String^ value) {
+ _callId = value;
+ }
+ }*/
+ property CallStatus _callStatus {
+ CallStatus get() {
+ return callStatus_;
+ }
+ void set(CallStatus value) {
+ callStatus_ = value;
+ PropertyChanged(this, ref new PropertyChangedEventArgs("_callStatus"));
+ }
+ }
protected:
void NotifyPropertyChanged(String^ propertyName);
private:
- Call^ call_;
Visibility hovered_ = Visibility::Collapsed;
+ CallStatus callStatus_;
+ String^ callId_;
+ void OncallPlaced(Platform::String ^callId);
};
}
}