From 0700048de99c4a00094d594dcf321637514f3a6a Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Tue, 28 Jul 2020 09:00:05 +0300 Subject: Plaintext documents; unsupported MIME type error --- src/gmdocument.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/gmdocument.h') 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); iDeclareClass(GmDocument) iDeclareObjectConstruction(GmDocument) +enum iGmDocumentFormat { + gemini_GmDocumentFormat, + plainText_GmDocumentFormat, +}; + +void setFormat_GmDocument (iGmDocument *, enum iGmDocumentFormat format); void setWidth_GmDocument (iGmDocument *, int width); void setHost_GmDocument (iGmDocument *, const iString *host); /* local host name */ void setSource_GmDocument (iGmDocument *, const iString *source, int width); -- cgit v1.2.3