Switch to unified view

a/upplay.cpp b/upplay.cpp
...
...
29
#include <libupnpp/upnpplib.hxx>
29
#include <libupnpp/upnpplib.hxx>
30
#include <libupnpp/log.hxx>
30
#include <libupnpp/log.hxx>
31
31
32
#include "application.h"
32
#include "application.h"
33
33
34
using namespace UPnPClient;
34
using namespace UPnPP;
35
35
36
static const char *thisprog;
36
static const char *thisprog;
37
37
38
static int    op_flags;
38
static int    op_flags;
39
#define OPT_h     0x4 
39
#define OPT_h     0x4 
...
...
118
        if (loglevel != LibUPnP::LogLevelNone) {
118
        if (loglevel != LibUPnP::LogLevelNone) {
119
            mylib->setLogFileName(cp, LibUPnP::LogLevel(loglevel));
119
            mylib->setLogFileName(cp, LibUPnP::LogLevel(loglevel));
120
        }
120
        }
121
    }
121
    }
122
122
123
    Application application(&app, params.size(), 0);
123
    Application application(&app);
124
    if(!application.is_initialized()) 
124
    if(!application.is_initialized()) 
125
        return 1;
125
        return 1;
126
126
127
    return app.exec();
127
    return app.exec();
128
}
128
}