~bzoltan/kubuntu-packaging/decouple_cmake_plugin

« back to all changes in this revision

Viewing changes to src/plugins/qnx/blackberrydebugtokenrequester.cpp

  • Committer: Timo Jyrinki
  • Date: 2013-11-15 12:25:23 UTC
  • mfrom: (1.1.28)
  • Revision ID: timo.jyrinki@canonical.com-20131115122523-i2kyamsu4gs2mu1m
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/**************************************************************************
2
2
**
3
 
** Copyright (C) 2011 - 2013 Research In Motion
 
3
** Copyright (C) 2013 BlackBerry Limited. All rights reserved.
4
4
**
5
 
** Contact: Research In Motion (blackberry-qt@qnx.com)
 
5
** Contact: BlackBerry (qt@blackberry.com)
6
6
** Contact: KDAB (info@kdab.com)
7
7
**
8
8
** This file is part of Qt Creator.
34
34
namespace {
35
35
static const char PROCESS_NAME[] = "blackberry-debugtokenrequest";
36
36
static const char ERR_WRONG_CSK_PASS[] = "The signature on the code signing request didn't verify.";
 
37
static const char ERR_WRONG_CSK_PASS_10_2[] = "The specified CSK password is not valid.";
37
38
static const char ERR_WRONG_KEYSTORE_PASS[] = "Failed to decrypt keystore, invalid password";
38
 
static const char ERR_ILLEGAL_DEVICE_PIN[] = "Illegal device PIN";
 
39
static const char ERR_WRONG_KEYSTORE_PASS_10_2[] = "Failed to decrypt keystore, invalid store password or store password not supplied.";
39
40
static const char ERR_NETWORK_UNREACHABLE[] = "Network is unreachable";
40
41
static const char ERR_NOT_YET_REGISTGERED[] = "Not yet registered to request debug tokens";
41
42
}
47
48
    BlackBerryNdkProcess(QLatin1String(PROCESS_NAME), parent)
48
49
{
49
50
    addErrorStringMapping(QLatin1String(ERR_WRONG_CSK_PASS), WrongCskPassword);
50
 
    addErrorStringMapping(QLatin1String(ERR_WRONG_KEYSTORE_PASS), WrongKeystorePassword);
51
 
    addErrorStringMapping(QLatin1String(ERR_WRONG_KEYSTORE_PASS), WrongKeystorePassword);
 
51
    addErrorStringMapping(QLatin1String(ERR_WRONG_CSK_PASS_10_2), WrongCskPassword);
 
52
    addErrorStringMapping(QLatin1String(ERR_WRONG_KEYSTORE_PASS), WrongKeystorePassword);
 
53
    addErrorStringMapping(QLatin1String(ERR_WRONG_KEYSTORE_PASS_10_2), WrongKeystorePassword);
52
54
    addErrorStringMapping(QLatin1String(ERR_NETWORK_UNREACHABLE), NetworkUnreachable);
53
55
    addErrorStringMapping(QLatin1String(ERR_NOT_YET_REGISTGERED), NotYetRegistered);
54
56
}