root / main.cpp @ a469d718
Historique | Voir | Annoter | Télécharger (1,64 ko)
1 | a469d718 | Eric Seigne | /** Projet ryxeo-antivirus
|
---|---|---|---|
2 | *
|
||
3 | * @see https://redmine.ryxeo.com/projects/ryxeo-antivirus
|
||
4 | * @author 2013 Eric Seigne <eric.seigne@ryxeo.com
|
||
5 | * @see The GNU Public License (GPL)
|
||
6 | *
|
||
7 | * This program is free software; you can redistribute it and/or modify
|
||
8 | * it under the terms of the GNU General Public License as published by
|
||
9 | * the Free Software Foundation; either version 3 of the License, or
|
||
10 | * (at your option) any later version.
|
||
11 | *
|
||
12 | * This program is distributed in the hope that it will be useful, but
|
||
13 | * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
||
14 | * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||
15 | * for more details.
|
||
16 | *
|
||
17 | * You should have received a copy of the GNU General Public License along
|
||
18 | * with this program. If not, see <http://www.gnu.org/licenses/>.
|
||
19 | */
|
||
20 | |||
21 | |||
22 | #include <QtGui/QApplication> |
||
23 | #include <QTranslator> |
||
24 | #include <QLocale> |
||
25 | #include <QDebug> |
||
26 | |||
27 | #include "version.h" |
||
28 | #include "utilitairemainwindow.h" |
||
29 | #include "abuleduapplicationv1.h" |
||
30 | #include "abuledusplashscreenv1.h" |
||
31 | |||
32 | int main(int argc, char *argv[]) |
||
33 | { |
||
34 | AbulEduApplicationV1 a(argc, argv,VER_INTERNALNAME_STR, VER_PRODUCTVERSION_STR, VER_COMPANYDOMAIN_STR, "abuledu");
|
||
35 | a.setAbeApplicationLongName(QObject::trUtf8(VER_FILEDESCRIPTION_STR)); |
||
36 | UtilitaireMainWindow *w; |
||
37 | |||
38 | // ================== splashscreen
|
||
39 | AbulEduSplashScreenV1 *splash = new AbulEduSplashScreenV1(0,true); |
||
40 | splash->show(); |
||
41 | w = new UtilitaireMainWindow();
|
||
42 | splash->setMainWindow(w); |
||
43 | //pour les developpeurs presses, remplacer le 1000 par 100
|
||
44 | splash->launch(1000);
|
||
45 | // ================== splashscreen end
|
||
46 | |||
47 | return a.exec();
|
||
48 | } |