Files
Panayot Cankov d098ff43f5 Add module names for the typedoc, make it work
Mark members with @private for typedoc.
2017-04-20 16:58:30 +03:00

23 lines
654 B
TypeScript

/**
* @module "file-system/file-name-resolver"
*
* Provides FileNameResolver class used for loading files based on device capabilities.
*/ /** */
export interface PlatformContext {
width: number;
height: number;
os: string;
deviceType: string;
}
export class FileNameResolver {
constructor(context: PlatformContext);
resolveFileName(path: string, ext: string): string;
clearCache(): void;
}
export function resolveFileName(path: string, ext: string): string;
export function clearCache(): void;
export function _findFileMatch(path: string, ext: string, candidates: Array<string>, context: PlatformContext): string;