| 12345678910111213141516171819 |
- #pragma once
- #include "DittoDefines.h"
- #include "IClip.h"
- #include <vector>
- extern "C"
- {
- //DittoAddin returns infor about your addin, version, display name
- bool __declspec(dllexport) DittoAddin(const CDittoInfo &DittoInfo, CDittoAddinInfo &info);
-
- //Supported functions returns a list of available functions your addin supports based on the type passed in
- //For each of the functions you must have an exported function that matches the returned function name
- //CDittoInfo contains info about ditto. Included language code, to support multiple languages return the correct string based off of the language code currently used in ditto (//http://www.loc.gov/standards/iso639-2/php/code_list.php)
- bool __declspec(dllexport) SupportedFunctions(const CDittoInfo &DittoInfo, FunctionType type, std::vector<CFunction> &Functions);
- //Each exported functions must follow the following format
- bool __declspec(dllexport) ConvertPathToHtmlImageTag(const CDittoInfo &DittoInfo, IClip *pClip);
- }
|