LCOV - code coverage report
Current view: top level - libmalcontent-ui - user-controls.h (source / functions) Hit Total Coverage
Test: unnamed Lines: 0 1 0.0 %
Date: 2020-12-09 07:02:21 Functions: 0 2 0.0 %
Branches: 0 6 0.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                 :            :  * This program is free software; you can redistribute it and/or modify
       6                 :            :  * it under the terms of the GNU General Public License as published by
       7                 :            :  * the Free Software Foundation; either version 2 of the License, or
       8                 :            :  * (at your option) any later version.
       9                 :            :  *
      10                 :            :  * This program is distributed in the hope that it will be useful,
      11                 :            :  * but WITHOUT ANY WARRANTY; without even the implied warranty of
      12                 :            :  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
      13                 :            :  * GNU General Public License for more details.
      14                 :            :  *
      15                 :            :  * You should have received a copy of the GNU General Public License
      16                 :            :  * along with this program; if not, see <http://www.gnu.org/licenses/>.
      17                 :            :  *
      18                 :            :  * Authors:
      19                 :            :  *  - Georges Basile Stavracas Neto <georges.stavracas@gmail.com>
      20                 :            :  *  - Philip Withnall <withnall@endlessm.com>
      21                 :            :  */
      22                 :            : 
      23                 :            : #pragma once
      24                 :            : 
      25                 :            : #include <act/act.h>
      26                 :            : #include <gio/gio.h>
      27                 :            : #include <glib.h>
      28                 :            : #include <glib-object.h>
      29                 :            : #include <gtk/gtk.h>
      30                 :            : #include <libmalcontent/malcontent.h>
      31                 :            : 
      32                 :            : 
      33                 :            : G_BEGIN_DECLS
      34                 :            : 
      35                 :            : #define MCT_TYPE_USER_CONTROLS (mct_user_controls_get_type())
      36   [ #  #  #  #  :          0 : G_DECLARE_FINAL_TYPE (MctUserControls, mct_user_controls, MCT, USER_CONTROLS, GtkGrid)
                   #  # ]
      37                 :            : 
      38                 :            : ActUser *mct_user_controls_get_user (MctUserControls *self);
      39                 :            : void     mct_user_controls_set_user (MctUserControls *self,
      40                 :            :                                      ActUser         *user);
      41                 :            : 
      42                 :            : GPermission *mct_user_controls_get_permission (MctUserControls *self);
      43                 :            : void         mct_user_controls_set_permission (MctUserControls *self,
      44                 :            :                                                GPermission     *permission);
      45                 :            : 
      46                 :            : MctAppFilter *mct_user_controls_get_app_filter (MctUserControls *self);
      47                 :            : void          mct_user_controls_set_app_filter (MctUserControls *self,
      48                 :            :                                                 MctAppFilter    *app_filter);
      49                 :            : 
      50                 :            : ActUserAccountType mct_user_controls_get_user_account_type (MctUserControls    *self);
      51                 :            : void               mct_user_controls_set_user_account_type (MctUserControls    *self,
      52                 :            :                                                             ActUserAccountType  user_account_type);
      53                 :            : 
      54                 :            : const gchar *mct_user_controls_get_user_locale (MctUserControls *self);
      55                 :            : void         mct_user_controls_set_user_locale (MctUserControls *self,
      56                 :            :                                                 const gchar     *user_locale);
      57                 :            : 
      58                 :            : const gchar *mct_user_controls_get_user_display_name (MctUserControls *self);
      59                 :            : void         mct_user_controls_set_user_display_name (MctUserControls *self,
      60                 :            :                                                       const gchar     *user_display_name);
      61                 :            : 
      62                 :            : void mct_user_controls_build_app_filter (MctUserControls     *self,
      63                 :            :                                          MctAppFilterBuilder *builder);
      64                 :            : 
      65                 :            : G_END_DECLS

Generated by: LCOV version 1.14