Branch data Line data Source code
1 : : // SPDX-License-Identifier: GPL-3.0-or-later 2 : : // SPDX-FileCopyrightText: Andy Holmes <andrew.g.r.holmes@gmail.com> 3 : : 4 : : #include "config.h" 5 : : 6 : : #include <libpeas/peas.h> 7 : : #include <valent.h> 8 : : 9 : : #include "valent-battery-gadget.h" 10 : : #include "valent-battery-plugin.h" 11 : : #include "valent-battery-preferences.h" 12 : : 13 : : 14 : : _VALENT_EXTERN void 15 : 3 : valent_battery_plugin_register_types (PeasObjectModule *module) 16 : : { 17 : 3 : peas_object_module_register_extension_type (module, 18 : : VALENT_TYPE_DEVICE_PLUGIN, 19 : : VALENT_TYPE_BATTERY_PLUGIN); 20 : 3 : peas_object_module_register_extension_type (module, 21 : : VALENT_TYPE_DEVICE_GADGET, 22 : : VALENT_TYPE_BATTERY_GADGET); 23 : 3 : peas_object_module_register_extension_type (module, 24 : : VALENT_TYPE_DEVICE_PREFERENCES_GROUP, 25 : : VALENT_TYPE_BATTERY_PREFERENCES); 26 : 3 : }