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/>.
25
#define HUD_TYPE_JULIUS (hud_julius_get_type ())
26
#define HUD_JULIUS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), HUD_TYPE_JULIUS, HudJulius))
27
#define HUD_IS_JULIUS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), HUD_TYPE_JULIUS))
28
#define HUD_JULIUS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), HUD_TYPE_JULIUS, HudJuliusClass))
29
#define HUD_IS_JULIUS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), HUD_TYPE_JULIUS))
30
#define HUD_JULIUS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), HUD_TYPE_JULIUS, HudJuliusClass))
32
typedef struct _HudJulius HudJulius;
34
typedef struct _HudQueryIfaceComCanonicalHudQuery HudQueryIfaceComCanonicalHudQuery;
36
/* Default timeout in microseconds */
37
#define HUD_JULIUS_DEFAULT_TIMEOUT 10000000
39
/* used by HUD_TYPE_JULIUS */
40
GType hud_julius_get_type (void);
46
gboolean hud_julius_is_installed();
48
HudJulius * hud_julius_new(HudQueryIfaceComCanonicalHudQuery * skel);
50
#endif /* HUDJULIUS_H_ */