1
0
forked from BRT/arc
arc/android/BankConfigUtils.h

16 lines
713 B
C++
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#pragma once
#include <QString>
// Пер-банковые настройки, читаемые из config.ini.
// bankCode совпадает с именем секции в config.ini и со значением appCode
// ("ozon", "black", "dushanbe_city_bank").
namespace BankConfigUtils {
// Окно поиска транзакций в днях: сегодня + (N-1) предыдущих дней.
// Источник: config.ini → [<bankCode>]/transaction_search_window_days.
// Дефолт 2 (сегодня + вчера). Гарантированный минимум — 1 (только сегодня).
int transactionSearchWindowDays(const QString &bankCode);
} // namespace BankConfigUtils