summaryrefslogtreecommitdiff
path: root/lib/model/device
diff options
context:
space:
mode:
authoruvok2025-07-31 15:07:02 +0200
committeruvok2025-07-31 15:07:02 +0200
commit7cd3cb2d284c4c7b2e3831ec23a44b2d62d6d550 (patch)
treebb10084f7f0298de10610b3973d3cee1fcb60582 /lib/model/device
parent026d5e63a7f5a1137eceb987dcd3269348ac9ef5 (diff)
License note
Diffstat (limited to 'lib/model/device')
-rw-r--r--lib/model/device/device.dart15
-rw-r--r--lib/model/device/flutter_blue_plus_device.dart15
-rw-r--r--lib/model/device/mock_device.dart15
-rw-r--r--lib/model/device/universal_ble_device.dart15
4 files changed, 60 insertions, 0 deletions
diff --git a/lib/model/device/device.dart b/lib/model/device/device.dart
index 98445fa..1d9530b 100644
--- a/lib/model/device/device.dart
+++ b/lib/model/device/device.dart
@@ -1,3 +1,18 @@
+// Copyright (C) 2025, uvok cheetah
+//
+// 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://www.gnu.org/licenses/>.
+
/// Represents a (badge) device to be connected to.
abstract class Device {
String? get name;
diff --git a/lib/model/device/flutter_blue_plus_device.dart b/lib/model/device/flutter_blue_plus_device.dart
index e56223b..3f6102a 100644
--- a/lib/model/device/flutter_blue_plus_device.dart
+++ b/lib/model/device/flutter_blue_plus_device.dart
@@ -1,3 +1,18 @@
+// Copyright (C) 2025, uvok cheetah
+//
+// 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://www.gnu.org/licenses/>.
+
import 'package:uvok_epaper_badge/model/device/device.dart';
import 'package:flutter_blue_plus/flutter_blue_plus.dart';
import 'package:uvok_epaper_badge/utility.dart';
diff --git a/lib/model/device/mock_device.dart b/lib/model/device/mock_device.dart
index 78770e1..94a6a9c 100644
--- a/lib/model/device/mock_device.dart
+++ b/lib/model/device/mock_device.dart
@@ -1,3 +1,18 @@
+// Copyright (C) 2025, uvok cheetah
+//
+// 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://www.gnu.org/licenses/>.
+
import 'package:uvok_epaper_badge/model/device/device.dart';
class MockDevice implements Device {
diff --git a/lib/model/device/universal_ble_device.dart b/lib/model/device/universal_ble_device.dart
index cbd6f93..0b6953f 100644
--- a/lib/model/device/universal_ble_device.dart
+++ b/lib/model/device/universal_ble_device.dart
@@ -1,3 +1,18 @@
+// Copyright (C) 2025, uvok cheetah
+//
+// 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://www.gnu.org/licenses/>.
+
import 'package:universal_ble/universal_ble.dart';
import 'package:uvok_epaper_badge/model/device/device.dart';