File: main.cpp

package info (click to toggle)
qtnx 0.9-3
  • links: PTS
  • area: main
  • in suites: lenny, squeeze
  • size: 220 kB
  • ctags: 111
  • sloc: cpp: 1,080; makefile: 41
file content (35 lines) | stat: -rw-r--r-- 1,365 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
35
/***************************************************************************
                                  main.cpp
                            -------------------
        begin                : Thursday August 3rd 2006
        copyright            : (C) 2006 by George Wright
                               (C) 2007 Defuturo Ltd
        email                : gwright@kde.org
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   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; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 ***************************************************************************/
#include <QApplication>

#include "qtnxwindow.h"

ofstream debugLogFile;

int main(int argc, char *argv[])
{
    debugLogFile.open("/tmp/nxcl.log", ios::out|ios::trunc);

    QApplication app(argc, argv);

    QtNXWindow *mw = new QtNXWindow();
    mw->show();

    return app.exec();
}