Index
Modules:
happyx_native
,
happyx_native/abstract/saving
,
happyx_native/app/app
,
happyx_native/cli/utils
,
happyx_native/core/constants
,
happyx_native/core/exceptions
,
happyx_native/core/finder/chrome
,
happyx_native/core/finder/default
,
happyx_native/core/finder/edge
,
happyx_native/core/finder/yandex
.
API symbols
BrowserNotFound:
exceptions: object BrowserNotFound
callback:
app: macro callback(body: untyped)
callJs:
app: macro callJs(funcName: string; params: varargs[untyped])
callJsAsync:
app: macro callJsAsync(funcName: string; params: varargs[untyped])
cfgAndroidPackageId:
app: proc cfgAndroidPackageId(): string
cfgAndroidSdk:
app: proc cfgAndroidSdk(): string
cfgAppDirectory:
app: proc cfgAppDirectory(): string
cfgKind:
app: proc cfgKind(): string
cfgName:
app: proc cfgName(): string
cfgPort:
app: proc cfgPort(): int
ChromeNotFound:
exceptions: object ChromeNotFound
ChromePaths:
constants: const ChromePaths
compileHpx:
utils: proc compileHpx(appDirectory: string)
CONFIG_FILE:
utils: const CONFIG_FILE
createHpxWebview:
app: proc createHpxWebview(w, h: int; port: int; resizeable: bool)
EdgeNotFound:
exceptions: object EdgeNotFound
EdgePaths:
constants: const EdgePaths
fetchFiles:
app: macro fetchFiles(directory: static[string]): untyped
findClangBin:
utils: proc findClangBin(androidSdk: string): string
getAndroidFolder:
utils: proc getAndroidFolder(): string
getFavicon:
utils: proc getFavicon(ext: string = ".ico"): string
getIndexHtml:
app: macro getIndexHtml(directory: static[string]): untyped
HpxNativeVersion:
constants: const HpxNativeVersion
loadBool:
saving: proc loadBool(filename: string): bool
loadEnum:
saving: proc loadEnum[T: enum](filename: string): T
loadFloat:
saving: proc loadFloat(filename: string): float
loadHexInt:
saving: proc loadHexInt(filename: string): int
loadInt:
saving: proc loadInt(filename: string): int
loadJson:
saving: proc loadJson(filename: string): JsonNode
loadOctInt:
saving: proc loadOctInt(filename: string): int
loadString:
saving: proc loadString(filename: string): string
MozillaNotFound:
exceptions: object MozillaNotFound
nativeApp:
app: template nativeApp(appDirectory: string = "/assets"; port: int = 5123; x: int = 512; y: int = 128; w: int = 720; h: int = 320; appMode: bool = true; title: string = ""; resizeable: bool = true; establish: bool = true)
nativeAppImpl:
app: template nativeAppImpl(appDirectory: string = "/assets"; port: int = 5123; x: int = 512; y: int = 128; w: int = 720; h: int = 320; appMode: bool = true; title: string = ""; resizeable: bool = true; establish: bool = true)
NativeConfig:
utils: object NativeConfig
onExit:
app: macro onExit(body: untyped)
openChrome:
chrome: proc openChrome(port: int; chromeFlags: openArray[string])
openDefault:
default: proc openDefault(port: int; chromeFlags: openArray[string])
openEdge:
edge: proc openEdge(port: int; chromeFlags: openArray[string])
openYandex:
yandex: proc openYandex(port: int; chromeFlags: openArray[string])
OS:
constants: const OS
readNativeConfig:
utils: proc readNativeConfig(): NativeConfig
readNativeConfigCompileTime:
utils: proc readNativeConfigCompileTime(): NativeConfig
save:
saving: proc save(filename: string; data: bool)
saving: proc save(filename: string; data: JsonNode)
saving: proc save(filename: string; data: SomeNumber)
saving: proc save(filename: string; data: string)
saving: proc save[T: enum](filename: string; data: T)
websocketClient:
app: var websocketClient
withOpen:
utils: template withOpen(filename: string; mode: FileMode; body: untyped)
YandexNotFound:
exceptions: object YandexNotFound
YandexPaths:
constants: const YandexPaths