using System.Collections.Generic;
using DTS.Common.Base;
namespace DTS.Common.Interface.Groups
{
///
/// controls parsing out channels from .GRP file, displaying results, and allowing selection of groups and renaming of groups
///
public interface IGroupImportPreviewView:IBaseView
{
///
/// validates currently selected groups, including channels and group names
///
/// any errors that were detected during validation. Errors indicate you can not continue
/// any warnings that were detected during validation. Warnings are not fatal and user can continue
/// if they want
///
/// true if all groups selected in preview are valid, false if there are invalid groups selected
bool Validate(bool userIsAdmin, out Listerrors, out List warnings);
}
}