signal-desktop/ts/context/index.ts

16 lines
401 B
TypeScript
Raw Normal View History

2021-06-22 14:46:42 +00:00
// Copyright 2021 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
import { Bytes } from './Bytes';
import { NativeThemeListener, MinimalIPC } from './NativeThemeListener';
2021-06-22 14:46:42 +00:00
export class Context {
public readonly bytes = new Bytes();
public readonly nativeThemeListener;
constructor(ipc: MinimalIPC) {
this.nativeThemeListener = new NativeThemeListener(ipc, window);
}
2021-06-22 14:46:42 +00:00
}