Author: ygrego Date: 2015-03-03 14:00:50 +0000 (Tue, 03 Mar 2015) New Revision: 905 Url: http://forge.nuiton.org/projects/sandbox/repository/revisions/905 Log: New class representing either a audio or video output on a terminal(TV). Added: oipf/js/impl/model/AVOutput.js Added: oipf/js/impl/model/AVOutput.js =================================================================== --- oipf/js/impl/model/AVOutput.js (rev 0) +++ oipf/js/impl/model/AVOutput.js 2015-03-03 14:00:50 UTC (rev 905) @@ -0,0 +1,38 @@ +/* + * The AVOutput class represents an audio or video output on the local platform. + */ + +var AVOutput = Class.extend({ + + /* + * Description: + * The name of the output. Each output SHALL have a name that is unique on the local system. At least one + * of the outputs SHALL have the name " all " and SHALL represent all available outputs on the platform. The + * results of reading properties from the " all " AVOutput are implementation specific.constructor + * + * Type : readonly String + */ + name: null, + + /* + * Description: + * The type of the output. Valid values are “ audio ”, “ video ”, or “ both ”. + * + * Type : readonly String + */ + type: null, + + /* + * Description: + * Flag indicating whether the output is enabled. Setting this property SHALL enable or disable the output. + * + * Type : Boolean + */ + enabled: null, + + init: function(name, type, enabled) { + this.name = name; + this.type = type; + this.enabled = enabled; + } +});
participants (1)
-
ygrego@users.nuiton.org