Fixed PPT exports
This commit is contained in:
parent
30e3d8ff09
commit
755c008def
1
.gitignore
vendored
1
.gitignore
vendored
@ -15,6 +15,7 @@ updater/postzip/TeaClient-linux.tar.gz
|
|||||||
.deploy_secret
|
.deploy_secret
|
||||||
|
|
||||||
**/*.d.ts
|
**/*.d.ts
|
||||||
|
!
|
||||||
!modules/renderer/imports/.copy_*.d.ts
|
!modules/renderer/imports/.copy_*.d.ts
|
||||||
|
|
||||||
package-lock.json
|
package-lock.json
|
||||||
|
1
native/ppt/.gitignore
vendored
1
native/ppt/.gitignore
vendored
@ -1,2 +1,3 @@
|
|||||||
.idea/
|
.idea/
|
||||||
cmake-build-*
|
cmake-build-*
|
||||||
|
!exports/*.d.ts
|
21
native/ppt/exports/exports.d.ts
vendored
Normal file
21
native/ppt/exports/exports.d.ts
vendored
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
declare module "teaclient_ppt" {
|
||||||
|
enum KeyEventType {
|
||||||
|
PRESS = 0,
|
||||||
|
RELEASE = 1,
|
||||||
|
TYPE = 2
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface KeyEvent {
|
||||||
|
type: KeyEventType;
|
||||||
|
|
||||||
|
key_code: string;
|
||||||
|
|
||||||
|
key_shift: boolean;
|
||||||
|
key_alt: boolean;
|
||||||
|
key_windows: boolean;
|
||||||
|
key_ctrl: boolean;
|
||||||
|
}
|
||||||
|
|
||||||
|
export function RegisterCallback(_: (_: KeyEvent) => any);
|
||||||
|
export function UnregisterCallback(_: (_: KeyEvent) => any);
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user