(function(f,c,e){var b="Rho.Database.SQLite3";var a=e.apiReqFor(b);function d(){var g=null;this.getId=function(){return g};if(1==arguments.length&&arguments[0][e.rhoIdParam()]){if(b!=arguments[0][e.rhoClassParam()]){throw"Wrong class instantiation!"}g=arguments[0][e.rhoIdParam()]}else{g=e.nextId();this.open.apply(this,arguments)}}e.createPropsProxy(d.prototype,[],a,function(){return this.getId()});e.createMethodsProxy(d.prototype,[{methodName:"open",nativeName:"open",valueCallbackIndex:2},{methodName:"close",nativeName:"close",valueCallbackIndex:0},{methodName:"startTransaction",nativeName:"startTransaction",valueCallbackIndex:0},{methodName:"commitTransaction",nativeName:"commitTransaction",valueCallbackIndex:0},{methodName:"rollbackTransaction",nativeName:"rollbackTransaction",valueCallbackIndex:0},{methodName:"lockDb",nativeName:"lockDb",valueCallbackIndex:0},{methodName:"unlockDb",nativeName:"unlockDb",valueCallbackIndex:0},{methodName:"destroyTables",nativeName:"destroyTables",valueCallbackIndex:2},{methodName:"isTableExist",nativeName:"isTableExist",valueCallbackIndex:1},{methodName:"isUiWaitForDb",nativeName:"isUiWaitForDb",valueCallbackIndex:0},{methodName:"execute",nativeName:"execute",valueCallbackIndex:3}],a,function(){return this.getId()});e.createRawPropsProxy(d.prototype,[]);e.createPropsProxy(d,[],a);e.createMethodsProxy(d,[{methodName:"isBlobAttr",nativeName:"isBlobAttr",valueCallbackIndex:3}],a);e.namespace(b,d)})(Rho.jQuery,Rho,Rho.util);