man1: Add input.txt
[quvi-tool.git] / src / setup.h
blob62e27b7394ac555e0628995c9f7b3a80f50be22a
1 /* quvi
2 * Copyright (C) 2012,2013 Toni Gundogdu <legatvs@gmail.com>
4 * This file is part of quvi <http://quvi.sourceforge.net/>.
6 * This program is free software: you can redistribute it and/or
7 * modify it under the terms of the GNU Affero General Public
8 * License as published by the Free Software Foundation, either
9 * version 3 of the License, or (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU Affero General Public License for more details.
16 * You should have received a copy of the GNU Affero General
17 * Public License along with this program. If not, see
18 * <http://www.gnu.org/licenses/>.
21 #ifndef setup_h
22 #define setup_h
24 struct setup_query_s
26 gboolean force_subtitle_mode;
27 lutil_cb_printerr xperr;
28 lutil_cb_printerr perr;
29 linput_t linput;
30 quvi_t q;
31 struct
33 lutil_query_properties_activity_cb playlist;
34 lutil_query_properties_activity_cb subtitle;
35 lutil_query_properties_activity_cb media;
36 } activity;
39 typedef struct setup_query_s *setup_query_t;
41 gint setup_opts(gint, gchar**, lopts_t);
42 gint setup_query(setup_query_t);
43 gint setup_quvi(quvi_t*);
45 #endif /* setup_h */
47 /* vim: set ts=2 sw=2 tw=72 expandtab: */