1234567891011121314151617181920212223242526272829303132333435 |
- using System;
- namespace InABox.Mobile
- {
-
-
- public class TransportConnectedEventArgs : EventArgs
- {
-
- }
-
- public delegate void TransportConnectedEvent(TransportConnectedEventArgs args);
-
- public class TransportDisconnectedEventArgs : EventArgs
- {
-
- }
-
- public delegate void BackgroundUpdateStatusEvent(object sender, EventArgs args);
-
- public delegate void TransportDisconnectedEvent(TransportDisconnectedEventArgs args);
-
- public interface IModelHost
- {
- bool IsConnected();
-
- event TransportDisconnectedEvent TransportDisconnected;
-
- event TransportConnectedEvent TransportConnected;
-
- bool IsBackgroundUpdateStatusActive { get; }
-
- event BackgroundUpdateStatusEvent BackgroundUpdateStatusChanged;
- }
- }
|