Add a few missing classes.

These still need to be added to runtime/index.ts I'm working on how to derive the IDs.

https://github.com/captbaritone/webamp/pull/855
This commit is contained in:
Jordan Eldredge 2019-09-26 06:35:17 -07:00
parent ac39ae13dd
commit 3a8d7bdf08
3 changed files with 82 additions and 0 deletions

View file

@ -0,0 +1,29 @@
import MakiObject from "./MakiObject";
import * as Utils from "../utils";
export default class FeedWatcher extends MakiObject {
/**
* getClassName()
*
* Returns the class name for the object.
* @ret The class name.
*/
getclassname() {
return "FeedWatcher";
}
setfeed(feed_id: string) {
Utils.unimplementedWarning("setfeed");
return;
}
releasefeed() {
Utils.unimplementedWarning("releasefeed");
return;
}
onfeedchange(new_feeddata: string) {
Utils.unimplementedWarning("onfeedchange");
return;
}
}

View file

@ -0,0 +1,34 @@
import GuiObject from "./GuiObject";
import * as Utils from "../utils";
export default class Form extends GuiObject {
/**
* getClassName()
*
* Returns the class name for the object.
* @ret The class name.
*/
getclassname() {
return "Form";
}
getcontentsheight() {
Utils.unimplementedWarning("getcontentsheight");
return;
}
newcell(groupname: string) {
Utils.unimplementedWarning("newcell");
return;
}
nextrow() {
Utils.unimplementedWarning("nextrow");
return;
}
deleteall() {
Utils.unimplementedWarning("deleteall");
return;
}
}

View file

@ -0,0 +1,19 @@
import MakiObject from "./MakiObject";
import * as Utils from "../utils";
export default class PlDir extends MakiObject {
/**
* getClassName()
*
* Returns the class name for the object.
* @ret The class name.
*/
getclassname() {
return "PlDir";
}
showcurrentlyplayingentry() {
Utils.unimplementedWarning("showcurrentlyplayingentry");
return;
}
}