ds/Disclaimer.js

/**
 * @fileoverview Exposed data type for use outside of VdsClient.
 *               All properties should be exposed to allow use from uncompiled
 *               code.
 *
 * @author kim.simmons@spark-vision.com (Kim Simmons)
 */


goog.provide( 'spv.ds.Disclaimer' );

/**
 * @export
 * @struct
 * @constructor
 * @param {string} text
 */
spv.ds.Disclaimer = function( text )
{
	/**
	 * Tells if there's an active disclaimer or not.
	 * @nocollapse
	 * @type {boolean}
	 */
	this.active = Boolean(text);

	/**
	 * The very informative text of the disclaimer.
	 * @nocollapse
	 * @type {string}
	 */
	this.text = text;
};