コード例 #1
0
ファイル: HttpSnaffle.cpp プロジェクト: pampersrocker/G-CVSNT
void HttpSnaffle::FetchWholeFile(std::string objectPath, std::ostream& out)
{
    StartFetch(objectPath);
    int value = 1;
    while (value != 0)
    {
        value = FetchMore(out);
    }
}
コード例 #2
0
ファイル: statdiag.cpp プロジェクト: wds315/szarp
void StatDialog::OnCalculate(wxCommandEvent &event) {

    if (m_draw == NULL) {
        wxMessageBox(_("You need to choose draw first"), _T("Draw missing"), wxOK | wxICON_INFORMATION, this);
        return;
    }

    if (m_start_time > m_end_time) {
        wxMessageBox(_("Start date must be less than or equal to end date"), _("Invalid date"), wxICON_INFORMATION | wxOK, this);
        return;
    }

    StartFetch();
}