LCOV - code coverage report
Current view: top level - libmalcontent-ui - user-controls.h (source / functions) Coverage Total Hit
Test: 2 coverage DB files Lines: 0.0 % 1 0
Test Date: 2025-04-24 23:46:12 Functions: 0.0 % 2 0
Branches: 0.0 % 6 0

             Branch data     Line data    Source code
       1                 :             : /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
       2                 :             :  *
       3                 :             :  * Copyright © 2018, 2019, 2020 Endless Mobile, Inc.
       4                 :             :  *
       5                 :             :  * SPDX-License-Identifier: GPL-2.0-or-later
       6                 :             :  *
       7                 :             :  * This program is free software; you can redistribute it and/or modify
       8                 :             :  * it under the terms of the GNU General Public License as published by
       9                 :             :  * the Free Software Foundation; either version 2 of the License, or
      10                 :             :  * (at your option) any later version.
      11                 :             :  *
      12                 :             :  * This program is distributed in the hope that it will be useful,
      13                 :             :  * but WITHOUT ANY WARRANTY; without even the implied warranty of
      14                 :             :  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
      15                 :             :  * GNU General Public License for more details.
      16                 :             :  *
      17                 :             :  * You should have received a copy of the GNU General Public License
      18                 :             :  * along with this program; if not, see <http://www.gnu.org/licenses/>.
      19                 :             :  *
      20                 :             :  * Authors:
      21                 :             :  *  - Georges Basile Stavracas Neto <georges.stavracas@gmail.com>
      22                 :             :  *  - Philip Withnall <withnall@endlessm.com>
      23                 :             :  */
      24                 :             : 
      25                 :             : #pragma once
      26                 :             : 
      27                 :             : #include <act/act.h>
      28                 :             : #include <gio/gio.h>
      29                 :             : #include <glib.h>
      30                 :             : #include <glib-object.h>
      31                 :             : #include <gtk/gtk.h>
      32                 :             : #include <adwaita.h>
      33                 :             : #include <libmalcontent/malcontent.h>
      34                 :             : 
      35                 :             : 
      36                 :             : G_BEGIN_DECLS
      37                 :             : 
      38                 :             : #define MCT_TYPE_USER_CONTROLS (mct_user_controls_get_type())
      39   [ #  #  #  #  :           0 : G_DECLARE_FINAL_TYPE (MctUserControls, mct_user_controls, MCT, USER_CONTROLS, AdwBin)
                   #  # ]
      40                 :             : 
      41                 :             : ActUser *mct_user_controls_get_user (MctUserControls *self);
      42                 :             : void     mct_user_controls_set_user (MctUserControls *self,
      43                 :             :                                      ActUser         *user);
      44                 :             : 
      45                 :             : GPermission *mct_user_controls_get_permission (MctUserControls *self);
      46                 :             : void         mct_user_controls_set_permission (MctUserControls *self,
      47                 :             :                                                GPermission     *permission);
      48                 :             : 
      49                 :             : MctAppFilter *mct_user_controls_get_app_filter (MctUserControls *self);
      50                 :             : void          mct_user_controls_set_app_filter (MctUserControls *self,
      51                 :             :                                                 MctAppFilter    *app_filter);
      52                 :             : 
      53                 :             : ActUserAccountType mct_user_controls_get_user_account_type (MctUserControls    *self);
      54                 :             : void               mct_user_controls_set_user_account_type (MctUserControls    *self,
      55                 :             :                                                             ActUserAccountType  user_account_type);
      56                 :             : 
      57                 :             : const gchar *mct_user_controls_get_user_locale (MctUserControls *self);
      58                 :             : void         mct_user_controls_set_user_locale (MctUserControls *self,
      59                 :             :                                                 const gchar     *user_locale);
      60                 :             : 
      61                 :             : const gchar *mct_user_controls_get_user_display_name (MctUserControls *self);
      62                 :             : void         mct_user_controls_set_user_display_name (MctUserControls *self,
      63                 :             :                                                       const gchar     *user_display_name);
      64                 :             : 
      65                 :             : void mct_user_controls_set_description (MctUserControls *self,
      66                 :             :                                         const gchar     *description);
      67                 :             : 
      68                 :             : void mct_user_controls_build_app_filter (MctUserControls     *self,
      69                 :             :                                          MctAppFilterBuilder *builder);
      70                 :             : 
      71                 :             : G_END_DECLS
        

Generated by: LCOV version 2.0-1