Line |
Branch |
Exec |
Source |
1 |
|
|
/* |
2 |
|
|
* Copyright (c) 2010 Intel, Inc. |
3 |
|
|
* |
4 |
|
|
* The Control Center is free software; you can redistribute it and/or modify |
5 |
|
|
* it under the terms of the GNU General Public License as published by the |
6 |
|
|
* Free Software Foundation; either version 2 of the License, or (at your |
7 |
|
|
* option) any later version. |
8 |
|
|
* |
9 |
|
|
* The Control Center is distributed in the hope that it will be useful, but |
10 |
|
|
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY |
11 |
|
|
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
12 |
|
|
* for more details. |
13 |
|
|
* |
14 |
|
|
* You should have received a copy of the GNU General Public License along |
15 |
|
|
* with the Control Center; if not, write to the Free Software Foundation, |
16 |
|
|
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
17 |
|
|
* |
18 |
|
|
* Author: Thomas Wood <thos@gnome.org> |
19 |
|
|
*/ |
20 |
|
|
|
21 |
|
|
#pragma once |
22 |
|
|
|
23 |
|
|
#include <adwaita.h> |
24 |
|
|
#include "cc-shell.h" |
25 |
|
|
#include "cc-shell-model.h" |
26 |
|
|
|
27 |
|
|
G_BEGIN_DECLS |
28 |
|
|
|
29 |
|
|
#define CC_TYPE_WINDOW (cc_window_get_type ()) |
30 |
|
|
|
31 |
|
✗ |
G_DECLARE_FINAL_TYPE (CcWindow, cc_window, CC, WINDOW, AdwApplicationWindow) |
32 |
|
|
|
33 |
|
|
CcWindow *cc_window_new (GtkApplication *application, |
34 |
|
|
CcShellModel *model); |
35 |
|
|
|
36 |
|
|
void cc_window_set_search_item (CcWindow *center, |
37 |
|
|
const char *search); |
38 |
|
|
|
39 |
|
|
G_END_DECLS |
40 |
|
|
|