/**
 * fSpy
 * Copyright (c) 2020 - Per Gantelius
 *
 * This program 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.
 *
 * This program 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 this program.  If not, see <http://www.gnu.org/licenses/>.
 */ import { ExportType } from '../main/ipc-messages' ; export class SpecifyProjectPathMessage { static readonly type = 'SpecifyProjectPathMessage' ; } export class SpecifyExportPathMessage { static readonly type = 'SpecifyExportPathMessage' ; readonly data : any ; readonly exportType : ExportType ; constructor ( exportType , data ) { this . exportType = exportType ; this . data = data ; } } export class OpenDroppedProjectMessage { static readonly type = 'OpenDroppedProjectMessage' ; readonly filePath : string ; constructor ( filePath ) { this . filePath = filePath ; } } export class SetDocumentStateMessage { static readonly type = 'SetDocumentStateMessage' ; readonly hasUnsavedChanges : boolean | undefined ; readonly filePath : string | null | undefined ; readonly isExampleProject : boolean | undefined ; constructor ( hasUnsavedChanges , filePath , isExampleProject ) { this . hasUnsavedChanges = hasUnsavedChanges ; this . filePath = filePath ; this . isExampleProject = isExampleProject ; } }