28 lines
820 B
JavaScript
28 lines
820 B
JavaScript
// @ts-check
|
|
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
|
|
// This file is automatically generated. DO NOT EDIT
|
|
|
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
// @ts-ignore: Unused imports
|
|
import {Call as $Call, Create as $Create} from "@wailsio/runtime";
|
|
|
|
/**
|
|
* @param {string} path
|
|
* @returns {Promise<[string, string]> & { cancel(): void }}
|
|
*/
|
|
export function GetLanguage(path) {
|
|
let $resultPromise = /** @type {any} */($Call.ByID(3450750492, path));
|
|
return $resultPromise;
|
|
}
|
|
|
|
/**
|
|
* @param {string} path
|
|
* @param {string} text
|
|
* @param {string} voice
|
|
* @returns {Promise<boolean> & { cancel(): void }}
|
|
*/
|
|
export function SetLanguage(path, text, voice) {
|
|
let $resultPromise = /** @type {any} */($Call.ByID(2793672496, path, text, voice));
|
|
return $resultPromise;
|
|
}
|