/* * SPDX-FileCopyrightText: 2018 Bruce Cowan <bruce@bcowan.me.uk> * * SPDX-License-Identifier: LGPL-3.0-or-later */ #pragma once #include <glib-object.h> G_BEGIN_DECLS #define RUGBY_TYPE_LIST_STORE (rugby_list_store_get_type()) G_DECLARE_FINAL_TYPE (RugbyListStore, rugby_list_store, RUGBY, LIST_STORE, GObject) RugbyListStore * rugby_list_store_new (void); unsigned rugby_list_store_get_score (RugbyListStore *self); void rugby_list_store_set_score (RugbyListStore *self, unsigned score); G_END_DECLS