Files
federated-calendar/src/gcal-shell-search-provider.h
T
Erick Pérez Castellanos f3e97aa3bd shell-search: initial impl of get_search_result and get_result_metas
This code is missing the handling of :activate-result and :launch-search
We are not ranking and sorting the results yet, that need a bit more of tinkering
2015-02-06 09:21:34 -05:00

52 lines
2.2 KiB
C

/* gcal-shell-search-provider.h
*
* Copyright (C) 2015 Erick Pérez Castellanos <erick.red@gmail.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef GCAL_SHELL_SEARCH_PROVIDER_H
#define GCAL_SHELL_SEARCH_PROVIDER_H
#include <glib-object.h>
#include <gio/gio.h>
#include "gcal-manager.h"
G_BEGIN_DECLS
#define GCAL_TYPE_SHELL_SEARCH_PROVIDER (gcal_shell_search_provider_get_type())
G_DECLARE_FINAL_TYPE (GcalShellSearchProvider, gcal_shell_search_provider, GCAL, SHELL_SEARCH_PROVIDER, GObject)
struct _GcalShellSearchProviderClass
{
GObjectClass parent;
};
GcalShellSearchProvider *gcal_shell_search_provider_new (void);
gboolean gcal_shell_search_provider_dbus_export (GcalShellSearchProvider *search_provider,
GDBusConnection *connection,
const gchar *object_path,
GError **error);
void gcal_shell_search_provider_dbus_unexport (GcalShellSearchProvider *search_provider,
GDBusConnection *connection,
const gchar *object_path);
void gcal_shell_search_provider_connect (GcalShellSearchProvider *search_provider,
GcalManager *manager);
G_END_DECLS
#endif /* GCAL_SHELL_SEARCH_PROVIDER_H */