text message : add new contact to contacts list when
a message arrived from a new contact.

Change-Id: I82545d852c7d880e2ee1fd5bc479765091b6a830
Tuleap: #941
diff --git a/RingD.h b/RingD.h
index b610fc5..2ee7908 100644
--- a/RingD.h
+++ b/RingD.h
@@ -1,6 +1,7 @@
-/***************************************************************************

+/**************************************************************************

 * Copyright (C) 2016 by Savoir-faire Linux                                *

-* Author: Jäger Nicolas <nicolas.jager@savoirfairelinux.com>              *

+* Author: Jäger Nicolas <nicolas.jager@savoirfairelinux.com>              *

+* Author: Traczyk Andreas <traczyk.andreas@savoirfairelinux.com>          *

 *                                                                         *

 * 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    *

@@ -15,7 +16,6 @@
 * You should have received a copy of the GNU General Public License       *

 * along with this program.  If not, see <http://www.gnu.org/licenses/>.   *

 **************************************************************************/

-#pragma once

 

 using namespace concurrency;

 

@@ -25,6 +25,8 @@
 /* delegate */

 delegate void IncomingCall(String^ accountId, String^ callId, String^ from);

 delegate void StateChange(String^ callId, String^ state, int code);

+delegate void IncomingAccountMessage(String^ accountId, String^ from, String^ payload);

+

 

 public ref class RingD sealed

 {

@@ -61,6 +63,7 @@
     /* events */

     event IncomingCall^ incomingCall;

     event StateChange^ stateChange;

+    event IncomingAccountMessage^ incomingAccountMessage;

 

 private:

     /* sub classes */