glibmm r517 - in trunk: . gio/giomm gio/src glib/glibmm glib/glibmm/private



Author: markoa
Date: Wed Jan 16 23:56:04 2008
New Revision: 517
URL: http://svn.gnome.org/viewvc/glibmm?rev=517&view=rev

Log:
2008-01-17  Marko Anastasov  <marko anastasov gmail com>

	* gio/src/filterinputstream.ccg:
	* gio/src/filterinputstream.hg:
	* gio/src/Makefile_list_of_hg.am_fragment: Added FilterInputStream.

	Updated svn:ignore properties.


Added:
   trunk/gio/src/filterinputstream.ccg
   trunk/gio/src/filterinputstream.hg
Modified:
   trunk/ChangeLog
   trunk/gio/giomm/   (props changed)
   trunk/gio/src/Makefile_list_of_hg.am_fragment
   trunk/glib/glibmm/   (props changed)
   trunk/glib/glibmm/private/   (props changed)

Modified: trunk/gio/src/Makefile_list_of_hg.am_fragment
==============================================================================
--- trunk/gio/src/Makefile_list_of_hg.am_fragment	(original)
+++ trunk/gio/src/Makefile_list_of_hg.am_fragment	Wed Jan 16 23:56:04 2008
@@ -6,9 +6,10 @@
 files_posix_hg =
 files_win32_hg =
 files_general_hg = appinfo.hg asyncresult.hg cancellable.hg drive.hg file.hg fileattribute.hg \
-                   fileenumerator.hg fileicon.hg fileinfo.hg fileinputstream.hg fileoutputstream.hg filemonitor.hg \
-                   icon.hg inputstream.hg loadableicon.hg mount.hg mountoperation.hg outputstream.hg seekable.hg \
-                   simpleasyncresult.hg volume.hg volumemonitor.hg
+                   fileenumerator.hg fileicon.hg fileinfo.hg fileinputstream.hg fileoutputstream.hg \
+		   filemonitor.hg filterinputstream.hg \
+                   icon.hg inputstream.hg loadableicon.hg mount.hg mountoperation.hg outputstream.hg \
+		   seekable.hg simpleasyncresult.hg volume.hg volumemonitor.hg
 
 include $(top_srcdir)/build_shared/Makefile_build_gensrc.am_fragment
 

Added: trunk/gio/src/filterinputstream.ccg
==============================================================================
--- (empty file)
+++ trunk/gio/src/filterinputstream.ccg	Wed Jan 16 23:56:04 2008
@@ -0,0 +1,20 @@
+// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*-
+
+/* Copyright (C) 2008 The gtkmm Development Team
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the Free
+ * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+#include <gio/gio.h>

Added: trunk/gio/src/filterinputstream.hg
==============================================================================
--- (empty file)
+++ trunk/gio/src/filterinputstream.hg	Wed Jan 16 23:56:04 2008
@@ -0,0 +1,43 @@
+// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*-
+
+/* Copyright (C) 2008 The gtkmm Development Team
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the Free
+ * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+#include <gio/gio.h>
+
+#include <giomm/inputstream.h>
+#include <glibmm/object.h>
+
+_DEFS(giomm,gio)
+_PINCLUDE(giomm/private/inputstream_p.h)
+
+namespace Gio
+{
+
+class FilterInputStream : public Gio::InputStream
+{
+public:
+  _WRAP_METHOD(Glib::RefPtr<InputStream> get_base_stream(),
+               g_filter_input_stream_get_base_stream,
+               refreturn)
+
+  _WRAP_METHOD(Glib::RefPtr<const InputStream> get_base_stream() const,
+               g_filter_input_stream_get_base_stream,
+               refreturn, constversion)
+};
+
+} // namespace Gio



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]