mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-02-06 00:15:04 +01:00
gex: cleanup
This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
declare const global: any, imports: any;
|
||||
declare var asusctlGexInstance: any;
|
||||
declare const imports: any;
|
||||
//@ts-ignore
|
||||
const Me = imports.misc.extensionUtils.getCurrentExtension();
|
||||
|
||||
import { DbusBase } from '../modules/dbus';
|
||||
import { DeviceState, AnimBooting, Brightness, AnimAwake, AnimSleeping, AnimShutdown } from '../bindings/anime';
|
||||
import { DbusBase } from './base';
|
||||
import { DeviceState, AnimBooting, Brightness, AnimAwake, AnimSleeping, AnimShutdown } from '../../bindings/anime';
|
||||
|
||||
export class AnimeDbus extends DbusBase {
|
||||
deviceState: DeviceState = {
|
||||
@@ -1,8 +1,8 @@
|
||||
declare const global: any, imports: any;
|
||||
declare const imports: any;
|
||||
//@ts-ignore
|
||||
const Me = imports.misc.extensionUtils.getCurrentExtension();
|
||||
|
||||
import * as Resources from '../modules/resources';
|
||||
import * as Resources from '../resources';
|
||||
|
||||
const { Gio } = imports.gi;
|
||||
|
||||
@@ -1,10 +1,9 @@
|
||||
declare const global: any, imports: any;
|
||||
declare var asusctlGexInstance: any;
|
||||
declare const imports: any;
|
||||
//@ts-ignore
|
||||
const Me = imports.misc.extensionUtils.getCurrentExtension();
|
||||
|
||||
import * as bios from '../bindings/platform';
|
||||
import { DbusBase } from '../modules/dbus';
|
||||
import * as bios from '../../bindings/platform';
|
||||
import { DbusBase } from './base';
|
||||
|
||||
// TODO: add callbacks for notifications
|
||||
export class Platform extends DbusBase {
|
||||
@@ -1,9 +1,8 @@
|
||||
declare const global: any, imports: any;
|
||||
declare var asusctlGexInstance: any;
|
||||
declare const imports: any;
|
||||
//@ts-ignore
|
||||
const Me = imports.misc.extensionUtils.getCurrentExtension();
|
||||
|
||||
import { DbusBase } from '../modules/dbus';
|
||||
import { DbusBase } from './base';
|
||||
|
||||
// function getMethods(obj: { [x: string]: { toString: () => string; }; }) {
|
||||
// var result = [];
|
||||
@@ -2,9 +2,9 @@ declare const global: any, imports: any;
|
||||
//@ts-ignore
|
||||
const Me = imports.misc.extensionUtils.getCurrentExtension();
|
||||
|
||||
import { SupportedFunctions, AdvancedAura } from '../bindings/platform';
|
||||
import { AuraDevice, AuraModeNum, AuraZone } from '../bindings/aura';
|
||||
import { DbusBase } from '../modules/dbus';
|
||||
import { SupportedFunctions, AdvancedAura } from '../../bindings/platform';
|
||||
import { AuraDevice, AuraModeNum, AuraZone } from '../../bindings/aura';
|
||||
import { DbusBase } from './base';
|
||||
|
||||
export class Supported extends DbusBase {
|
||||
// False,
|
||||
Reference in New Issue
Block a user