diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/BluetoothNotificationHandler.hpp | 11 | ||||
-rw-r--r-- | include/tinyb_utils.hpp | 42 | ||||
-rw-r--r-- | include/version.h | 5 |
3 files changed, 0 insertions, 58 deletions
diff --git a/include/BluetoothNotificationHandler.hpp b/include/BluetoothNotificationHandler.hpp deleted file mode 100644 index 3acdb1d2..00000000 --- a/include/BluetoothNotificationHandler.hpp +++ /dev/null @@ -1,11 +0,0 @@ -#include <gio/gio.h> - -class tinyb::BluetoothNotificationHandler { - -public: - static void on_properties_changed_adapter(GDBusProxy *proxy, GVariant *changed_properties, GStrv invalidated_properties, gpointer userdata); - static void on_properties_changed_device(GDBusProxy *proxy, GVariant *changed_properties, GStrv invalidated_properties, gpointer userdata); - static void on_properties_changed_characteristic(GDBusProxy *proxy, GVariant *changed_properties, GStrv invalidated_properties, gpointer userdata); - static void on_properties_changed_descriptor(GDBusProxy *proxy, GVariant *changed_properties, GStrv invalidated_properties, gpointer userdata); - -}; diff --git a/include/tinyb_utils.hpp b/include/tinyb_utils.hpp deleted file mode 100644 index 2365cf6d..00000000 --- a/include/tinyb_utils.hpp +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Author: Andrei Vasiliu <[email protected]> - * Copyright (c) 2015 Intel Corporation. - * - * Permission is hereby granted, free of charge, to any person obtaining - * a copy of this software and associated documentation files (the - * "Software"), to deal in the Software without restriction, including - * without limitation the rights to use, copy, modify, merge, publish, - * distribute, sublicense, and/or sell copies of the Software, and to - * permit persons to whom the Software is furnished to do so, subject to - * the following conditions: - * - * The above copyright notice and this permission notice shall be - * included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE - * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION - * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION - * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - */ - -#pragma once - -#include "BluetoothObject.hpp" -#include "orgbluez-dbus.h" - -#include <cstring> -#include <vector> -#include <stdexcept> - -extern GDBusObjectManager *gdbus_manager; - -namespace tinyb { - std::vector<unsigned char> from_chars_to_vector(const gchar *chars); - std::vector<unsigned char> from_gbytes_to_vector(const GBytes *bytes); - GBytes *from_vector_to_gbytes(const std::vector<unsigned char>& array); - std::vector<unsigned char> from_iter_to_vector(GVariant *iter); - void handle_error(GError *error); -}; diff --git a/include/version.h b/include/version.h deleted file mode 100644 index 7a8a67c9..00000000 --- a/include/version.h +++ /dev/null @@ -1,5 +0,0 @@ -#pragma once - -extern const char* gVERSION; -extern const char* gVERSION_SHORT; -extern const char* gVERSION_API; |