~ubuntu-branches/ubuntu/jaunty/xvidcap/jaunty-proposed

« back to all changes in this revision

Viewing changes to src/control.h

  • Committer: Bazaar Package Importer
  • Author(s): John Dong
  • Date: 2008-02-25 15:47:12 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20080225154712-qvr11ekcea4c9ry8
Tags: 1.1.6-0.1ubuntu1
* Merge from debian-multimedia (LP: #120003), Ubuntu Changes:
 - For ffmpeg-related build-deps, remove cvs from package names.
 - Standards-Version 3.7.3
 - Maintainer Spec

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/**
 
2
 * \file control.h
 
3
 *
 
4
 * This file contains a number of general purpose functions which are
 
5
 * always needed regardless of the GUI implementation. They will be implemented
 
6
 * in one of the gnome_* files.
 
7
 */
 
8
 
1
9
/*
2
 
 * control.h
3
 
 *
4
 
 * Copyright (C) 1997 Rasca Gmelch, Berlin
5
 
 * Copyright (C) 2003,04 Karl H. Beckers, Frankfurt
 
10
 * Copyright (C) 2003-07 Karl H. Beckers, Frankfurt
 
11
 * EMail: khb@jarre-de-the.net
6
12
 *
7
13
 * This program is free software; you can redistribute it and/or modify
8
14
 * it under the terms of the GNU General Public License as published by
11
17
 *
12
18
 * This program is distributed in the hope that it will be useful,
13
19
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14
 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
20
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
21
 * GNU General Public License for more details.
16
22
 *
17
23
 * You should have received a copy of the GNU General Public License
18
24
 * along with this program; if not, write to the Free Software
19
25
 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20
26
 */
21
 
#include "app_data.h"
22
 
#include "job.h"
23
 
 
24
 
Boolean XVC_PreInit( int argc, char **argv, AppData *app );
25
 
Boolean XVC_CreateGUI ( AppData *app );
26
 
Boolean XVC_CreateFrame ( AppData *app );
27
 
Boolean XVC_InitGUI ( AppData *app );
28
 
int XVC_RunGUI (void);
29
 
 
30
 
void XVC_AddTimeout(int ms, void *, Job *job);
31
 
void XVC_ChangeGUILabel(int pic_no);
32
 
void XVC_ChangeFrame(int x, int y, int width, int height, Boolean reposition_control);
33
 
void XVC_StopCapture(Job *job);
34
 
void XVC_StartCapture(Job *job);
35
 
 
36
 
Boolean XVC_ReadOptionsFile( AppData *app );
37
 
Boolean XVC_WriteOptionsFile( Job *job );
38
 
void XVC_FrameMonitor(Job *job, int measured_time);
 
27
 
 
28
#ifndef __XVC_CONTROL_H__
 
29
#define __XVC_CONTROL_H__
 
30
 
 
31
#ifndef DOXYGEN_SHOULD_SKIP_THIS
 
32
#include <X11/Intrinsic.h>
 
33
#include "xv_error_item.h"
 
34
#endif     // DOXYGEN_SHOULD_SKIP_THIS
 
35
 
 
36
// the following defines the xvc interface for UIs
 
37
// they need to be implemented by any GUI anybody wants to add in the
 
38
// future. Look at gnome_ui.[c|h] for how to do that
 
39
 
 
40
Boolean xvc_init_pre (int argc, char **argv);
 
41
Boolean xvc_ui_create ();
 
42
Boolean xvc_frame_create ();
 
43
void xvc_check_start_options ();
 
44
Boolean xvc_ui_init (XVC_ErrorListItem * errors);
 
45
int xvc_ui_run (void);
 
46
 
 
47
void xvc_idle_add (void *, void *);
 
48
Boolean xvc_change_filename_display ();
 
49
void xvc_capture_stop_signal (Boolean wait_for_termination);
 
50
Boolean xvc_capture_stop ();
 
51
void xvc_capture_start ();
 
52
Boolean xvc_frame_monitor ();
 
53
 
 
54
// these are defined in options.c
 
55
Boolean xvc_read_options_file ();
 
56
Boolean xvc_write_options_file ();
 
57
 
 
58
#endif     // __XVC_CONTROL_H__