2020-12-26 14:47:15 +01:00
|
|
|
'use strict';
|
|
|
|
import { ipcRenderer } from 'electron';
|
|
|
|
|
|
|
|
export default class {
|
|
|
|
static getViewInformations (params) {
|
|
|
|
return ipcRenderer.invoke('get-view-informations', params);
|
|
|
|
}
|
|
|
|
|
|
|
|
static dropView (params) {
|
|
|
|
return ipcRenderer.invoke('drop-view', params);
|
|
|
|
}
|
2020-12-26 15:37:34 +01:00
|
|
|
|
|
|
|
static alterView (params) {
|
|
|
|
return ipcRenderer.invoke('alter-view', params);
|
|
|
|
}
|
2020-12-27 16:16:48 +01:00
|
|
|
|
|
|
|
static createView (params) {
|
|
|
|
return ipcRenderer.invoke('create-view', params);
|
|
|
|
}
|
2020-12-26 14:47:15 +01:00
|
|
|
}
|