diff options
Diffstat (limited to 'src/gmdocument.h')
-rw-r--r-- | src/gmdocument.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/gmdocument.h b/src/gmdocument.h index c6f64e1d..b1121d85 100644 --- a/src/gmdocument.h +++ b/src/gmdocument.h | |||
@@ -115,9 +115,15 @@ enum iGmDocumentFormat { | |||
115 | plainText_GmDocumentFormat, | 115 | plainText_GmDocumentFormat, |
116 | }; | 116 | }; |
117 | 117 | ||
118 | enum iGmDocumentBanner { | ||
119 | none_GmDocumentBanner, | ||
120 | siteDomain_GmDocumentBanner, | ||
121 | certificateWarning_GmDocumentBanner, | ||
122 | }; | ||
123 | |||
118 | void setThemeSeed_GmDocument (iGmDocument *, const iBlock *seed); | 124 | void setThemeSeed_GmDocument (iGmDocument *, const iBlock *seed); |
119 | void setFormat_GmDocument (iGmDocument *, enum iGmDocumentFormat format); | 125 | void setFormat_GmDocument (iGmDocument *, enum iGmDocumentFormat format); |
120 | void setSiteBannerEnabled_GmDocument(iGmDocument *, iBool siteBannerEnabled); | 126 | void setBanner_GmDocument (iGmDocument *, enum iGmDocumentBanner type); |
121 | void setWidth_GmDocument (iGmDocument *, int width); | 127 | void setWidth_GmDocument (iGmDocument *, int width); |
122 | void redoLayout_GmDocument (iGmDocument *); | 128 | void redoLayout_GmDocument (iGmDocument *); |
123 | void setUrl_GmDocument (iGmDocument *, const iString *url); | 129 | void setUrl_GmDocument (iGmDocument *, const iString *url); |
@@ -135,6 +141,7 @@ void render_GmDocument (const iGmDocument *, iRangei visRan | |||
135 | iInt2 size_GmDocument (const iGmDocument *); | 141 | iInt2 size_GmDocument (const iGmDocument *); |
136 | const iGmRun * siteBanner_GmDocument (const iGmDocument *); | 142 | const iGmRun * siteBanner_GmDocument (const iGmDocument *); |
137 | iBool hasSiteBanner_GmDocument (const iGmDocument *); | 143 | iBool hasSiteBanner_GmDocument (const iGmDocument *); |
144 | enum iGmDocumentBanner bannerType_GmDocument(const iGmDocument *); | ||
138 | const iString * bannerText_GmDocument (const iGmDocument *); | 145 | const iString * bannerText_GmDocument (const iGmDocument *); |
139 | const iArray * headings_GmDocument (const iGmDocument *); /* array of GmHeadings */ | 146 | const iArray * headings_GmDocument (const iGmDocument *); /* array of GmHeadings */ |
140 | const iString * source_GmDocument (const iGmDocument *); | 147 | const iString * source_GmDocument (const iGmDocument *); |