2
* Copyright © 2012 Canonical Ltd.
4
* This program is free software: you can redistribute it and/or modify it
5
* under the terms of the GNU General Public License version 3, as
6
* published by the Free Software Foundation.
8
* This program is distributed in the hope that it will be useful, but
9
* WITHOUT ANY WARRANTY; without even the implied warranties of
10
* MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
11
* PURPOSE. See the GNU General Public License for more details.
13
* You should have received a copy of the GNU General Public License along
14
* with this program. If not, see <http://www.gnu.org/licenses/>.
20
#include <glib-object.h>
25
#define HUD_TYPE_SPHINX (hud_sphinx_get_type ())
26
#define HUD_SPHINX(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), HUD_TYPE_SPHINX, HudSphinx))
27
#define HUD_IS_SPHINX(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), HUD_TYPE_SPHINX))
28
#define HUD_SPHINX_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), HUD_TYPE_SPHINX, HudSphinxClass))
29
#define HUD_IS_SPHINX_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), HUD_TYPE_SPHINX))
30
#define HUD_SPHINX_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), HUD_TYPE_SPHINX, HudSphinxClass))
32
typedef struct _HudSphinx HudSphinx;
34
typedef struct _HudQueryIfaceComCanonicalHudQuery HudQueryIfaceComCanonicalHudQuery;
35
typedef struct _HudSource HudSource;
37
/* used by HUD_TYPE_SPHINX */
38
GType hud_sphinx_get_type (void);
44
HudSphinx * hud_sphinx_new (HudQueryIfaceComCanonicalHudQuery *skel,
45
const gchar *device, GError **error);
47
#endif /* HUDSPHINX_H_ */