diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-07-28 09:00:05 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-07-28 09:00:05 +0300 |
commit | 0700048de99c4a00094d594dcf321637514f3a6a (patch) | |
tree | 7752bab03bc7bed5c20346116772e46e7f70fce0 /src/gmdocument.h | |
parent | 96201f4fab0ac0d97211184d2cf93b1999f8a8b8 (diff) |
Plaintext documents; unsupported MIME type error
Diffstat (limited to 'src/gmdocument.h')
-rw-r--r-- | src/gmdocument.h | 6 |
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); | |||
30 | iDeclareClass(GmDocument) | 30 | iDeclareClass(GmDocument) |
31 | iDeclareObjectConstruction(GmDocument) | 31 | iDeclareObjectConstruction(GmDocument) |
32 | 32 | ||
33 | enum iGmDocumentFormat { | ||
34 | gemini_GmDocumentFormat, | ||
35 | plainText_GmDocumentFormat, | ||
36 | }; | ||
37 | |||
38 | void setFormat_GmDocument (iGmDocument *, enum iGmDocumentFormat format); | ||
33 | void setWidth_GmDocument (iGmDocument *, int width); | 39 | void setWidth_GmDocument (iGmDocument *, int width); |
34 | void setHost_GmDocument (iGmDocument *, const iString *host); /* local host name */ | 40 | void setHost_GmDocument (iGmDocument *, const iString *host); /* local host name */ |
35 | void setSource_GmDocument (iGmDocument *, const iString *source, int width); | 41 | void setSource_GmDocument (iGmDocument *, const iString *source, int width); |