~ubuntu-branches/ubuntu/saucy/hud/saucy-proposed

« back to all changes in this revision

Viewing changes to src/hudsphinx.h

  • Committer: Package Import Robot
  • Author(s): Ubuntu daily release
  • Date: 2013-06-05 12:33:44 UTC
  • mto: This revision was merged to the branch mainline in revision 5.
  • Revision ID: package-import@ubuntu.com-20130605123344-cpp4to647tyfv7kr
Tags: upstream-13.10.1daily13.06.05.1
Import upstream version 13.10.1daily13.06.05.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright © 2012 Canonical Ltd.
 
3
 *
 
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.
 
7
 *
 
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.
 
12
 *
 
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/>.
 
15
 */
 
16
 
 
17
#ifndef HUDSPHINX_H_
 
18
#define HUDSPHINX_H_
 
19
 
 
20
#include <glib-object.h>
 
21
 
 
22
/*
 
23
 * Type macros.
 
24
 */
 
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))
 
31
 
 
32
typedef struct _HudSphinx        HudSphinx;
 
33
 
 
34
typedef struct _HudQueryIfaceComCanonicalHudQuery HudQueryIfaceComCanonicalHudQuery;
 
35
typedef struct _HudSource         HudSource;
 
36
 
 
37
/* used by HUD_TYPE_SPHINX */
 
38
GType hud_sphinx_get_type (void);
 
39
 
 
40
/*
 
41
 * Method definitions.
 
42
 */
 
43
 
 
44
HudSphinx * hud_sphinx_new (HudQueryIfaceComCanonicalHudQuery *skel,
 
45
    const gchar *device, GError **error);
 
46
 
 
47
#endif /* HUDSPHINX_H_ */