diff options
Diffstat (limited to 'bindings/winrt/doubango_rt/include/rt_SipCallback.h')
-rwxr-xr-x | bindings/winrt/doubango_rt/include/rt_SipCallback.h | 82 |
1 files changed, 41 insertions, 41 deletions
diff --git a/bindings/winrt/doubango_rt/include/rt_SipCallback.h b/bindings/winrt/doubango_rt/include/rt_SipCallback.h index 1f0a9e0..ecd1d54 100755 --- a/bindings/winrt/doubango_rt/include/rt_SipCallback.h +++ b/bindings/winrt/doubango_rt/include/rt_SipCallback.h @@ -1,17 +1,17 @@ /*Copyright (C) 2013 Doubango Telecom <http://www.doubango.org> -* +* * This file is part of Open Source Doubango Framework. * * DOUBANGO 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 3 of the License, or * (at your option) any later version. -* +* * DOUBANGO 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 DOUBANGO. */ @@ -22,49 +22,49 @@ class SipCallbackProxy; namespace doubango_rt { - namespace BackEnd - { - ref class rtDialogEvent; - ref class rtStackEvent; +namespace BackEnd +{ +ref class rtDialogEvent; +ref class rtStackEvent; - ref class rtInviteEvent; - ref class rtMessagingEvent; - ref class rtInfoEvent; - ref class rtOptionsEvent; - ref class rtPublicationEvent; - ref class rtRegistrationEvent; - ref class rtSubscriptionEvent; +ref class rtInviteEvent; +ref class rtMessagingEvent; +ref class rtInfoEvent; +ref class rtOptionsEvent; +ref class rtPublicationEvent; +ref class rtRegistrationEvent; +ref class rtSubscriptionEvent; - public interface class rtISipCallback - { - virtual int OnDialogEvent(rtDialogEvent^ e); - virtual int OnStackEvent(rtStackEvent^ e); +public interface class rtISipCallback +{ + virtual int OnDialogEvent(rtDialogEvent^ e); + virtual int OnStackEvent(rtStackEvent^ e); + + virtual int OnInviteEvent(rtInviteEvent^ e); + virtual int OnMessagingEvent(rtMessagingEvent^ e); + virtual int OnInfoEvent(rtInfoEvent^ e); + virtual int OnOptionsEvent(rtOptionsEvent^ e); + virtual int OnPublicationEvent(rtPublicationEvent^ e); + virtual int OnRegistrationEvent(rtRegistrationEvent^ e); + virtual int OnSubscriptionEvent(rtSubscriptionEvent^ e); +}; - virtual int OnInviteEvent(rtInviteEvent^ e); - virtual int OnMessagingEvent(rtMessagingEvent^ e); - virtual int OnInfoEvent(rtInfoEvent^ e); - virtual int OnOptionsEvent(rtOptionsEvent^ e); - virtual int OnPublicationEvent(rtPublicationEvent^ e); - virtual int OnRegistrationEvent(rtRegistrationEvent^ e); - virtual int OnSubscriptionEvent(rtSubscriptionEvent^ e); - }; +public ref class rtSipCallback sealed +{ +internal: + rtSipCallback(rtISipCallback^ pI); +public: + virtual ~rtSipCallback(); + friend class SipCallbackProxy; - public ref class rtSipCallback sealed - { - internal: - rtSipCallback(rtISipCallback^ pI); - public: - virtual ~rtSipCallback(); - friend class SipCallbackProxy; - - internal: - const SipCallback* getWrappedCallback(); +internal: + const SipCallback* getWrappedCallback(); - private: - rtISipCallback^ m_pI; - SipCallbackProxy* m_pCallback; - }; - } +private: + rtISipCallback^ m_pI; + SipCallbackProxy* m_pCallback; +}; +} } |