// SPDX-FileCopyrightText: © 2024 Miró Allard <miro.allard@pm.me>
// SPDX-License-Identifier: LicenseRef-ZrythmLicense

/* -*- Mode: C; indent-tabs-mode: nil; c-basic-offset: 2 -*- */

/*
 * This file incorporates work covered by the following copyright and
 * permission notice:
 *
 * ---
 *
 * cc-list-row-info-button.h
 *
 * Copyright 2023 Red Hat Inc
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program 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 General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *
 * Author(s):
 *   Felipe Borges <felipeborges@gnome.org>
 *
 *
 * SPDX-License-Identifier: GPL-3.0-or-later
 */

#pragma once

#include <gtk/gtk.h>

G_BEGIN_DECLS

#define CC_TYPE_LIST_ROW_INFO_BUTTON (cc_list_row_info_button_get_type ())
G_DECLARE_FINAL_TYPE (
  CcListRowInfoButton,
  cc_list_row_info_button,
  CC,
  LIST_ROW_INFO_BUTTON,
  GtkWidget)

void
cc_list_row_info_button_set_text (CcListRowInfoButton * self, const gchar * text);

void
cc_list_row_info_button_set_text_callback (
  CcListRowInfoButton * self,
  GCallback             callback);

G_END_DECLS
