Line |
Branch |
Exec |
Source |
1 |
|
|
/* |
2 |
|
|
* Copyright © 2019 Red Hat, Inc. |
3 |
|
|
* |
4 |
|
|
* This program is free software; you can redistribute it and/or |
5 |
|
|
* modify it under the terms of the GNU General Public License as |
6 |
|
|
* published by the Free Software Foundation; either version 2 of the |
7 |
|
|
* License, or (at your option) any later version. |
8 |
|
|
* |
9 |
|
|
* This program is distributed in the hope that it will be useful, but |
10 |
|
|
* WITHOUT ANY WARRANTY; without even the implied warranty of |
11 |
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
12 |
|
|
* General Public License for more details. |
13 |
|
|
* |
14 |
|
|
* You should have received a copy of the GNU General Public License |
15 |
|
|
* along with this program; if not, see <http://www.gnu.org/licenses/>. |
16 |
|
|
* |
17 |
|
|
* Author: Felipe Borges <felipeborges@gnome.org> |
18 |
|
|
*/ |
19 |
|
|
|
20 |
|
|
#pragma once |
21 |
|
|
|
22 |
|
|
#include <gio/gdesktopappinfo.h> |
23 |
|
|
#include <adwaita.h> |
24 |
|
|
|
25 |
|
|
G_BEGIN_DECLS |
26 |
|
|
|
27 |
|
|
#define CC_TYPE_SEARCH_PANEL_ROW (cc_search_panel_row_get_type()) |
28 |
|
|
|
29 |
|
✗ |
G_DECLARE_FINAL_TYPE (CcSearchPanelRow, cc_search_panel_row, CC, SEARCH_PANEL_ROW, AdwActionRow) |
30 |
|
|
|
31 |
|
|
|
32 |
|
|
CcSearchPanelRow *cc_search_panel_row_new (GAppInfo *app_info); |
33 |
|
|
|
34 |
|
|
GAppInfo *cc_search_panel_row_get_app_info (CcSearchPanelRow *row); |
35 |
|
|
|
36 |
|
|
GtkWidget *cc_search_panel_row_get_switch (CcSearchPanelRow *row); |
37 |
|
|
|
38 |
|
|
G_END_DECLS |
39 |
|
|
|