~aleteoryx/muditaos

5995cfa6ffdc7552af8604f5a53e51de16f98614 — Adam Dobrowolski 5 years ago afa1957
[EGD-5451] Cleaned i18n header from vfs

internationalization is included nearly everywhere in system it
should not be polluted with include which is to be removed
M module-apps/application-settings-new/windows/QuotesMainWindow.hpp => module-apps/application-settings-new/windows/QuotesMainWindow.hpp +1 -0
@@ 11,6 11,7 @@
#include <module-gui/gui/widgets/ListView.hpp>
#include <module-apps/InternalModel.hpp>
#include <utility>
#include <vfs.hpp>

namespace gui
{

M module-utils/bootconfig/src/bootconfig.cpp => module-utils/bootconfig/src/bootconfig.cpp +1 -0
@@ 9,6 9,7 @@
#include <stdio.h>
#include <log/log.hpp>
#include <crc32/crc32.h>
#include <vfs.hpp>

namespace boot
{

M module-utils/i18n/i18n.hpp => module-utils/i18n/i18n.hpp +0 -1
@@ 4,7 4,6 @@
#pragma once
#include "json/json11.hpp"
#include <string>
#include <vfs.hpp>
#include <filesystem>

using Language = std::string;

M module-vfs/board/cross/free_rtos_custom/portable/common.cpp => module-vfs/board/cross/free_rtos_custom/portable/common.cpp +5 -3
@@ 21,8 21,10 @@ struct tm *gmtime_r( const time_t *pxTime, struct tm *tmStruct )
}
#endif
/*-----------------------------------------------------------*/

time_t FreeRTOS_time(time_t *pxTime)
extern "C"
{
    return utils::time::Time().getTime();
    time_t FreeRTOS_time(time_t *pxTime)
    {
        return utils::time::Time().getTime();
    }
}