summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/osx/btop_collect.cpp1
-rw-r--r--src/osx/sensors.cpp18
-rw-r--r--src/osx/sensors.hpp17
-rw-r--r--src/osx/smc.cpp18
-rw-r--r--src/osx/smc.hpp18
5 files changed, 72 insertions, 0 deletions
diff --git a/src/osx/btop_collect.cpp b/src/osx/btop_collect.cpp
index f976a55..a9e4858 100644
--- a/src/osx/btop_collect.cpp
+++ b/src/osx/btop_collect.cpp
@@ -15,6 +15,7 @@
indent = tab
tab-size = 4
*/
+
#include <CoreFoundation/CoreFoundation.h>
#include <IOKit/IOKitLib.h>
#include <arpa/inet.h>
diff --git a/src/osx/sensors.cpp b/src/osx/sensors.cpp
index 56aca68..e1f5f0e 100644
--- a/src/osx/sensors.cpp
+++ b/src/osx/sensors.cpp
@@ -1,3 +1,21 @@
+/* Copyright 2021 Aristocratos (jakob@qvantnet.com)
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+indent = tab
+tab-size = 4
+*/
+
#include "sensors.hpp"
#include <CoreFoundation/CoreFoundation.h>
diff --git a/src/osx/sensors.hpp b/src/osx/sensors.hpp
index 48287ee..698fca6 100644
--- a/src/osx/sensors.hpp
+++ b/src/osx/sensors.hpp
@@ -1,3 +1,20 @@
+/* Copyright 2021 Aristocratos (jakob@qvantnet.com)
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+indent = tab
+tab-size = 4
+*/
namespace Cpu {
class ThermalSensors {
diff --git a/src/osx/smc.cpp b/src/osx/smc.cpp
index 7386dbf..8ec6cf8 100644
--- a/src/osx/smc.cpp
+++ b/src/osx/smc.cpp
@@ -1,3 +1,21 @@
+/* Copyright 2021 Aristocratos (jakob@qvantnet.com)
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+indent = tab
+tab-size = 4
+*/
+
#include "smc.hpp"
static UInt32 _strtoul(char *str, int size, int base) {
diff --git a/src/osx/smc.hpp b/src/osx/smc.hpp
index 6d65c9c..edd3551 100644
--- a/src/osx/smc.hpp
+++ b/src/osx/smc.hpp
@@ -1,3 +1,21 @@
+/* Copyright 2021 Aristocratos (jakob@qvantnet.com)
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+indent = tab
+tab-size = 4
+*/
+
#pragma once
#include <CoreFoundation/CoreFoundation.h>