File: main.cpp

package info (click to toggle)
dvr 3.2-8
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 896 kB
  • ctags: 394
  • sloc: cpp: 3,192; makefile: 134; sh: 100; yacc: 39
file content (34 lines) | stat: -rw-r--r-- 1,182 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/*********************************************************************************************************
DVR, Digital Video Recorder - a tool to record movies (audio/video), using realtime compression

It uses libavifile (see http://divx.euro.ru) and some code from kwintv (see wenk@mathematik.uni-kl.de)

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General
Public License as published by the Free Software Foundation, etc.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY, etc.

copyright(C) february 2001, Pierre Hbert (pierre.hebert@netcourrier.com)
*********************************************************************************************************/

#include<iostream>

#include<qapp.h>
#include <qtranslator.h>
#include <qtextcodec.h> 

#include "QDvrGUIImpl.h"


int main(int argc, char **argv) {
	
	QApplication a(argc,argv);
	QTranslator translator(0);
	translator.load(QString("dvr_")+QTextCodec::locale(), "/usr/share/dvr-"VERSION"/translations");
	a.installTranslator(&translator);
	QDvrGUIImpl gui(&a);
	gui.show();
	a.setMainWidget(&gui);
	a.exec();

	return 0;
}