2 * dv1394app.h -- GTK+ 2 dv1394d client demo
3 * Copyright (C) 2002-2003 Charles Yates <charles.yates@pandora.be>
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software Foundation,
17 * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
24 #include <valerie/valerie.h>
26 typedef struct page_t
*page
;
32 valerie_parser parser
;
35 GtkWidget
*page_buttons
[ 10 ];
39 // TODO: This comes out later
40 GtkWidget
*buttons
[ 12 ];
48 *dv1394app
, dv1394app_t
;
50 extern dv1394app
dv1394app_init( GtkWidget
*, char * );
51 extern GtkWidget
*dv1394app_get_widget( dv1394app
);
52 extern valerie_parser
dv1394app_get_parser( dv1394app
);
53 extern valerie
dv1394app_get_command( dv1394app
);
54 extern void dv1394app_connect( dv1394app
);
55 extern void dv1394app_on_unit_change( dv1394app
, int );
56 extern int dv1394app_get_selected_unit( dv1394app
);
57 extern void dv1394app_show_status( dv1394app
, valerie_status
);
58 extern void dv1394app_disconnect( dv1394app
);
59 extern void dv1394app_close( dv1394app
);