aboutsummaryrefslogtreecommitdiff
path: root/e2e/ambassador/src/client/windows.js
blob: 69b8905bb744aed5fd5de3e36aff30aa6cd70621 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import { WINDOWS_CREATE, WINDOWS_REMOVE } from '../shared/messages';
import * as ipc from './ipc';

const create = () => {
  return ipc.send({
    type: WINDOWS_CREATE
  });
};

const remove = (windowId) => {
  return ipc.send({
    type: WINDOWS_REMOVE,
    windowId,
  });
};

export { create, remove };