#include "stg/tariffs.h"
#include "stg/users.h"
-#include "stg/common.h"
#include "stg/resetable.h"
#include <cstdio> // snprintf
void GET_TARIFFS::CreateAnswer()
{
- m_answer = GetOpenTag();
+ m_answer = "<Tariffs>";
std::list<TARIFF_DATA> dataList;
m_tariffs.GetTariffsData(&dataList);
"</tariff>";
}
- m_answer += GetCloseTag();
+ m_answer += "</Tariffs>";
}
int ADD_TARIFF::Start(void *, const char * el, const char ** attr)