2018-07-27 13:42:21 +08:00
|
|
|
#ifndef EXTENSIONS_H
|
|
|
|
#define EXTENSIONS_H
|
|
|
|
|
|
|
|
#include <Windows.h>
|
|
|
|
#include <string>
|
|
|
|
#include <map>
|
|
|
|
#include <unordered_map>
|
|
|
|
#include <vector>
|
2018-07-27 14:16:15 +08:00
|
|
|
#include <QComboBox>
|
2018-07-27 13:42:21 +08:00
|
|
|
|
2018-07-29 03:41:21 +08:00
|
|
|
std::map<int, QString> LoadExtensions();
|
2018-07-27 13:42:21 +08:00
|
|
|
std::wstring DispatchSentenceToExtensions(std::wstring sentence, std::unordered_map<std::string, int> miscInfo);
|
2018-07-30 05:36:45 +08:00
|
|
|
struct InfoForExtension
|
|
|
|
{
|
|
|
|
char* propertyName;
|
|
|
|
int propertyValue;
|
|
|
|
InfoForExtension* nextProperty;
|
|
|
|
};
|
|
|
|
typedef wchar_t*(*ExtensionFunction)(wchar_t*, InfoForExtension*);
|
2018-07-27 14:16:15 +08:00
|
|
|
extern QComboBox* ttCombo;
|
2018-07-27 13:42:21 +08:00
|
|
|
|
|
|
|
#endif // EXTENSIONS_H
|