X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/ede91934442fd804d7b818971a44e3ad795cb01f..d160ca225cd39f7e187bf1b07d96eab5f2901292:/projects/stargazer/plugins/store/firebird/firebird_store_utils.cpp diff --git a/projects/stargazer/plugins/store/firebird/firebird_store_utils.cpp b/projects/stargazer/plugins/store/firebird/firebird_store_utils.cpp index 17ab0d40..96eb817d 100644 --- a/projects/stargazer/plugins/store/firebird/firebird_store_utils.cpp +++ b/projects/stargazer/plugins/store/firebird/firebird_store_utils.cpp @@ -29,10 +29,10 @@ #include #include "firebird_store.h" -#include "ibpp.h" +#include "stg/ibpp.h" //----------------------------------------------------------------------------- -time_t ts2time_t(const IBPP::Timestamp & ts) const +time_t ts2time_t(const IBPP::Timestamp & ts) { char buf[32]; int year, month, day, hour, min, sec; @@ -47,7 +47,7 @@ time_t ts2time_t(const IBPP::Timestamp & ts) const return mktime(&time_tm); } //----------------------------------------------------------------------------- -void time_t2ts(time_t t, IBPP::Timestamp * ts) const +void time_t2ts(time_t t, IBPP::Timestamp * ts) { struct tm res; @@ -56,7 +56,7 @@ void time_t2ts(time_t t, IBPP::Timestamp * ts) const *ts = IBPP::Timestamp(res.tm_year + 1900, res.tm_mon + 1, res.tm_mday, res.tm_hour, res.tm_min, res.tm_sec); } //----------------------------------------------------------------------------- -void ym2date(int year, int month, IBPP::Date * date) const +void ym2date(int year, int month, IBPP::Date * date) { date->SetDate(year + 1900, month + 1, 1); date->EndOfMonth();