]> cgit.babelmonkeys.de Git - socialXMPP.git/blob - scripts/classes.js
Message sending
[socialXMPP.git] / scripts / classes.js
1 Tune = function() {
2     this.artist ='';
3     this.length = 0;
4     this.rating = 1;
5     this.source = '';
6     this.title = '';
7     this.track = 1;
8     this.uri = '';
9     this.isEmpty = function() {
10         return ( (this.artist == '') && (this.length == 0) && (this.rating == 1)
11             && (this.source == '') && (this.title == '') && (this.track == 1)
12             && (this.uri == '') );
13     }
14 }
15
16 Buddy = function(name, jid) {
17     this.name = name;
18     this.jid = jid;
19     this.vCard = '';
20     this.tune = new Tune();
21 };
22