Changeset 81 in pacpusframework for trunk/src


Ignore:
Timestamp:
Jan 11, 2013, 11:31:02 PM (12 years ago)
Author:
Marek Kurdej
Message:

Added: PacpusApplication to catch exceptions that are thrown outside.

Location:
trunk/src
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/DBITEPlayer/src/main.cpp

    r76 r81  
    3737#include <Pacpus/kernel/ComponentFactory.h>
    3838#include <Pacpus/kernel/Log.h>
     39#include <Pacpus/kernel/PacpusApplication.h>
    3940#include <Pacpus/kernel/PacpusPluginInterface.h>
    4041
     
    5152int main(int argc, char * argv[])
    5253{
    53     QApplication app(argc, argv);
     54    PacpusApplication app(argc, argv);
    5455    ComponentManager * mgr = ComponentManager::getInstance();
    5556
  • trunk/src/PacpusLib/CMakeLists.txt

    r64 r81  
    4747    ${PACPUS_INCLUDE_DIR}/Pacpus/kernel/Log.h
    4848    ${PACPUS_INCLUDE_DIR}/Pacpus/kernel/pacpus.h
     49    ${PACPUS_INCLUDE_DIR}/Pacpus/kernel/PacpusApplication.h
    4950    ${PACPUS_INCLUDE_DIR}/Pacpus/kernel/road_time.h
    5051    ${PACPUS_INCLUDE_DIR}/Pacpus/kernel/XmlComponentConfig.h
     
    5455    ./ComponentManager.cpp
    5556    ./Log.cpp
     57    ./PacpusApplication.cpp
    5658    ./XmlComponentConfig.cpp
    5759    ./XmlConfigFile.cpp
  • trunk/src/PacpusSensor/src/main.cpp

    r76 r81  
    1010#include <Pacpus/kernel/ComponentManager.h>
    1111#include <Pacpus/kernel/Log.h>
     12#include <Pacpus/kernel/PacpusApplication.h>
    1213
    1314#ifdef WIN32
     
    2425int main(int argc, char * argv[])
    2526{
    26     QApplication app(argc, argv);
     27    PacpusApplication app(argc, argv);
    2728
    2829    // faire une boucle pour charger tous les plugins
Note: See TracChangeset for help on using the changeset viewer.