[maemo-commits] [maemo-commits] r9604 - projects/haf/trunk/hildon-fm/hildon-fm1-compat

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Fri Feb 2 18:38:04 EET 2007
Author: marivoll
Date: 2007-02-02 18:38:03 +0200 (Fri, 02 Feb 2007)
New Revision: 9604

Added:
   projects/haf/trunk/hildon-fm/hildon-fm1-compat/Makefile.am
   projects/haf/trunk/hildon-fm/hildon-fm1-compat/hildon-fm1-compat.c
Log:
New.


Added: projects/haf/trunk/hildon-fm/hildon-fm1-compat/Makefile.am
===================================================================
--- projects/haf/trunk/hildon-fm/hildon-fm1-compat/Makefile.am	2007-02-02 16:24:39 UTC (rev 9603)
+++ projects/haf/trunk/hildon-fm/hildon-fm1-compat/Makefile.am	2007-02-02 16:38:03 UTC (rev 9604)
@@ -0,0 +1,4 @@
+lib_LTLIBRARIES = libhildonfm.la
+
+libhildonfm_la_LDFLAGS = -version-info 1:0:0
+libhildonfm_la_SOURCES = hildon-fm1-compat.c

Added: projects/haf/trunk/hildon-fm/hildon-fm1-compat/hildon-fm1-compat.c
===================================================================
--- projects/haf/trunk/hildon-fm/hildon-fm1-compat/hildon-fm1-compat.c	2007-02-02 16:24:39 UTC (rev 9603)
+++ projects/haf/trunk/hildon-fm/hildon-fm1-compat/hildon-fm1-compat.c	2007-02-02 16:38:03 UTC (rev 9604)
@@ -0,0 +1,47 @@
+/*
+ * This file is part of hildon-fm package
+ *
+ * Copyright (C) 2005 Nokia Corporation.  All rights reserved.
+ *
+ * Contact: Marius Vollmer <marius.vollmer at nokia.com>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public License
+ * version 2.1 as published by the Free Software Foundation.
+ *
+ * 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
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA
+ *
+ */
+
+/* This is a thin compatability layer on top of libhildonfm.so.2 that
+   gives you (more or less) the ABI of the old libhildonfm.so.1.  This
+   works well enough since we only removed functions in
+   libhildonfm.so.2 but didn't change existing functions in an
+   incompatible way.
+
+   However, this hack is only a migration helper.  It will not be
+   officially supported.
+*/
+
+#include "hildon-file-common-private.h"
+
+gboolean
+hildon_file_selection_set_current_folder (HildonFileSelection *self,
+					  const GtkFilePath *folder,
+					  GError **error);
+
+gboolean
+hildon_file_selection_set_current_folder (HildonFileSelection *self,
+					  const GtkFilePath *folder,
+					  GError **error)
+{
+  return _hildon_file_selection_set_current_folder (self, folder, error);
+}


More information about the maemo-commits mailing list