#include <klocale.h>
#include <kjs/object.h>
#include <>
#include "_imp.h"
/**
 * Namespace containing the KJSEmbed library.
 */
namespace KJSEmbed {
KJS::Object Cons::construct( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
   switch( id ) {
  
    
     _
   Constructor_
         case :
             return ( exec, obj, args );
             break;
    
  
         default:
             break;
    }
    TQString msg = i18n("Cons has no constructor with id '%1'").arg(id);
    KJS::Object err = KJS::Error::create( exec, KJS::ReferenceError, msg.utf8() );
    exec->setException( err );
    return err;
}
  
    
     _
   Constructor_
KJS::Object Cons::( KJS::ExecState *exec, KJS::Object &obj, const KJS::List &args )
{
    
      
        
    TQString arg = (args.size() >= ) ? args[].toString(exec).qstring() : TQString::null;
        
        
    TQString arg = (args.size() >= ) ? args[].toString(exec).qstring() : TQString::null;
        
        
    const char *arg = (args.size() >= ) ? args[].toString(exec).ascii() : 0;
        
        
    int arg = (args.size() >= ) ? args[].toInteger(exec) : -1;
        
        
    uint arg = (args.size() >= ) ? args[].toInteger(exec) : -1;
        
        
    double arg = (args.size() >= ) ? args[].toInteger(exec) : -1;
        
        
    bool arg = (args.size() >= ) ? args[].toBoolean(exec) : false;
        
        
    TQStringList arg;
    if ( args.size() >=  ) {
      // TODO: populate the list
    }
        
        
    // Unsupported parameter 
    return KJS::Value();
        
      
    
}
    
  
} // namespace KJSEmbed
// Local Variables:
// c-basic-offset: 4
// End: