Type.registerNamespace('QContentManagement');
QContentManagement.Services=function() {
QContentManagement.Services.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
QContentManagement.Services.prototype={
QUploadButton_GetCurrentStatus:function(postID,succeededCallback, failedCallback, userContext) {
return this._invoke(QContentManagement.Services.get_path(), 'QUploadButton_GetCurrentStatus',false,{postID:postID},succeededCallback,failedCallback,userContext); },
KeepAlive:function(succeededCallback, failedCallback, userContext) {
return this._invoke(QContentManagement.Services.get_path(), 'KeepAlive',false,{},succeededCallback,failedCallback,userContext); },
KillSession:function(succeededCallback, failedCallback, userContext) {
return this._invoke(QContentManagement.Services.get_path(), 'KillSession',false,{},succeededCallback,failedCallback,userContext); }}
QContentManagement.Services.registerClass('QContentManagement.Services',Sys.Net.WebServiceProxy);
QContentManagement.Services._staticInstance = new QContentManagement.Services();
QContentManagement.Services.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; QContentManagement.Services._staticInstance._path = value; }
QContentManagement.Services.get_path = function() { return QContentManagement.Services._staticInstance._path; }
QContentManagement.Services.set_timeout = function(value) { var e = Function._validateParams(arguments, [{name: 'timeout', type: Number}]); if (e) throw e; if (value < 0) { throw Error.argumentOutOfRange('value', value, Sys.Res.invalidTimeout); }
QContentManagement.Services._staticInstance._timeout = value; }
QContentManagement.Services.get_timeout = function() { 
return QContentManagement.Services._staticInstance._timeout; }
QContentManagement.Services.set_defaultUserContext = function(value) { 
QContentManagement.Services._staticInstance._userContext = value; }
QContentManagement.Services.get_defaultUserContext = function() { 
return QContentManagement.Services._staticInstance._userContext; }
QContentManagement.Services.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; QContentManagement.Services._staticInstance._succeeded = value; }
QContentManagement.Services.get_defaultSucceededCallback = function() { 
return QContentManagement.Services._staticInstance._succeeded; }
QContentManagement.Services.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; QContentManagement.Services._staticInstance._failed = value; }
QContentManagement.Services.get_defaultFailedCallback = function() { 
return QContentManagement.Services._staticInstance._failed; }
QContentManagement.Services.set_path("/qcmservice.asmx");
QContentManagement.Services.QUploadButton_GetCurrentStatus= function(postID,onSuccess,onFailed,userContext) {QContentManagement.Services._staticInstance.QUploadButton_GetCurrentStatus(postID,onSuccess,onFailed,userContext); }
QContentManagement.Services.KeepAlive= function(onSuccess,onFailed,userContext) {QContentManagement.Services._staticInstance.KeepAlive(onSuccess,onFailed,userContext); }
QContentManagement.Services.KillSession= function(onSuccess,onFailed,userContext) {QContentManagement.Services._staticInstance.KillSession(onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('QWebControls');
if (typeof(QWebControls.QUploadStatus) === 'undefined') {
QWebControls.QUploadStatus=gtc("QWebControls.QUploadStatus");
QWebControls.QUploadStatus.registerClass('QWebControls.QUploadStatus');
}
