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

« back to all changes in this revision

Viewing changes to src/hudjulius.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 HUDJULIUS_H_
 
18
#define HUDJULIUS_H_
 
19
 
 
20
#include <hudvoice.h>
 
21
 
 
22
/*
 
23
 * Type macros.
 
24
 */
 
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))
 
31
 
 
32
typedef struct _HudJulius        HudJulius;
 
33
 
 
34
typedef struct _HudQueryIfaceComCanonicalHudQuery HudQueryIfaceComCanonicalHudQuery;
 
35
 
 
36
/* Default timeout in microseconds */
 
37
#define HUD_JULIUS_DEFAULT_TIMEOUT 10000000
 
38
 
 
39
/* used by HUD_TYPE_JULIUS */
 
40
GType hud_julius_get_type (void);
 
41
 
 
42
/*
 
43
 * Method definitions.
 
44
 */
 
45
 
 
46
gboolean hud_julius_is_installed();
 
47
 
 
48
HudJulius * hud_julius_new(HudQueryIfaceComCanonicalHudQuery * skel);
 
49
 
 
50
#endif /* HUDJULIUS_H_ */