* Constructor */
| 988 | * Constructor |
| 989 | */ |
| 990 | DilloHtmlForm::DilloHtmlForm (DilloHtml *html2, |
| 991 | DilloHtmlMethod method2, |
| 992 | const DilloUrl *action2, |
| 993 | DilloHtmlEnc content_type2, |
| 994 | const char *charset, bool enabled) |
| 995 | { |
| 996 | html = html2; |
| 997 | method = method2; |
| 998 | action = a_Url_dup(action2); |
| 999 | content_type = content_type2; |
| 1000 | submit_charset = dStrdup(charset); |
| 1001 | inputs = new misc::SimpleVector <DilloHtmlInput*> (4); |
| 1002 | num_entry_fields = 0; |
| 1003 | showing_hiddens = false; |
| 1004 | this->enabled = enabled; |
| 1005 | form_receiver = new DilloHtmlReceiver (this); |
| 1006 | } |
| 1007 | |
| 1008 | /* |
| 1009 | * Destructor |