]> jfr.im git - irc/quakenet/qwebirc.git/blame - js/ui/baseuiwindow.js
Finish the job :(.
[irc/quakenet/qwebirc.git] / js / ui / baseuiwindow.js
CommitLineData
94b18192
CP
1var UIWindow = new Class({
2 Implements: [Events],
3 initialize: function(parentObject, client, type, name, identifier) {
4 this.parentObject = parentObject;
5 this.type = type;
6 this.name = name;
7 this.active = false;
8 this.client = client;
9 this.identifier = identifier;
10 },
11 updateNickList: function(nicks) {
12 },
13 updateTopic: function(topic) {
14 },
15 close: function() {
16 this.parentObject.__closed(this);
17 this.fireEvent("close", this);
18 },
19 select: function() {
20 this.active = true;
21 this.parentObject.__setActiveWindow(this);
22 },
23 deselect: function() {
24 this.active = false;
25 },
26 addLine: function(type, line, colour) {
27 },
28 errorMessage: function(message) {
29 this.addLine("", message, "red");
30 }
31});
32