axmol/extensions/fairygui/TranslationHelper.h

23 lines
403 B
C
Raw Normal View History

2020-08-04 12:31:33 +08:00
#ifndef __TRANSLATIONHELPER_H_
#define __TRANSLATIONHELPER_H_
#include "FairyGUIMacros.h"
#include "cocos2d.h"
NS_FGUI_BEGIN
class PackageItem;
class TranslationHelper
{
public:
2021-12-31 15:49:45 +08:00
static hlookup::string_map<hlookup::string_map<std::string>> strings;
2020-08-04 12:31:33 +08:00
static void loadFromXML(const char *xmlString, size_t nBytes);
static void translateComponent(PackageItem* item);
};
NS_FGUI_END
#endif