~ubuntu-branches/debian/sid/acetoneiso/sid

« back to all changes in this revision

Viewing changes to .pc/correct-spelling-errors/acetoneiso/sources/main.cpp

  • Committer: Package Import Robot
  • Author(s): Nick Andrik
  • Date: 2013-01-18 16:07:42 UTC
  • Revision ID: package-import@ubuntu.com-20130118160742-z891e5u7o0668b43
Tags: 2.3-3
* Replace fuse-utils build-dep with fuse, since
 the package has been renamed (Closes: #698120)
* Update translations from Launchpad

* Support for hardening
  - Bumped compatibility level to 9
  - Bumped debhelper build-dep version to 9
  - Enabled hardening flags in debian/rules
* Updated debian/copyright in format 1.0
* Bumped standards version to 3.9.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
//This file is part of AcetoneISO. Copyright 2006,2007,2008,2009 Marco Di Antonio and Fabrizio Di Marco (acetoneiso@gmail.com)
2
 
//Copyright 2010/2011 Marco Di Antonio
3
 
 
4
 
//    AcetoneISO is free software: you can redistribute it and/or modify
5
 
//    it under the terms of the GNU General Public License as published by
6
 
//    the Free Software Foundation, either version 3 of the License, or
7
 
//    (at your option) any later version.
8
 
//
9
 
//    AcetoneISO is distributed in the hope that it will be useful,
10
 
//    but WITHOUT ANY WARRANTY; without even the implied warranty of
11
 
//    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
 
//    GNU General Public License for more details.
13
 
//
14
 
//    You should have received a copy of the GNU General Public License
15
 
//    along with AcetoneISO.  If not, see <http://www.gnu.org/licenses/>.
16
 
#include <QApplication>
17
 
#include "acetoneiso.h"
18
 
#include <QTranslator>
19
 
 
20
 
int main(int argc, char *argv[])
21
 
{
22
 
    QApplication app(argc, argv);
23
 
 
24
 
//const char *h = "--help"; 
25
 
QString clImage = argv[1];
26
 
if ( clImage.contains("--help")  or clImage.contains("-h")) {
27
 
      printf ( "\nAcetoneISO Distribuited under GPL v.3.0 \nAuthors:\nMarco Di Antonio 2010\nFabrizio Di Marco and Marco Di Antonio 2006-2007-2008-2009 \nContact: acetoneiso@gmail.com\nWebsite:www.acetoneteam.org\nusage: \nacetoneiso [$path_to_imagefile_to_mount] --> mounts given image and opens it in default filemanager \nacetoneiso           --> opens AcetoneISO GUI\nacetoneiso --help    --> shows this help\n\n" );
28
 
    }
29
 
else {
30
 
      //printf ( "Mounting %s\n", argv[1] );  
31
 
      //cmMount( argv[1] );
32
 
      QString locale = QLocale::system().name();
33
 
      QTranslator translator;
34
 
      translator.load(QString(":/locale/acetoneiso_") + locale);
35
 
      app.installTranslator(&translator);
36
 
 
37
 
      acetoneiso *dialog = new acetoneiso();
38
 
      dialog->show();
39
 
      return app.exec();
40
 
     }
41
 
}