Textractor/GUI/extensions.h

23 lines
555 B
C
Raw Permalink Normal View History

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