Added ChangeLog to keep make happy
[platform/core/uifw/at-spi2-atk.git] / cspi / spi_streamablecontent.c
index d79aa64..2bb1632 100644 (file)
  */
 
 #include <string.h>
-#include <libbonobo.h>
 #include <cspi/spi-private.h>
 
 #define CORBA_BLOCK_SIZE 65536 /* see libbonobo, dunno where this is officially dictated */
 
+#if 0  // TODO
 struct StreamCacheItem {
   Accessibility_ContentStream stream;
   gchar *mimetype;
@@ -147,18 +147,24 @@ accessible_content_stream_client_read (const Accessibility_ContentStream stream,
  io_error:
        return NULL;
 }
+#endif         // TODO
 
 /* internal use only, declared in cspi-private.h */
 void
 cspi_streams_close_all (void)
 {
+#if 0  // TODO
   if (streams)
     {
       g_hash_table_destroy (streams);
       streams = NULL;
     }
+#else
+  g_warning ("Streams not implemented yet");
+#endif // TODO
 }
 
+#if 0  // TODO
 /**
  * AccessibleStreamableContent_ref:
  * @obj: a pointer to the #AccessibleStreamableContent implementor on which to
@@ -400,7 +406,7 @@ AccessibleStreamableContent_read (AccessibleStreamableContent *obj,
   cached = g_hash_table_lookup (get_streams (), CSPI_OBJREF (obj));
   if (cached)
     {
-      CORBA_long len_read;
+      CORBA_long len_read = 0;
       stream = cached->stream;
       if (stream != CORBA_OBJECT_NIL)
        {
@@ -420,4 +426,4 @@ AccessibleStreamableContent_read (AccessibleStreamableContent *obj,
   else g_message ("no matching stream was opened...");
   return FALSE;
 }
-
+#endif // TODO