Skip to content
Snippets Groups Projects
rugby-list-store.h 1.23 KiB
Newer Older
Bruce Cowan's avatar
Bruce Cowan committed
/* rugby-list-store.h
 *
 * Copyright 2018 Bruce Cowan <bruce@bcowan.eu>
 *
 * This file is free software; you can redistribute it and/or modify it
 * under the terms of the GNU Lesser General Public License as
 * published by the Free Software Foundation; either version 3 of the
 * License, or (at your option) any later version.
 *
 * This file 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
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *
 * 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)

Bruce Cowan's avatar
Bruce Cowan committed
RugbyListStore * rugby_list_store_new       (void);
Bruce Cowan's avatar
Bruce Cowan committed

Bruce Cowan's avatar
Bruce Cowan committed
guint            rugby_list_store_get_score (RugbyListStore *self);
void             rugby_list_store_set_score (RugbyListStore *self,
                                             guint           score);
Bruce Cowan's avatar
Bruce Cowan committed

G_END_DECLS