summaryrefslogtreecommitdiff
path: root/src/gmdocument.h
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2020-07-28 09:00:05 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2020-07-28 09:00:05 +0300
commit0700048de99c4a00094d594dcf321637514f3a6a (patch)
tree7752bab03bc7bed5c20346116772e46e7f70fce0 /src/gmdocument.h
parent96201f4fab0ac0d97211184d2cf93b1999f8a8b8 (diff)
Plaintext documents; unsupported MIME type error
Diffstat (limited to 'src/gmdocument.h')
-rw-r--r--src/gmdocument.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gmdocument.h b/src/gmdocument.h
index ebe0ed50..a97af029 100644
--- a/src/gmdocument.h
+++ b/src/gmdocument.h
@@ -30,6 +30,12 @@ const char * findLoc_GmRun (const iGmRun *, iInt2 pos);
30iDeclareClass(GmDocument) 30iDeclareClass(GmDocument)
31iDeclareObjectConstruction(GmDocument) 31iDeclareObjectConstruction(GmDocument)
32 32
33enum iGmDocumentFormat {
34 gemini_GmDocumentFormat,
35 plainText_GmDocumentFormat,
36};
37
38void setFormat_GmDocument (iGmDocument *, enum iGmDocumentFormat format);
33void setWidth_GmDocument (iGmDocument *, int width); 39void setWidth_GmDocument (iGmDocument *, int width);
34void setHost_GmDocument (iGmDocument *, const iString *host); /* local host name */ 40void setHost_GmDocument (iGmDocument *, const iString *host); /* local host name */
35void setSource_GmDocument (iGmDocument *, const iString *source, int width); 41void setSource_GmDocument (iGmDocument *, const iString *source, int width);