var QWC=function() {
QWC.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
QWC.prototype={
QUploadButton_GetCurrentStatus:function(postID,succeededCallback, failedCallback, userContext) {
return this._invoke(QWC.get_path(), 'QUploadButton_GetCurrentStatus',false,{postID:postID},succeededCallback,failedCallback,userContext); },
KeepAlive:function(succeededCallback, failedCallback, userContext) {
return this._invoke(QWC.get_path(), 'KeepAlive',false,{},succeededCallback,failedCallback,userContext); },
KillSession:function(succeededCallback, failedCallback, userContext) {
return this._invoke(QWC.get_path(), 'KillSession',false,{},succeededCallback,failedCallback,userContext); }}
QWC.registerClass('QWC',Sys.Net.WebServiceProxy);
QWC._staticInstance = new QWC();
QWC.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; QWC._staticInstance._path = value; }
QWC.get_path = function() { return QWC._staticInstance._path; }
QWC.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); }
QWC._staticInstance._timeout = value; }
QWC.get_timeout = function() { 
return QWC._staticInstance._timeout; }
QWC.set_defaultUserContext = function(value) { 
QWC._staticInstance._userContext = value; }
QWC.get_defaultUserContext = function() { 
return QWC._staticInstance._userContext; }
QWC.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; QWC._staticInstance._succeeded = value; }
QWC.get_defaultSucceededCallback = function() { 
return QWC._staticInstance._succeeded; }
QWC.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; QWC._staticInstance._failed = value; }
QWC.get_defaultFailedCallback = function() { 
return QWC._staticInstance._failed; }
QWC.set_path("/qwc.asmx");
QWC.QUploadButton_GetCurrentStatus= function(postID,onSuccess,onFailed,userContext) {QWC._staticInstance.QUploadButton_GetCurrentStatus(postID,onSuccess,onFailed,userContext); }
QWC.KeepAlive= function(onSuccess,onFailed,userContext) {QWC._staticInstance.KeepAlive(onSuccess,onFailed,userContext); }
QWC.KillSession= function(onSuccess,onFailed,userContext) {QWC._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');
}
