]> cgit.babelmonkeys.de Git - socialXMPP.git/blobdiff - scripts/classes.js
Implement User Tune support and dependencies
[socialXMPP.git] / scripts / classes.js
diff --git a/scripts/classes.js b/scripts/classes.js
new file mode 100644 (file)
index 0000000..8ada8d8
--- /dev/null
@@ -0,0 +1,17 @@
+Tune = function() {
+    this.artist ='';
+    this.length = 0;
+    this.rating = 1;
+    this.source = '';
+    this.title = '';
+    this.track = 1;
+    this.uri = '';
+}
+
+Buddy = function(name, jid) {
+    this.name = name;
+    this.jid = jid;
+    this.vCard = "";
+    this.tune = new Tune();
+};
+