revising previous commit

This commit is contained in:
Andrew Gundersen 2021-07-12 07:06:43 -05:00
commit fa24a8d46a
2 changed files with 0 additions and 14 deletions

View file

@ -3,12 +3,10 @@
import { accountLogin, accountLogout } from "@/account";
import { IpcHandler } from "@/composables/useIpcMain";
import { flush } from "@/audio";
const LOGIN_CHANNEL = "invoke-account-login";
const LOGOUT_CHANNEL = "invoke-account-logout";
const GET_AUDIO_CHANNEL = "invoke-audio-flush";
export const loginHandler = new IpcHandler({
channel: LOGIN_CHANNEL,
@ -19,8 +17,3 @@ export const logoutHandler = new IpcHandler({
channel: LOGOUT_CHANNEL,
handlerCallback: accountLogout
});
export const getAudioHandler = new IpcHandler({
channel: GET_AUDIO_CHANNEL,
handlerCallback: flush
});

View file

@ -1,10 +1,8 @@
import { IpcListener } from "@/composables/useIpcMain"
import { sendMessage } from '@/session';
import { collect } from "@/audio";
import { updateAppState } from "@/account";
import { onNavBar } from "@/window";
import { toggleRecord } from "@/audio";
const CLIENT_MESSAGE_CHANNEL = "post-session-send"
const APP_MOUNT_CHANNEL = "post-app-mount";
@ -24,8 +22,3 @@ export const navBarListener = new IpcListener({
channel: NAV_BAR_CHANNEL,
listenerCallback: onNavBar
});
export const recordingListener = new IpcListener({
channel: RECORDING_CHANNEL,
listenerCallback: toggleRecord
});