cctw  0.2.1
Functions
main.cpp File Reference
#include <stdio.h>
#include "cctwdebug.h"
#include "qcepdocumentationdictionary.h"
#include "cctwapplication.h"
Include dependency graph for main.cpp:

Go to the source code of this file.

Functions

int main (int argc, char *argv[])
 

Function Documentation

int main ( int  argc,
char *  argv[] 
)

Definition at line 7 of file main.cpp.

References CctwApplication::initialize().

8 {
9  g_DebugLevel = QSharedPointer<CctwDebug>(new CctwDebug());
10  gDocumentationDirectory = new QcepDocumentationDictionary();
11 
12  CctwApplication *app = new CctwApplication(argc, argv);
13 
14 // int appArgc = qApp->argc();
15 
16 // printf("appArgc = %d\n", appArgc);
17 
18  app->initialize(argc, argv);
19 
20  return app->exec();
21 }
void initialize(int &argc, char *argv[])