MCPcopy Create free account
hub / github.com/dillo-browser/dillo / DilloHtmlForm

Method DilloHtmlForm

src/form.cc:990–1006  ·  view source on GitHub ↗

* Constructor */

Source from the content-addressed store, hash-verified

988 * Constructor
989 */
990DilloHtmlForm::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

Callers

nothing calls this directly

Calls 2

a_Url_dupFunction · 0.85
dStrdupFunction · 0.85

Tested by

no test coverage detected