LCOV - code coverage report
Current view: top level - malcontent-control - carousel.h (source / functions) Coverage Total Hit
Test: 2 coverage DB files Lines: 0.0 % 2 0
Test Date: 2025-04-24 23:46:12 Functions: 0.0 % 4 0
Branches: 0.0 % 12 0

             Branch data     Line data    Source code
       1                 :             : /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
       2                 :             :  *
       3                 :             :  * Copyright © 2016 Red Hat, Inc.
       4                 :             :  * Copyright © 2019 Endless Mobile, Inc.
       5                 :             :  *
       6                 :             :  * SPDX-License-Identifier: GPL-2.0-or-later
       7                 :             :  *
       8                 :             :  * This program is free software; you can redistribute it and/or modify
       9                 :             :  * it under the terms of the GNU General Public License as published by
      10                 :             :  * the Free Software Foundation; either version 2 of the License, or
      11                 :             :  * (at your option) any later version.
      12                 :             :  *
      13                 :             :  * This program is distributed in the hope that it will be useful,
      14                 :             :  * but WITHOUT ANY WARRANTY; without even the implied warranty of
      15                 :             :  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
      16                 :             :  * GNU General Public License for more details.
      17                 :             :  *
      18                 :             :  * You should have received a copy of the GNU General Public License
      19                 :             :  * along with this program; if not, see <http://www.gnu.org/licenses/>.
      20                 :             :  *
      21                 :             :  * Authors:
      22                 :             :  *  - Felipe Borges <felipeborges@gnome.org>
      23                 :             :  *  - Georges Basile Stavracas Neto <georges@endlessos.org>
      24                 :             :  *  - Philip Withnall <withnall@endlessm.com>
      25                 :             :  */
      26                 :             : 
      27                 :             : #pragma once
      28                 :             : 
      29                 :             : #include <adwaita.h>
      30                 :             : 
      31                 :             : 
      32                 :             : G_BEGIN_DECLS
      33                 :             : 
      34                 :             : #define MCT_TYPE_CAROUSEL_ITEM (mct_carousel_item_get_type ())
      35   [ #  #  #  #  :           0 : G_DECLARE_FINAL_TYPE (MctCarouselItem, mct_carousel_item, MCT, CAROUSEL_ITEM, GtkButton)
                   #  # ]
      36                 :             : 
      37                 :             : #define MCT_TYPE_CAROUSEL (mct_carousel_get_type ())
      38   [ #  #  #  #  :           0 : G_DECLARE_FINAL_TYPE (MctCarousel, mct_carousel, MCT, CAROUSEL, AdwBin)
                   #  # ]
      39                 :             : 
      40                 :             : GtkWidget       *mct_carousel_item_new       (void);
      41                 :             : 
      42                 :             : void             mct_carousel_item_set_child (MctCarouselItem *self,
      43                 :             :                                               GtkWidget       *child);
      44                 :             : 
      45                 :             : MctCarousel     *mct_carousel_new            (void);
      46                 :             : 
      47                 :             : void             mct_carousel_purge_items    (MctCarousel     *self);
      48                 :             : 
      49                 :             : MctCarouselItem *mct_carousel_find_item      (MctCarousel     *self,
      50                 :             :                                               gconstpointer   data,
      51                 :             :                                               GCompareFunc    func);
      52                 :             : 
      53                 :             : void             mct_carousel_select_item    (MctCarousel     *self,
      54                 :             :                                               MctCarouselItem *item);
      55                 :             : 
      56                 :             : guint            mct_carousel_get_item_count (MctCarousel  *self);
      57                 :             : 
      58                 :             : void             mct_carousel_add            (MctCarousel     *self,
      59                 :             :                                               MctCarouselItem *item);
      60                 :             : 
      61                 :             : void             mct_carousel_set_revealed   (MctCarousel     *self,
      62                 :             :                                               gboolean         revealed);
      63                 :             : 
      64                 :             : G_END_DECLS
        

Generated by: LCOV version 2.0-1