summaryrefslogtreecommitdiff
path: root/indra/newview/llfloatertranslationsettings.h
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-02-28 00:13:31 +0200
committerakleshchev <117672381+akleshchev@users.noreply.github.com>2023-02-28 21:46:43 +0200
commitf7210db06ee677231b93b750c205cd0317a9901f (patch)
treedd00435fa08e5e82dd996c43fd219606ebd432c1 /indra/newview/llfloatertranslationsettings.h
parent3fc3627f2d27b181269416f346f29d6451f7009a (diff)
SL-19209 Switch MS Bing to MS Azure #3
Diffstat (limited to 'indra/newview/llfloatertranslationsettings.h')
-rw-r--r--indra/newview/llfloatertranslationsettings.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/indra/newview/llfloatertranslationsettings.h b/indra/newview/llfloatertranslationsettings.h
index 52523f4d4a..f039d90e27 100644
--- a/indra/newview/llfloatertranslationsettings.h
+++ b/indra/newview/llfloatertranslationsettings.h
@@ -42,15 +42,15 @@ public:
/*virtual*/ BOOL postBuild();
/*virtual*/ void onOpen(const LLSD& key);
- void setAzureVerified(bool ok, bool alert);
- void setGoogleVerified(bool ok, bool alert);
+ void setAzureVerified(bool ok, bool alert, S32 status);
+ void setGoogleVerified(bool ok, bool alert, S32 status);
void onClose(bool app_quitting);
private:
std::string getSelectedService() const;
LLSD getEnteredAzureKey() const;
std::string getEnteredGoogleKey() const;
- void showAlert(const std::string& msg_name) const;
+ void showAlert(const std::string& msg_name, S32 status) const;
void updateControlsEnabledState();
void verifyKey(int service, const LLSD& key, bool alert = true);
@@ -61,7 +61,7 @@ private:
void onBtnGoogleVerify();
void onBtnOK();
- static void setVerificationStatus(int service, bool alert, bool ok);
+ static void setVerificationStatus(int service, bool alert, bool ok, S32 status);
LLCheckBoxCtrl* mMachineTranslationCB;
LLComboBox* mLanguageCombo;