From cf3ec7fc396125ed452c553b34ae2737329fc61d Mon Sep 17 00:00:00 2001 From: Kristóf Marussy Date: Fri, 24 Dec 2021 01:36:20 +0100 Subject: feat: Service to main process communication --- .../shared/src/ipc/MainToRendererIpcMessage.ts | 24 --------------------- .../shared/src/ipc/RendererToMainIpcMessage.ts | 25 ---------------------- 2 files changed, 49 deletions(-) delete mode 100644 packages/shared/src/ipc/MainToRendererIpcMessage.ts delete mode 100644 packages/shared/src/ipc/RendererToMainIpcMessage.ts (limited to 'packages/shared/src/ipc') diff --git a/packages/shared/src/ipc/MainToRendererIpcMessage.ts b/packages/shared/src/ipc/MainToRendererIpcMessage.ts deleted file mode 100644 index 92da489..0000000 --- a/packages/shared/src/ipc/MainToRendererIpcMessage.ts +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright (C) 2021-2022 Kristóf Marussy - * - * This file is part of Sophie. - * - * Sophie is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, version 3. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - * - * SPDX-License-Identifier: AGPL-3.0-only - */ - -export enum MainToRendererIpcMessage { - SharedStoreSnapshot = 'sophie-shared-store-snapshot', - SharedStorePatch = 'sophie-shared-store-patch', -} diff --git a/packages/shared/src/ipc/RendererToMainIpcMessage.ts b/packages/shared/src/ipc/RendererToMainIpcMessage.ts deleted file mode 100644 index ba354d1..0000000 --- a/packages/shared/src/ipc/RendererToMainIpcMessage.ts +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Copyright (C) 2021-2022 Kristóf Marussy - * - * This file is part of Sophie. - * - * Sophie is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, version 3. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - * - * SPDX-License-Identifier: AGPL-3.0-only - */ - -export enum RendererToMainIpcMessage { - SharedStoreSnapshotRequest = 'sophie-shared-store-snapshot-request', - SetBrowserViewBounds = 'sophie-set-browser-view-bounds', - SetPaletteMode = 'sophie-set-palette-mode', -} -- cgit v1.2.3-70-g09d2