src/hbservers/themeindexer/main.cpp
changeset 1 f7ac710697a9
parent 0 16d8024aca5e
equal deleted inserted replaced
0:16d8024aca5e 1:f7ac710697a9
    23 **
    23 **
    24 ****************************************************************************/
    24 ****************************************************************************/
    25 
    25 
    26 #include <hbiconsource_p.h>
    26 #include <hbiconsource_p.h>
    27 #include <hbthemeindex_p.h>
    27 #include <hbthemeindex_p.h>
    28 #include <QtGui>
       
    29 #include <assert.h>
    28 #include <assert.h>
    30 #include <iostream>
    29 #include <iostream>
       
    30 #include <QApplication>
       
    31 #include <QStringList>
       
    32 #include <QTextStream>
       
    33 #include <QFileInfo>
       
    34 #include <QLibrary>
       
    35 #include <QString>
       
    36 #include <QFile>
       
    37 #include <QMap>
       
    38 #include <QDir>
    31 
    39 
    32 #define RESOURCE_LIB_NAME "HbCore"
    40 #define RESOURCE_LIB_NAME "HbCore"
    33 #define WIN32_DEBUG_SUFFIX "d"
    41 #define WIN32_DEBUG_SUFFIX "d"
    34 #define MAC_DEBUG_SUFFIX "_debug"
    42 #define MAC_DEBUG_SUFFIX "_debug"
    35 
    43 
   320     }
   328     }
   321 }
   329 }
   322 
   330 
   323 int main(int argc, char *argv[])
   331 int main(int argc, char *argv[])
   324 {
   332 {
   325     QApplication app(argc, argv);
   333     QApplication app(argc, argv, false); // GUIenabled=false
   326 
   334 
   327     if (argc <= 2) {
   335     if (argc <= 2) {
   328         showHelp();
   336         showHelp();
   329     } else {
   337     } else {
   330         // Load HbCore resource to be able to index hbdefault theme
   338         // Load HbCore resource to be able to index hbdefault theme