GCC Code Coverage Report


Directory: ./
File: search-provider/cc-search-provider.h
Date: 2024-05-04 07:58:27
Exec Total Coverage
Lines: 0 1 0.0%
Functions: 0 1 0.0%
Branches: 0 0 -%

Line Branch Exec Source
1 /*
2 * Copyright (c) 2012 Giovanni Campagna <scampa.giovanni@gmail.com>
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 */
19
20 #pragma once
21
22 #include <glib-object.h>
23 #include <gio/gio.h>
24 #include "cc-shell-search-provider-generated.h"
25 #include <shell/cc-shell-model.h>
26
27 G_BEGIN_DECLS
28
29 #define CC_TYPE_SEARCH_PROVIDER (cc_search_provider_get_type())
30
31 G_DECLARE_FINAL_TYPE (CcSearchProvider, cc_search_provider, CC, SEARCH_PROVIDER, GObject)
32
33 CcSearchProvider *cc_search_provider_new (void);
34
35 gboolean cc_search_provider_dbus_register (CcSearchProvider *provider,
36 GDBusConnection *connection,
37 const char *object_path,
38 GError **error);
39 void cc_search_provider_dbus_unregister (CcSearchProvider *provider,
40 GDBusConnection *connection,
41 const char *object_path);
42
43 G_END_DECLS
44