Subversion Repositories tpanel

Rev

Rev 406 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 406 Rev 408
Line 1061... Line 1061...
1061
    REG_CMD(doDBEEP, "^ADB");   // G5: Play a double beep.
1061
    REG_CMD(doDBEEP, "^ADB");   // G5: Play a double beep.
1062
    REG_CMD(doEKP, "@EKP");     // Pop up the keypad icon and initialize the text string to that specified.
1062
    REG_CMD(doEKP, "@EKP");     // Pop up the keypad icon and initialize the text string to that specified.
1063
    REG_CMD(doPKP, "@PKB");     // Present a private keyboard.
1063
    REG_CMD(doPKP, "@PKB");     // Present a private keyboard.
1064
    REG_CMD(doPKP, "PKEYP");    // Present a private keypad.
1064
    REG_CMD(doPKP, "PKEYP");    // Present a private keypad.
1065
    REG_CMD(doPKP, "@PKP");     // Present a private keypad.
1065
    REG_CMD(doPKP, "@PKP");     // Present a private keypad.
-
 
1066
    REG_CMD(doRPP, "^RPP");     // Reset protected password command
1066
    REG_CMD(doSetup, "SETUP");  // Send panel to SETUP page.
1067
    REG_CMD(doSetup, "SETUP");  // Send panel to SETUP page.
1067
    REG_CMD(doSetup, "^STP");   // G5: Open setup page.
1068
    REG_CMD(doSetup, "^STP");   // G5: Open setup page.
1068
    REG_CMD(doShutdown, "SHUTDOWN");// Shut down the App
1069
    REG_CMD(doShutdown, "SHUTDOWN");// Shut down the App
1069
    REG_CMD(doSOU, "@SOU");     // Play a sound file.
1070
    REG_CMD(doSOU, "@SOU");     // Play a sound file.
1070
    REG_CMD(doSOU, "^SOU");     // G5: Play a sound file.
1071
    REG_CMD(doSOU, "^SOU");     // G5: Play a sound file.
Line 8656... Line 8657...
8656
        vector<Button::TButton *>::iterator mapIter;
8657
        vector<Button::TButton *>::iterator mapIter;
8657
 
8658
 
8658
        for (mapIter = buttons.begin(); mapIter != buttons.end(); mapIter++)
8659
        for (mapIter = buttons.begin(); mapIter != buttons.end(); mapIter++)
8659
        {
8660
        {
8660
            Button::TButton *bt = *mapIter;
8661
            Button::TButton *bt = *mapIter;
8661
//            setButtonCallbacks(bt);
-
 
8662
 
8662
 
8663
            if (bLeft)
8663
            if (bLeft)
8664
                x = 0;
8664
                x = 0;
8665
 
8665
 
8666
            if (bTop)
8666
            if (bTop)
Line 11098... Line 11098...
11098
    if (_callKeypad)
11098
    if (_callKeypad)
11099
        _callKeypad(initText, promptText, true);
11099
        _callKeypad(initText, promptText, true);
11100
}
11100
}
11101
 
11101
 
11102
/**
11102
/**
-
 
11103
 * @brief Reset protected password command
-
 
11104
 * This command is used to reset the protected setup password to the factory
-
 
11105
 * default value.
-
 
11106
 */
-
 
11107
void TPageManager::doRPP(int, vector<int>&, vector<string>&)
-
 
11108
{
-
 
11109
    DECL_TRACER("TPageManager::doRPP(int, vector<int>&, vector<string>&)");
-
 
11110
 
-
 
11111
    TConfig::savePassword1("1988");
-
 
11112
}
-
 
11113
 
-
 
11114
/**
11103
 * Send panel to SETUP page.
11115
 * Send panel to SETUP page.
11104
 */
11116
 */
11105
void TPageManager::doSetup(int, vector<int>&, vector<string>&)
11117
void TPageManager::doSetup(int, vector<int>&, vector<string>&)
11106
{
11118
{
11107
    DECL_TRACER("TPageManager::doSetup(int, vector<int>&, vector<string>&)");
11119
    DECL_TRACER("TPageManager::doSetup(int, vector<int>&, vector<string>&)");