summaryrefslogtreecommitdiff
path: root/plugins/SendScreenshotPlus/src/UMainForm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/SendScreenshotPlus/src/UMainForm.cpp')
-rw-r--r--plugins/SendScreenshotPlus/src/UMainForm.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/plugins/SendScreenshotPlus/src/UMainForm.cpp b/plugins/SendScreenshotPlus/src/UMainForm.cpp
index 71051af96d..f387dc2287 100644
--- a/plugins/SendScreenshotPlus/src/UMainForm.cpp
+++ b/plugins/SendScreenshotPlus/src/UMainForm.cpp
@@ -281,6 +281,9 @@ void TfrmMain::wmInitdialog(WPARAM wParam, LPARAM lParam) {
m_opt_cboxSendBy = SS_IMAGESHACK;
}
ComboBox_SetItemData(hCtrl, ComboBox_AddString(hCtrl, TranslateT("ImageShack")), SS_IMAGESHACK);
+ ComboBox_SetItemData(hCtrl, ComboBox_AddString(hCtrl, TranslateT("Upload Pie (30m)")), SS_UPLOADPIE_30M);
+ ComboBox_SetItemData(hCtrl, ComboBox_AddString(hCtrl, TranslateT("Upload Pie (1d)")), SS_UPLOADPIE_1D);
+ ComboBox_SetItemData(hCtrl, ComboBox_AddString(hCtrl, TranslateT("Upload Pie (1w)")), SS_UPLOADPIE_1W);
ComboBox_SelectItemData (hCtrl, -1, m_opt_cboxSendBy); //use Workaround for MS bug ComboBox_SelectItemData
}
//init footer options
@@ -803,6 +806,15 @@ void TfrmMain::cboxSendByChange() {
case SS_IMAGESHACK: //"ImageShack"
m_cSend = new CSendImageShack(m_hWnd, m_hContact, true);
break;
+ case SS_UPLOADPIE_30M: //"Upload Pie (30 minutes)"
+ m_cSend = new CSendHost_UploadPie(m_hWnd, m_hContact, true,1);
+ break;
+ case SS_UPLOADPIE_1D: //"Upload Pie (1 day)"
+ m_cSend = new CSendHost_UploadPie(m_hWnd, m_hContact, true,4);
+ break;
+ case SS_UPLOADPIE_1W: //"Upload Pie (1 week)"
+ m_cSend = new CSendHost_UploadPie(m_hWnd, m_hContact, true,5);
+ break;
default: //SS_JUSTSAVE - "Just save it "
m_cSend = NULL;
break;