aboutsummaryrefslogtreecommitdiff
path: root/Captura/Data
diff options
context:
space:
mode:
authorRuben Beltran del Rio <git@r.bdr.sh>2024-09-14 20:36:36 +0200
committerRuben Beltran del Rio <git@r.bdr.sh>2024-09-14 20:36:36 +0200
commit5802c153cae64142d84e3cd5f762939501ee7e53 (patch)
tree9028d364377a38068992eb501c27ef93bf49daa3 /Captura/Data
parent9be247c36cb15153de2cbafe7e1c53209182f29e (diff)
Add license and contributing
Diffstat (limited to 'Captura/Data')
-rw-r--r--Captura/Data/BackendResponse.swift16
-rw-r--r--Captura/Data/CapturaFile.swift16
-rw-r--r--Captura/Data/CapturaRemoteFile+name.swift17
-rw-r--r--Captura/Data/CapturaSettings.swift16
-rw-r--r--Captura/Data/CapturaURLDecoder.swift17
-rw-r--r--Captura/Data/GifRenderer.swift16
-rw-r--r--Captura/Data/OutputFormatSetting.swift16
-rw-r--r--Captura/Data/Persistence.swift16
8 files changed, 129 insertions, 1 deletions
diff --git a/Captura/Data/BackendResponse.swift b/Captura/Data/BackendResponse.swift
index 25c1988..f4316de 100644
--- a/Captura/Data/BackendResponse.swift
+++ b/Captura/Data/BackendResponse.swift
@@ -1,3 +1,19 @@
+/*
+ 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://captura.tranquil.systems.
+ */
import Foundation
struct BackendResponse: Decodable {
let url: URL
diff --git a/Captura/Data/CapturaFile.swift b/Captura/Data/CapturaFile.swift
index 4af71dc..798c510 100644
--- a/Captura/Data/CapturaFile.swift
+++ b/Captura/Data/CapturaFile.swift
@@ -1,3 +1,19 @@
+/*
+ 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://captura.tranquil.systems.
+ */
import Foundation
struct CapturaFile {
diff --git a/Captura/Data/CapturaRemoteFile+name.swift b/Captura/Data/CapturaRemoteFile+name.swift
index feebdba..1e07257 100644
--- a/Captura/Data/CapturaRemoteFile+name.swift
+++ b/Captura/Data/CapturaRemoteFile+name.swift
@@ -1,4 +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://captura.tranquil.systems.
+ */
import Foundation
+
extension CapturaRemoteFile {
var name: String {
let dateFormatter = DateFormatter()
diff --git a/Captura/Data/CapturaSettings.swift b/Captura/Data/CapturaSettings.swift
index 578d17c..c8af096 100644
--- a/Captura/Data/CapturaSettings.swift
+++ b/Captura/Data/CapturaSettings.swift
@@ -1,3 +1,19 @@
+/*
+ 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://captura.tranquil.systems.
+ */
import Foundation
struct CapturaSettings {
diff --git a/Captura/Data/CapturaURLDecoder.swift b/Captura/Data/CapturaURLDecoder.swift
index f4c325b..cbb8a05 100644
--- a/Captura/Data/CapturaURLDecoder.swift
+++ b/Captura/Data/CapturaURLDecoder.swift
@@ -1,5 +1,20 @@
-import Foundation
+/*
+ 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://captura.tranquil.systems.
+ */
+import Foundation
protocol ConfigureActionProtocol {
var action: String { get }
diff --git a/Captura/Data/GifRenderer.swift b/Captura/Data/GifRenderer.swift
index 208d7db..bfbb289 100644
--- a/Captura/Data/GifRenderer.swift
+++ b/Captura/Data/GifRenderer.swift
@@ -1,3 +1,19 @@
+/*
+ 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://captura.tranquil.systems.
+ */
import UniformTypeIdentifiers
import SwiftUI
import CoreGraphics
diff --git a/Captura/Data/OutputFormatSetting.swift b/Captura/Data/OutputFormatSetting.swift
index 211a08e..fd48f2f 100644
--- a/Captura/Data/OutputFormatSetting.swift
+++ b/Captura/Data/OutputFormatSetting.swift
@@ -1,3 +1,19 @@
+/*
+ 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://captura.tranquil.systems.
+ */
import Foundation
enum OutputFormatSetting: Int {
diff --git a/Captura/Data/Persistence.swift b/Captura/Data/Persistence.swift
index 4490e38..3ae66c3 100644
--- a/Captura/Data/Persistence.swift
+++ b/Captura/Data/Persistence.swift
@@ -1,3 +1,19 @@
+/*
+ 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://captura.tranquil.systems.
+ */
import CoreData
struct PersistenceController {