Implemented date/time Glk functions
[projects/chimara/chimara.git] / libchimara / gestalt.c
index 749bc43271aa2349d6b083be09ef9224eb9c8fc4..e2eceefdfced743b2e965560aa85d6bfcf348f96 100644 (file)
@@ -5,7 +5,7 @@
 /* Version of the Glk specification implemented by this library */
 #define MAJOR_VERSION 0
 #define MINOR_VERSION 7
-#define SUB_VERSION   0
+#define SUB_VERSION   2
 
 /**
  * glk_gestalt:
@@ -126,7 +126,14 @@ glk_gestalt_ext(glui32 sel, glui32 val, glui32 *arr, glui32 arrlen)
                case gestalt_GraphicsTransparency:
                        return 1;
 
+               case gestalt_DateTime:
+                       return 1;
+
+               /* Capabilities supported if compiled with GStreamer */
                case gestalt_Sound:
+               case gestalt_SoundVolume:
+               case gestalt_SoundNotify:
+               case gestalt_SoundMusic:
 #ifdef GSTREAMER_SOUND
                        return 1;
 #else
@@ -134,9 +141,10 @@ glk_gestalt_ext(glui32 sel, glui32 val, glui32 *arr, glui32 arrlen)
 #endif
                        
                /* Unsupported capabilities */
-               case gestalt_SoundVolume:
-               case gestalt_SoundNotify:
-               case gestalt_SoundMusic:
+               case gestalt_LineInputEcho:
+               case gestalt_LineTerminatorKey:
+               case gestalt_LineTerminators:
+               case gestalt_UnicodeNorm:
                /* Selector not supported */    
                default:
                        return 0;