📄 resources.cxx
字号:
#line 1123 "resources.prc"
packetsReceived = PNEW PStaticText(this, 10273, PNotifier(), NULL);
#line 1124 "resources.prc"
PNEW PStaticText(this, 10274, PNotifier(), NULL);
#line 1125 "resources.prc"
octetsReceived = PNEW PStaticText(this, 10275, PNotifier(), NULL);
#line 1126 "resources.prc"
PNEW PStaticText(this, 10276, PNotifier(), NULL);
#line 1127 "resources.prc"
averageReceiveTime = PNEW PStaticText(this, 10277, PNotifier(), NULL);
#line 1128 "resources.prc"
PNEW PStaticText(this, 10278, PNotifier(), NULL);
#line 1129 "resources.prc"
PNEW PStaticText(this, 10279, PNotifier(), NULL);
#line 1130 "resources.prc"
maximumReceiveTime = PNEW PStaticText(this, 10280, PNotifier(), NULL);
#line 1131 "resources.prc"
PNEW PStaticText(this, 10281, PNotifier(), NULL);
#line 1132 "resources.prc"
PNEW PStaticText(this, 10282, PNotifier(), NULL);
#line 1133 "resources.prc"
minimumReceiveTime = PNEW PStaticText(this, 10283, PNotifier(), NULL);
#line 1134 "resources.prc"
PNEW PStaticText(this, 10284, PNotifier(), NULL);
#line 1135 "resources.prc"
PNEW PStaticText(this, 10285, PNotifier(), NULL);
#line 1136 "resources.prc"
jitter = PNEW PStaticText(this, 10286, PNotifier(), NULL);
#line 1137 "resources.prc"
PNEW PStaticText(this, 10287, PNotifier(), NULL);
#line 1138 "resources.prc"
PNEW PStaticText(this, 10288, PNotifier(), NULL);
#line 1139 "resources.prc"
packetsLost = PNEW PStaticText(this, 10289, PNotifier(), NULL);
#line 1140 "resources.prc"
PNEW PStaticText(this, 10290, PNotifier(), NULL);
#line 1141 "resources.prc"
packetsTooLate = PNEW PStaticText(this, 10291, PNotifier(), NULL);
#line 1142 "resources.prc"
PNEW PStaticText(this, 10292, PNotifier(), NULL);
#line 1143 "resources.prc"
packetsOutOfOrder = PNEW PStaticText(this, 10293, PNotifier(), NULL);
#line 1145 "resources.prc"
PNEW PStaticText(this, 10294, PNotifier(), NULL);
#line 1146 "resources.prc"
roundTripDelay = PNEW PStaticText(this, 10295, PNotifier(), NULL);
#line 1147 "resources.prc"
PNEW PStaticText(this, 10296, PNotifier(), NULL);
#line 1149 "resources.prc"
PNEW PStaticText(this, 10297, PNotifier(), NULL);
#line 1150 "resources.prc"
callDuration = PNEW PStaticText(this, 10298, PNotifier(), NULL);
SetStdButtons(NULL, NULL, NULL);
ConstructEnd(id);
}
// GatekeeperOptionsDlg
#line 948 "resources.prc"
GatekeeperOptionsDlg::GatekeeperOptionsDlg(PInteractor * parent, PRESOURCE_ID id)
: PModalDialog(parent, id)
{
#line 950 "resources.prc"
PNEW PCheckBox(this, 10172, PCREATE_NOTIFIER(UsingGatekeeper), &useGatekeeper);
#line 951 "resources.prc"
requireBox = PNEW PCheckBox(this, 10173, PNotifier(), &requireGatekeeper);
#line 952 "resources.prc"
discoverButton = PNEW PRadioButton(this, 10174, PCREATE_NOTIFIER(CheckDiscover), &discover);
#line 953 "resources.prc"
staticGkButton = PNEW PRadioButton(this, 10175, PCREATE_NOTIFIER(CheckDiscover), NULL);
#line 954 "resources.prc"
idButton = PNEW PRadioButton(this, 10176, PCREATE_NOTIFIER(CheckDiscover), NULL);
#line 955 "resources.prc"
gatekeeperHostBox = PNEW PEditBox(this, 10177, PNotifier(), &gatekeeperHost);
#line 956 "resources.prc"
gatekeeperIdBox = PNEW PEditBox(this, 10178, PNotifier(), &gatekeeperId);
#line 957 "resources.prc"
PNEW PStaticText(this, 10179, PNotifier(), NULL);
#line 958 "resources.prc"
PNEW PPasswordEditBox(this, 10180, PNotifier(), &password);
#line 959 "resources.prc"
PNEW PStaticText(this, 10181, PNotifier(), NULL);
#line 960 "resources.prc"
PNEW PIntegerEditBox(this, 10182, PNotifier(), &timeToLive);
#line 961 "resources.prc"
PNEW PStaticText(this, 10183, PNotifier(), NULL);
#line 962 "resources.prc"
PNEW PStaticText(this, 10184, PNotifier(), NULL);
#line 963 "resources.prc"
PNEW PEditBox(this, 10185, PNotifier(), &accessTokenOID);
#line 965 "resources.prc"
ok = PNEW PTextButton(this, 1, PNotifier(), NULL);
#line 966 "resources.prc"
cancel = PNEW PTextButton(this, 2, PNotifier(), NULL);
SetStdButtons(ok, cancel, NULL);
ConstructEnd(id);
}
void GatekeeperOptionsDlg::Save()
{
_psave_10172 = useGatekeeper;
_psave_10173 = requireGatekeeper;
_psave_10174 = discover;
_psave_10177 = gatekeeperHost;
_psave_10178 = gatekeeperId;
_psave_10180 = password;
_psave_10182 = timeToLive;
_psave_10185 = accessTokenOID;
}
void GatekeeperOptionsDlg::Restore()
{
useGatekeeper = _psave_10172;
requireGatekeeper = _psave_10173;
discover = _psave_10174;
gatekeeperHost = _psave_10177;
gatekeeperId = _psave_10178;
password = _psave_10180;
timeToLive = _psave_10182;
accessTokenOID = _psave_10185;
}
// GeneralOptionsDlg
#line 848 "resources.prc"
GeneralOptionsDlg::GeneralOptionsDlg(PInteractor * parent, PRESOURCE_ID id)
: PModalDialog(parent, id)
{
#line 851 "resources.prc"
PNEW PStaticText(this, 10115, PNotifier(), NULL);
#line 852 "resources.prc"
PNEW PEditBox(this, 10116, PCREATE_NOTIFIER(ChangedUsername), &username);
#line 854 "resources.prc"
PNEW PStaticText(this, 10117, PNotifier(), NULL);
#line 855 "resources.prc"
PNEW PEditBox(this, 10118, PCREATE_NOTIFIER(ChangedAlias), &alias);
#line 856 "resources.prc"
addAliasBtn = PNEW PTextButton(this, 10119, PCREATE_NOTIFIER(AddAlias), NULL);
#line 857 "resources.prc"
delAliasBtn = PNEW PTextButton(this, 10120, PCREATE_NOTIFIER(DelAlias), NULL);
#line 858 "resources.prc"
aliasList = PNEW PStringListBox(this, 10121, PCREATE_NOTIFIER(SelectAlias), NULL);
#line 860 "resources.prc"
PNEW PStaticText(this, 10122, PNotifier(), NULL);
#line 861 "resources.prc"
PNEW PIntegerEditBox(this, 10123, PNotifier(), &maxRecentCalls);
#line 863 "resources.prc"
PNEW PStaticText(this, 10124, PNotifier(), NULL);
#line 864 "resources.prc"
PNEW PEditBox(this, 10125, PCREATE_NOTIFIER(ChangedSoundFile), &ringSoundFile);
#line 865 "resources.prc"
PNEW PTextButton(this, 10126, PCREATE_NOTIFIER(BrowseSound), NULL);
#line 866 "resources.prc"
playSoundButton = PNEW PTextButton(this, 10127, PCREATE_NOTIFIER(PlaySoundFile), NULL);
#line 868 "resources.prc"
PNEW PCheckBox(this, 10128, PNotifier(), &autoAnswer);
#line 869 "resources.prc"
PNEW PCheckBox(this, 10129, PNotifier(), &noFastStart);
#line 870 "resources.prc"
PNEW PCheckBox(this, 10130, PNotifier(), &noTunneling);
#line 871 "resources.prc"
PNEW PCheckBox(this, 10131, PNotifier(), &noH245inSetup);
#line 873 "resources.prc"
PNEW PRadioButton(this, 10132, PNotifier(), &userInputMode);
#line 874 "resources.prc"
PNEW PRadioButton(this, 10133, PNotifier(), NULL);
#line 875 "resources.prc"
PNEW PRadioButton(this, 10134, PNotifier(), NULL);
#line 876 "resources.prc"
PNEW PRadioButton(this, 10135, PNotifier(), NULL);
#line 878 "resources.prc"
PNEW PStaticText(this, 10136, PNotifier(), NULL);
#line 879 "resources.prc"
PNEW PRadioButton(this, 10137, PNotifier(), &intrusionProtectionLevel);
#line 880 "resources.prc"
PNEW PRadioButton(this, 10138, PNotifier(), NULL);
#line 881 "resources.prc"
PNEW PRadioButton(this, 10139, PNotifier(), NULL);
#line 882 "resources.prc"
PNEW PRadioButton(this, 10140, PNotifier(), NULL);
#line 884 "resources.prc"
ok = PNEW PTextButton(this, 1, PNotifier(), NULL);
#line 885 "resources.prc"
cancel = PNEW PTextButton(this, 2, PNotifier(), NULL);
SetStdButtons(ok, cancel, NULL);
ConstructEnd(id);
}
void GeneralOptionsDlg::Save()
{
_psave_10116 = username;
_psave_10118 = alias;
_psave_10123 = maxRecentCalls;
_psave_10125 = ringSoundFile;
_psave_10128 = autoAnswer;
_psave_10129 = noFastStart;
_psave_10130 = noTunneling;
_psave_10131 = noH245inSetup;
_psave_10132 = userInputMode;
_psave_10137 = intrusionProtectionLevel;
}
void GeneralOptionsDlg::Restore()
{
username = _psave_10116;
alias = _psave_10118;
maxRecentCalls = _psave_10123;
ringSoundFile = _psave_10125;
autoAnswer = _psave_10128;
noFastStart = _psave_10129;
noTunneling = _psave_10130;
noH245inSetup = _psave_10131;
userInputMode = _psave_10132;
intrusionProtectionLevel = _psave_10137;
}
// TraceOptionsDlg
#line 1080 "resources.prc"
TraceOptionsDlg::TraceOptionsDlg(PInteractor * parent, PRESOURCE_ID id)
: PModalDialog(parent, id)
{
#line 1083 "resources.prc"
PNEW PCheckBox(this, 10244, PCREATE_NOTIFIER(TraceSet), &traceFlag);
#line 1084 "resources.prc"
traceLevelText = PNEW PStaticText(this, 10245, PNotifier(), NULL);
#line 1085 "resources.prc"
traceLevelBox = PNEW PIntegerEditBox(this, 10246, PNotifier(), &traceLevel);
#line 1086 "resources.prc"
traceOutText = PNEW PStaticText(this, 10247, PNotifier(), NULL);
#line 1087 "resources.prc"
traceOutBox = PNEW PEditBox(this, 10248, PNotifier(), &traceFile);
#line 1088 "resources.prc"
traceBlocksBox = PNEW PCheckBox(this, 10249, PNotifier(), &traceBlocks);
#line 1089 "resources.prc"
dateAndTimeBox = PNEW PCheckBox(this, 10250, PNotifier(), &dateAndTime);
#line 1090 "resources.prc"
timestampBox = PNEW PCheckBox(this, 10251, PNotifier(), ×tamp);
#line 1091 "resources.prc"
threadsBox = PNEW PCheckBox(this, 10252, PNotifier(), &threads);
#line 1092 "resources.prc"
threadAddrBox = PNEW PCheckBox(this, 10253, PNotifier(), &threadAddr);
#line 1093 "resources.prc"
levelDisplayBox = PNEW PCheckBox(this, 10254, PNotifier(), &levelDisplay);
#line 1094 "resources.prc"
fileAndLineBox = PNEW PCheckBox(this, 10255, PNotifier(), &fileAndLine);
#line 1096 "resources.prc"
ok = PNEW PTextButton(this, 1, PNotifier(), NULL);
#line 1097 "resources.prc"
cancel = PNEW PTextButton(this, 2, PNotifier(), NULL);
SetStdButtons(ok, cancel, NULL);
ConstructEnd(id);
}
void TraceOptionsDlg::Save()
{
_psave_10244 = traceFlag;
_psave_10246 = traceLevel;
_psave_10248 = traceFile;
_psave_10249 = traceBlocks;
_psave_10250 = dateAndTime;
_psave_10251 = timestamp;
_psave_10252 = threads;
_psave_10253 = threadAddr;
_psave_10254 = levelDisplay;
_psave_10255 = fileAndLine;
}
void TraceOptionsDlg::Restore()
{
traceFlag = _psave_10244;
traceLevel = _psave_10246;
traceFile = _psave_10248;
traceBlocks = _psave_10249;
dateAndTime = _psave_10250;
timestamp = _psave_10251;
threads = _psave_10252;
threadAddr = _psave_10253;
levelDisplay = _psave_10254;
fileAndLine = _psave_10255;
}
// AboutDialog
#line 718 "resources.prc"
AboutDialog::AboutDialog(PInteractor * parent, PRESOURCE_ID id)
: PModalDialog(parent, id)
{
#line 722 "resources.prc"
PNEW PStaticIcon(this, 10067, PNotifier(), NULL);
#line 724 "resources.prc"
PNEW PStaticText(this, 10068, PNotifier(), NULL);
#line 725 "resources.prc"
version = PNEW PStaticText(this, 10069, PNotifier(), NULL);
#line 727 "resources.prc"
PNEW PStaticText(this, 10070, PNotifier(), NULL);
#line 728 "resources.prc"
PNEW PStaticText(this, 10071, PNotifier(), NULL);
#line 729 "resources.prc"
PNEW PStaticText(this, 10072, PNotifier(), NULL);
#line 731 "resources.prc"
ok = PNEW PTextButton(this, 1, PNotifier(), NULL);
SetStdButtons(ok, NULL, NULL);
ConstructEnd(id);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -