using System.IO;
<<<<<<< HEAD
=======
using WolvenKit.App.ViewModels;
>>>>>>> master
using WolvenKit.CR2W;

namespace WolvenKit
{
    public class LoadFileArgs
    {
        public string Filename { get; set; }
        public MemoryStream Stream { get; set; }
<<<<<<< HEAD
        public frmCR2WDocument Doc { get; set; }
        public bool SuppressErrors { get; set; }
        public LoadFileArgs(string filename, frmCR2WDocument doc, MemoryStream stream = null, bool suppressErrors = false)
        {
            Filename = filename;
            Doc = doc;
=======
        public DocumentViewModel ViewModel { get; set; }
        public bool SuppressErrors { get; set; }
        public LoadFileArgs(string filename, DocumentViewModel viewmodel, MemoryStream stream = null, bool suppressErrors = false)
        {
            Filename = filename;
            ViewModel = viewmodel;
>>>>>>> master
            if (stream != null)
                Stream = stream;
            SuppressErrors = suppressErrors;
        }
    }
}