diff options
Diffstat (limited to 'Map/Data')
| -rw-r--r-- | Map/Data/MapDocument.swift | 6 | ||||
| -rw-r--r-- | Map/Data/UTType+wmap.swift | 21 | ||||
| -rw-r--r-- | Map/Data/UserPreferencesJSON.swift | 0 |
3 files changed, 21 insertions, 6 deletions
diff --git a/Map/Data/MapDocument.swift b/Map/Data/MapDocument.swift index b9ed33f..3c19ca1 100644 --- a/Map/Data/MapDocument.swift +++ b/Map/Data/MapDocument.swift @@ -15,12 +15,6 @@ import SwiftUI import UniformTypeIdentifiers -extension UTType { - static var wmap: UTType { - UTType(importedAs: "systems.tranquil.map.wmap") - } -} - struct MapDocument: FileDocument { var text: String diff --git a/Map/Data/UTType+wmap.swift b/Map/Data/UTType+wmap.swift new file mode 100644 index 0000000..aa8b8fd --- /dev/null +++ b/Map/Data/UTType+wmap.swift @@ -0,0 +1,21 @@ +// Copyright (C) 2024 Rubén Beltrán del Río + +// 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 https://map.tranquil.systems. +import UniformTypeIdentifiers + +extension UTType { + static var wmap: UTType { + UTType(importedAs: "systems.tranquil.map.wmap") + } +} diff --git a/Map/Data/UserPreferencesJSON.swift b/Map/Data/UserPreferencesJSON.swift deleted file mode 100644 index e69de29..0000000 --- a/Map/Data/UserPreferencesJSON.swift +++ /dev/null |