Textractor/GUI/extensions.h

22 lines
528 B
C++

#ifndef EXTENSIONS_H
#define EXTENSIONS_H
#include <Windows.h>
#include <string>
#include <map>
#include <unordered_map>
#include <vector>
#include <QComboBox>
std::map<int, QString> LoadExtensions();
std::wstring DispatchSentenceToExtensions(std::wstring sentence, std::unordered_map<std::string, int> miscInfo);
struct InfoForExtension
{
char* propertyName;
int propertyValue;
InfoForExtension* nextProperty;
};
typedef const wchar_t*(*ExtensionFunction)(const wchar_t*, const InfoForExtension*);
#endif // EXTENSIONS_H