mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-22 09:37:17 +00:00
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:
parent
ac39ae13dd
commit
3a8d7bdf08
3 changed files with 82 additions and 0 deletions
29
modern/src/runtime/FeedWatcher.ts
Normal file
29
modern/src/runtime/FeedWatcher.ts
Normal 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;
|
||||
}
|
||||
}
|
||||
34
modern/src/runtime/Form.ts
Normal file
34
modern/src/runtime/Form.ts
Normal 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;
|
||||
}
|
||||
}
|
||||
19
modern/src/runtime/PlDir.ts
Normal file
19
modern/src/runtime/PlDir.ts
Normal 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;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue