using System; using Unity.Cloud.Collaborate.Views; namespace Unity.Cloud.Collaborate.Presenters { internal interface IMainPresenter : IPresenter { /// /// Create the history presenter and wire it up to the history view. /// /// View to wire to. /// The created presenter. IHistoryPresenter AssignHistoryPresenter(IHistoryView view); /// /// Create the changes presenter and wire it up to the changes view. /// /// View to wire to. /// The created presenter. IChangesPresenter AssignChangesPresenter(IChangesView view); /// /// Request cancel current job. /// void RequestCancelJob(); /// /// Update value of current tab index. /// /// New tab index. void UpdateTabIndex(int index); /// /// Request a back navigation. /// void NavigateBack(); } }