smartpanel : adds ui for ring accounts edition

Change-Id: Id773083f7266ea45593f80ea6ec595c90bf0b04c
Tuleap: #1243
diff --git a/Account.h b/Account.h
index 6f11812..e8d2dec 100644
--- a/Account.h
+++ b/Account.h
@@ -28,11 +28,20 @@
 public ref class Account sealed : public INotifyPropertyChanged

 {

 public:

-    Account(String^ name, String^ ringID, String^ accountType, String^ accountID, String^ deviceId);

+    Account(String^ name, String^ ringID, String^ accountType, String^ accountID, String^ deviceId, bool upnpState);

 

     virtual event PropertyChangedEventHandler^ PropertyChanged;

 

-    property String^ name_;

+    property String^ name_

+    {

+        String^ get() {

+            return name__;

+        }

+        void set(String^ value) {

+            name__ = value;

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

+        }

+    }

     property String^ ringID_;

     property String^ accountType_; // refacto : create a enum accountType

     property String^ accountID_;

@@ -44,13 +53,15 @@
         void set(Windows::Foundation::Collections::IVector<String^>^ value) {

             devicesIdList_ = value;

         }

-    }

+    };

+    property bool _upnpState;

 

 protected:

     void NotifyPropertyChanged(String^ propertyName);

 

 private:

     Windows::Foundation::Collections::IVector<String^>^ devicesIdList_;

+    String^ name__;

 

 };

 }