LCOV - code coverage report
Current view: top level - libmalcontent-ui - restrict-applications-dialog.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 © 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                 :            :  *  - Philip Withnall <withnall@endlessm.com>
      20                 :            :  */
      21                 :            : 
      22                 :            : #pragma once
      23                 :            : 
      24                 :            : #include <glib.h>
      25                 :            : #include <glib-object.h>
      26                 :            : #include <gtk/gtk.h>
      27                 :            : #include <libmalcontent/manager.h>
      28                 :            : 
      29                 :            : 
      30                 :            : G_BEGIN_DECLS
      31                 :            : 
      32                 :            : #define MCT_TYPE_RESTRICT_APPLICATIONS_DIALOG (mct_restrict_applications_dialog_get_type ())
      33   [ #  #  #  #  :          0 : G_DECLARE_FINAL_TYPE (MctRestrictApplicationsDialog, mct_restrict_applications_dialog, MCT, RESTRICT_APPLICATIONS_DIALOG, GtkDialog)
                   #  # ]
      34                 :            : 
      35                 :            : MctRestrictApplicationsDialog *mct_restrict_applications_dialog_new (MctAppFilter *app_filter,
      36                 :            :                                                                      const gchar  *user_display_name);
      37                 :            : 
      38                 :            : MctAppFilter *mct_restrict_applications_dialog_get_app_filter (MctRestrictApplicationsDialog *self);
      39                 :            : void          mct_restrict_applications_dialog_set_app_filter (MctRestrictApplicationsDialog *self,
      40                 :            :                                                                MctAppFilter                  *app_filter);
      41                 :            : 
      42                 :            : const gchar *mct_restrict_applications_dialog_get_user_display_name (MctRestrictApplicationsDialog *self);
      43                 :            : void         mct_restrict_applications_dialog_set_user_display_name (MctRestrictApplicationsDialog *self,
      44                 :            :                                                                      const gchar                   *user_display_name);
      45                 :            : 
      46                 :            : void mct_restrict_applications_dialog_build_app_filter (MctRestrictApplicationsDialog *self,
      47                 :            :                                                         MctAppFilterBuilder           *builder);
      48                 :            : 
      49                 :            : G_END_DECLS

Generated by: LCOV version 1.14