diff options
Diffstat (limited to 'src/defs.h')
-rw-r--r-- | src/defs.h | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -24,18 +24,26 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ | |||
24 | 24 | ||
25 | #include "lang.h" | 25 | #include "lang.h" |
26 | 26 | ||
27 | enum iSourceFormat { | ||
28 | undefined_SourceFormat = -1, | ||
29 | gemini_SourceFormat = 0, | ||
30 | plainText_SourceFormat, | ||
31 | }; | ||
32 | |||
27 | enum iFileVersion { | 33 | enum iFileVersion { |
28 | initial_FileVersion = 0, | 34 | initial_FileVersion = 0, |
29 | addedResponseTimestamps_FileVersion = 1, | 35 | addedResponseTimestamps_FileVersion = 1, |
30 | multipleRoots_FileVersion = 2, | 36 | multipleRoots_FileVersion = 2, |
31 | serializedSidebarState_FileVersion = 3, | 37 | serializedSidebarState_FileVersion = 3, |
38 | addedRecentUrlFlags_FileVersion = 4, | ||
32 | /* meta */ | 39 | /* meta */ |
33 | idents_FileVersion = 1, /* version used by GmCerts/idents.lgr */ | 40 | idents_FileVersion = 1, /* version used by GmCerts/idents.lgr */ |
34 | latest_FileVersion = 3, | 41 | latest_FileVersion = 4, |
35 | }; | 42 | }; |
36 | 43 | ||
37 | /* Icons */ | 44 | /* Icons */ |
38 | 45 | ||
46 | #define menu_Icon "\U0001d362" | ||
39 | #define rightArrowhead_Icon "\u27a4" | 47 | #define rightArrowhead_Icon "\u27a4" |
40 | #define leftArrowhead_Icon "\u27a4" | 48 | #define leftArrowhead_Icon "\u27a4" |
41 | #define warning_Icon "\u26a0" | 49 | #define warning_Icon "\u26a0" |
@@ -104,6 +112,9 @@ enum iFileVersion { | |||
104 | # define shiftReturn_Icon shift_Icon " " return_Icon | 112 | # define shiftReturn_Icon shift_Icon " " return_Icon |
105 | #endif | 113 | #endif |
106 | 114 | ||
115 | #if defined (iPlatformAppleDesktop) | ||
116 | # define iHaveNativeMenus | ||
117 | #endif | ||
107 | 118 | ||
108 | /* UI labels that depend on the platform */ | 119 | /* UI labels that depend on the platform */ |
109 | 120 | ||