Author: ygrego Date: 2015-01-28 10:15:00 +0000 (Wed, 28 Jan 2015) New Revision: 735 Url: http://forge.nuiton.org/projects/sandbox/repository/revisions/735 Log: A constructor added for each oipf object and deleting of object "Class". Modified: oipf/js/impl/ApplicationManagerObject.js oipf/js/impl/CapabilitiesObject.js oipf/js/impl/ChannelConfig.js oipf/js/impl/CodManagerObject.js oipf/js/impl/ConfigurationObject.js oipf/js/impl/DownloadManagerObject.js oipf/js/impl/DownloadTriggerObject.js oipf/js/impl/DrmAgentObject.js oipf/js/impl/GatewayInfoObject.js oipf/js/impl/IMSObject.js oipf/js/impl/MDTFObject.js oipf/js/impl/NotifSocketObject.js oipf/js/impl/ParentalControlManagerObject.js oipf/js/impl/RecordingSchedulerObject.js oipf/js/impl/RemoteControlFunctionObject.js oipf/js/impl/RemoteManagementObject.js oipf/js/impl/SearchManagerObject.js Modified: oipf/js/impl/ApplicationManagerObject.js =================================================================== --- oipf/js/impl/ApplicationManagerObject.js 2015-01-28 09:55:01 UTC (rev 734) +++ oipf/js/impl/ApplicationManagerObject.js 2015-01-28 10:15:00 UTC (rev 735) @@ -14,8 +14,10 @@ return child; }; -ApplicationManagerObject = Class.extend({ +var ApplicationManagerObject = Class.extend({ + init : function(){ + + } - }) \ No newline at end of file Modified: oipf/js/impl/CapabilitiesObject.js =================================================================== --- oipf/js/impl/CapabilitiesObject.js 2015-01-28 09:55:01 UTC (rev 734) +++ oipf/js/impl/CapabilitiesObject.js 2015-01-28 10:15:00 UTC (rev 735) @@ -13,3 +13,11 @@ return child; }; + +var CapabilitiesObject = Class.extend({ + + init : function(){ + + } + +}) \ No newline at end of file Modified: oipf/js/impl/ChannelConfig.js =================================================================== --- oipf/js/impl/ChannelConfig.js 2015-01-28 09:55:01 UTC (rev 734) +++ oipf/js/impl/ChannelConfig.js 2015-01-28 10:15:00 UTC (rev 735) @@ -1,15 +1,7 @@ -var Class = new Function(); +var ChannelConfig = Class.extend({ -Function.prototype.extend = function(proto) { - var parent = this; + init : function(){ + + } - var child = function() { - this.init && this.init.apply(this, arguments); - }; - - child.prototype = proto; - child.prototype.__proto__ = parent.prototype; - child.prototype.super = parent.prototype; - - return child; -}; +}) \ No newline at end of file Modified: oipf/js/impl/CodManagerObject.js =================================================================== --- oipf/js/impl/CodManagerObject.js 2015-01-28 09:55:01 UTC (rev 734) +++ oipf/js/impl/CodManagerObject.js 2015-01-28 10:15:00 UTC (rev 735) @@ -1,15 +1,7 @@ -var Class = new Function(); +var CodManagerObject = Class.extend({ -Function.prototype.extend = function(proto) { - var parent = this; + init : function(){ + + } - var child = function() { - this.init && this.init.apply(this, arguments); - }; - - child.prototype = proto; - child.prototype.__proto__ = parent.prototype; - child.prototype.super = parent.prototype; - - return child; -}; +}) \ No newline at end of file Modified: oipf/js/impl/ConfigurationObject.js =================================================================== --- oipf/js/impl/ConfigurationObject.js 2015-01-28 09:55:01 UTC (rev 734) +++ oipf/js/impl/ConfigurationObject.js 2015-01-28 10:15:00 UTC (rev 735) @@ -1,15 +1,7 @@ -var Class = new Function(); +var ConfigurationObject = Class.extend({ -Function.prototype.extend = function(proto) { - var parent = this; + init : function(){ + + } - var child = function() { - this.init && this.init.apply(this, arguments); - }; - - child.prototype = proto; - child.prototype.__proto__ = parent.prototype; - child.prototype.super = parent.prototype; - - return child; -}; +}) \ No newline at end of file Modified: oipf/js/impl/DownloadManagerObject.js =================================================================== --- oipf/js/impl/DownloadManagerObject.js 2015-01-28 09:55:01 UTC (rev 734) +++ oipf/js/impl/DownloadManagerObject.js 2015-01-28 10:15:00 UTC (rev 735) @@ -1,15 +1,7 @@ -var Class = new Function(); +var DownloadManagerObject = Class.extend({ -Function.prototype.extend = function(proto) { - var parent = this; + init : function(){ + + } - var child = function() { - this.init && this.init.apply(this, arguments); - }; - - child.prototype = proto; - child.prototype.__proto__ = parent.prototype; - child.prototype.super = parent.prototype; - - return child; -}; +}) \ No newline at end of file Modified: oipf/js/impl/DownloadTriggerObject.js =================================================================== --- oipf/js/impl/DownloadTriggerObject.js 2015-01-28 09:55:01 UTC (rev 734) +++ oipf/js/impl/DownloadTriggerObject.js 2015-01-28 10:15:00 UTC (rev 735) @@ -1,15 +1,7 @@ -var Class = new Function(); +var DownloadTriggerObject = Class.extend({ -Function.prototype.extend = function(proto) { - var parent = this; + init : function(){ + + } - var child = function() { - this.init && this.init.apply(this, arguments); - }; - - child.prototype = proto; - child.prototype.__proto__ = parent.prototype; - child.prototype.super = parent.prototype; - - return child; -}; +}) \ No newline at end of file Modified: oipf/js/impl/DrmAgentObject.js =================================================================== --- oipf/js/impl/DrmAgentObject.js 2015-01-28 09:55:01 UTC (rev 734) +++ oipf/js/impl/DrmAgentObject.js 2015-01-28 10:15:00 UTC (rev 735) @@ -1,15 +1,7 @@ -var Class = new Function(); +var DrmAgentObject = Class.extend({ -Function.prototype.extend = function(proto) { - var parent = this; + init : function(){ + + } - var child = function() { - this.init && this.init.apply(this, arguments); - }; - - child.prototype = proto; - child.prototype.__proto__ = parent.prototype; - child.prototype.super = parent.prototype; - - return child; -}; +}) \ No newline at end of file Modified: oipf/js/impl/GatewayInfoObject.js =================================================================== --- oipf/js/impl/GatewayInfoObject.js 2015-01-28 09:55:01 UTC (rev 734) +++ oipf/js/impl/GatewayInfoObject.js 2015-01-28 10:15:00 UTC (rev 735) @@ -1,15 +1,7 @@ -var Class = new Function(); +var GatewayInfoObject = Class.extend({ -Function.prototype.extend = function(proto) { - var parent = this; + init : function(){ + + } - var child = function() { - this.init && this.init.apply(this, arguments); - }; - - child.prototype = proto; - child.prototype.__proto__ = parent.prototype; - child.prototype.super = parent.prototype; - - return child; -}; +}) \ No newline at end of file Modified: oipf/js/impl/IMSObject.js =================================================================== --- oipf/js/impl/IMSObject.js 2015-01-28 09:55:01 UTC (rev 734) +++ oipf/js/impl/IMSObject.js 2015-01-28 10:15:00 UTC (rev 735) @@ -1,15 +1,7 @@ -var Class = new Function(); +var IMSObject = Class.extend({ -Function.prototype.extend = function(proto) { - var parent = this; + init : function(){ + + } - var child = function() { - this.init && this.init.apply(this, arguments); - }; - - child.prototype = proto; - child.prototype.__proto__ = parent.prototype; - child.prototype.super = parent.prototype; - - return child; -}; +}) \ No newline at end of file Modified: oipf/js/impl/MDTFObject.js =================================================================== --- oipf/js/impl/MDTFObject.js 2015-01-28 09:55:01 UTC (rev 734) +++ oipf/js/impl/MDTFObject.js 2015-01-28 10:15:00 UTC (rev 735) @@ -1,15 +1,7 @@ -var Class = new Function(); +var MDTFObject = Class.extend({ -Function.prototype.extend = function(proto) { - var parent = this; + init : function(){ + + } - var child = function() { - this.init && this.init.apply(this, arguments); - }; - - child.prototype = proto; - child.prototype.__proto__ = parent.prototype; - child.prototype.super = parent.prototype; - - return child; -}; +}) \ No newline at end of file Modified: oipf/js/impl/NotifSocketObject.js =================================================================== --- oipf/js/impl/NotifSocketObject.js 2015-01-28 09:55:01 UTC (rev 734) +++ oipf/js/impl/NotifSocketObject.js 2015-01-28 10:15:00 UTC (rev 735) @@ -1,15 +1,7 @@ -var Class = new Function(); +var NotifSocketObject = Class.extend({ -Function.prototype.extend = function(proto) { - var parent = this; + init : function(){ + + } - var child = function() { - this.init && this.init.apply(this, arguments); - }; - - child.prototype = proto; - child.prototype.__proto__ = parent.prototype; - child.prototype.super = parent.prototype; - - return child; -}; +}) \ No newline at end of file Modified: oipf/js/impl/ParentalControlManagerObject.js =================================================================== --- oipf/js/impl/ParentalControlManagerObject.js 2015-01-28 09:55:01 UTC (rev 734) +++ oipf/js/impl/ParentalControlManagerObject.js 2015-01-28 10:15:00 UTC (rev 735) @@ -1,15 +1,7 @@ -var Class = new Function(); +var ParentalControlManagerObject = Class.extend({ -Function.prototype.extend = function(proto) { - var parent = this; + init : function(){ + + } - var child = function() { - this.init && this.init.apply(this, arguments); - }; - - child.prototype = proto; - child.prototype.__proto__ = parent.prototype; - child.prototype.super = parent.prototype; - - return child; -}; +}) \ No newline at end of file Modified: oipf/js/impl/RecordingSchedulerObject.js =================================================================== --- oipf/js/impl/RecordingSchedulerObject.js 2015-01-28 09:55:01 UTC (rev 734) +++ oipf/js/impl/RecordingSchedulerObject.js 2015-01-28 10:15:00 UTC (rev 735) @@ -1,15 +1,7 @@ -var Class = new Function(); +var RecordingSchedulerObject = Class.extend({ -Function.prototype.extend = function(proto) { - var parent = this; + init : function(){ + + } - var child = function() { - this.init && this.init.apply(this, arguments); - }; - - child.prototype = proto; - child.prototype.__proto__ = parent.prototype; - child.prototype.super = parent.prototype; - - return child; -}; +}) \ No newline at end of file Modified: oipf/js/impl/RemoteControlFunctionObject.js =================================================================== --- oipf/js/impl/RemoteControlFunctionObject.js 2015-01-28 09:55:01 UTC (rev 734) +++ oipf/js/impl/RemoteControlFunctionObject.js 2015-01-28 10:15:00 UTC (rev 735) @@ -1,15 +1,7 @@ -var Class = new Function(); +var RemoteControlFunctionObject = Class.extend({ -Function.prototype.extend = function(proto) { - var parent = this; + init : function(){ + + } - var child = function() { - this.init && this.init.apply(this, arguments); - }; - - child.prototype = proto; - child.prototype.__proto__ = parent.prototype; - child.prototype.super = parent.prototype; - - return child; -}; +}) \ No newline at end of file Modified: oipf/js/impl/RemoteManagementObject.js =================================================================== --- oipf/js/impl/RemoteManagementObject.js 2015-01-28 09:55:01 UTC (rev 734) +++ oipf/js/impl/RemoteManagementObject.js 2015-01-28 10:15:00 UTC (rev 735) @@ -1,15 +1,7 @@ -var Class = new Function(); +var RemoteManagementObject = Class.extend({ -Function.prototype.extend = function(proto) { - var parent = this; + init : function(){ + + } - var child = function() { - this.init && this.init.apply(this, arguments); - }; - - child.prototype = proto; - child.prototype.__proto__ = parent.prototype; - child.prototype.super = parent.prototype; - - return child; -}; +}) \ No newline at end of file Modified: oipf/js/impl/SearchManagerObject.js =================================================================== --- oipf/js/impl/SearchManagerObject.js 2015-01-28 09:55:01 UTC (rev 734) +++ oipf/js/impl/SearchManagerObject.js 2015-01-28 10:15:00 UTC (rev 735) @@ -1,5 +1,5 @@ var metadataSearchEvent = new Event('MetadataSearch'); //Could be change to put data into event -var metadataUpdateEvent = new Event('MetadataUpdate'); +var metadataUpdateEvent = new Event('MetadataUpdate'); //Could be change to put data into event /*// Listen for the event. elem.addEventListener('build', function (e) { ... }, false);