*/
#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;
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
* Free the memory associated with a call to #AccessibleStreamableContent_getContentTypes, once
* the result has been used.
*
-* @Since: AT-SPI 1.4
+* Since: AT-SPI 1.4
**/
void
AccessibleStreamableContent_freeContentTypesList (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)
{
else g_message ("no matching stream was opened...");
return FALSE;
}
-
+#endif // TODO