~ken-vandine/keeper/ual_api_change

« back to all changes in this revision

Viewing changes to src/service/main.cpp

Changes to command line client and some bugs fixed.

Approved by unity-api-1-bot, Charles Kerr.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
 
21
21
#include "dbus-types.h"
22
22
#include "helper/data-dir-registry.h"
 
23
#include "helper/helper.h"
23
24
#include "service/backup-choices.h"
24
25
#include "service/restore-choices.h"
25
26
#include "service/keeper.h"
45
46
 
46
47
    QCoreApplication app(argc, argv);
47
48
    DBusTypes::registerMetaTypes();
48
 
//    Variant::registerMetaTypes();
 
49
    Helper::registerMetaTypes();
49
50
    std::srand(unsigned(std::time(nullptr)));
50
51
 
51
52
    util::UnixSignalHandler handler([]{