From 452e91f7751642bc3e6c2b9e0c40c018ef6f2231 Mon Sep 17 00:00:00 2001 From: JaffaKetchup Date: Thu, 4 Jan 2024 14:01:44 +0000 Subject: [PATCH] Added mini copyright header to new files Removed bad import/export from main file --- lib/flutter_map_tile_caching.dart | 2 -- lib/src/backend/exports.dart | 3 +++ lib/src/backend/impls/objectbox/backend.dart | 3 +++ lib/src/backend/impls/objectbox/models/models.dart | 3 +++ lib/src/backend/impls/objectbox/worker.dart | 3 +++ lib/src/backend/interfaces/backend.dart | 3 +++ lib/src/backend/interfaces/models.dart | 3 +++ lib/src/backend/utils/errors.dart | 3 +++ 8 files changed, 21 insertions(+), 2 deletions(-) diff --git a/lib/flutter_map_tile_caching.dart b/lib/flutter_map_tile_caching.dart index f676e3fe..41253a59 100644 --- a/lib/flutter_map_tile_caching.dart +++ b/lib/flutter_map_tile_caching.dart @@ -38,7 +38,6 @@ import 'src/bulk_download/instance.dart'; import 'src/bulk_download/rate_limited_stream.dart'; import 'src/bulk_download/tile_loops/shared.dart'; import 'src/errors/browsing.dart'; -import 'src/errors/initialisation.dart'; import 'src/misc/exts.dart'; import 'src/misc/int_extremes.dart'; import 'src/misc/obscure_query_params.dart'; @@ -48,7 +47,6 @@ import 'src/providers/image_provider.dart'; export 'src/backend/exports.dart'; export 'src/errors/browsing.dart'; export 'src/errors/damaged_store.dart'; -export 'src/errors/initialisation.dart'; export 'src/misc/typedefs.dart'; part 'src/bulk_download/download_progress.dart'; diff --git a/lib/src/backend/exports.dart b/lib/src/backend/exports.dart index 26cfaf49..c92184e7 100644 --- a/lib/src/backend/exports.dart +++ b/lib/src/backend/exports.dart @@ -1,3 +1,6 @@ +// Copyright © Luka S (JaffaKetchup) under GPL-v3 +// A full license can be found at .\LICENSE + export 'impls/objectbox/backend.dart'; export 'interfaces/backend.dart'; export 'interfaces/models.dart'; diff --git a/lib/src/backend/impls/objectbox/backend.dart b/lib/src/backend/impls/objectbox/backend.dart index 970c9390..e745a6c2 100644 --- a/lib/src/backend/impls/objectbox/backend.dart +++ b/lib/src/backend/impls/objectbox/backend.dart @@ -1,3 +1,6 @@ +// Copyright © Luka S (JaffaKetchup) under GPL-v3 +// A full license can be found at .\LICENSE + import 'dart:async'; import 'dart:io'; import 'dart:isolate'; diff --git a/lib/src/backend/impls/objectbox/models/models.dart b/lib/src/backend/impls/objectbox/models/models.dart index 573e9d54..d7350f1b 100644 --- a/lib/src/backend/impls/objectbox/models/models.dart +++ b/lib/src/backend/impls/objectbox/models/models.dart @@ -1,3 +1,6 @@ +// Copyright © Luka S (JaffaKetchup) under GPL-v3 +// A full license can be found at .\LICENSE + import 'dart:typed_data'; import 'package:objectbox/objectbox.dart'; diff --git a/lib/src/backend/impls/objectbox/worker.dart b/lib/src/backend/impls/objectbox/worker.dart index dd76296f..b1143869 100644 --- a/lib/src/backend/impls/objectbox/worker.dart +++ b/lib/src/backend/impls/objectbox/worker.dart @@ -1,3 +1,6 @@ +// Copyright © Luka S (JaffaKetchup) under GPL-v3 +// A full license can be found at .\LICENSE + part of 'backend.dart'; enum _WorkerCmdType { diff --git a/lib/src/backend/interfaces/backend.dart b/lib/src/backend/interfaces/backend.dart index bae78c50..9d7fb130 100644 --- a/lib/src/backend/interfaces/backend.dart +++ b/lib/src/backend/interfaces/backend.dart @@ -1,3 +1,6 @@ +// Copyright © Luka S (JaffaKetchup) under GPL-v3 +// A full license can be found at .\LICENSE + import 'dart:async'; import 'dart:typed_data'; diff --git a/lib/src/backend/interfaces/models.dart b/lib/src/backend/interfaces/models.dart index bea5b33e..5ef55a5c 100644 --- a/lib/src/backend/interfaces/models.dart +++ b/lib/src/backend/interfaces/models.dart @@ -1,3 +1,6 @@ +// Copyright © Luka S (JaffaKetchup) under GPL-v3 +// A full license can be found at .\LICENSE + import 'dart:typed_data'; import 'package:meta/meta.dart'; diff --git a/lib/src/backend/utils/errors.dart b/lib/src/backend/utils/errors.dart index 620620b9..82c05b45 100644 --- a/lib/src/backend/utils/errors.dart +++ b/lib/src/backend/utils/errors.dart @@ -1,3 +1,6 @@ +// Copyright © Luka S (JaffaKetchup) under GPL-v3 +// A full license can be found at .\LICENSE + /// An error to be thrown by backend implementations in known events only /// /// A backend can create custom errors of this type, which is useful to show