summaryrefslogtreecommitdiff
path: root/src/gmdocument.h
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-01-02 14:18:41 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-01-02 14:18:41 +0200
commitfe4302d8cbd04d64cab96d7781285a9cf602d591 (patch)
treecb1ba90fe45b7cc926e2376b69fff07621f9435f /src/gmdocument.h
parent51d823832538d495f382299ec668e7afa1cc12f8 (diff)
GmDocument: New link icon for Finger links
Added a new link flag to identify Finger links so they can use their own icon.
Diffstat (limited to 'src/gmdocument.h')
-rw-r--r--src/gmdocument.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/gmdocument.h b/src/gmdocument.h
index 7d962511..e2c7e10c 100644
--- a/src/gmdocument.h
+++ b/src/gmdocument.h
@@ -53,12 +53,13 @@ typedef uint16_t iGmLinkId;
53 53
54enum iGmLinkFlags { 54enum iGmLinkFlags {
55 gemini_GmLinkFlag = iBit(1), 55 gemini_GmLinkFlag = iBit(1),
56 gopher_finger_GmLinkFlag = iBit(2), 56 gopher_GmLinkFlag = iBit(2),
57 http_GmLinkFlag = iBit(3), 57 finger_GmLinkFlag = iBit(3),
58 file_GmLinkFlag = iBit(4), 58 http_GmLinkFlag = iBit(4),
59 data_GmLinkFlag = iBit(5), 59 file_GmLinkFlag = iBit(5),
60 about_GmLinkFlag = iBit(6), 60 data_GmLinkFlag = iBit(6),
61 mailto_GmLinkFlag = iBit(7), 61 about_GmLinkFlag = iBit(7),
62 mailto_GmLinkFlag = iBit(8),
62 supportedProtocol_GmLinkFlag = 0xff, 63 supportedProtocol_GmLinkFlag = 0xff,
63 remote_GmLinkFlag = iBit(9), 64 remote_GmLinkFlag = iBit(9),
64 humanReadable_GmLinkFlag = iBit(10), /* link has a human-readable description */ 65 humanReadable_GmLinkFlag = iBit(10), /* link has a human-readable description */