glibmm r582 - in trunk: . gio/src



Author: jaalburqu
Date: Mon Feb  4 21:23:48 2008
New Revision: 582
URL: http://svn.gnome.org/viewvc/glibmm?rev=582&view=rev

Log:
2008-02-04  Josà Alburquerque  <jaalburqu svn gnome org>

	* gio/src/desktopappinfo.ccg:
	* gio/src/desktopappinfo.hg: Added DesktopAppInfo but not to
	Makefile_list_of_hg.am_fragment yet (need to use gio-unix-2.0.pc to
	compile correctly)


Added:
   trunk/gio/src/desktopappinfo.ccg
   trunk/gio/src/desktopappinfo.hg
Modified:
   trunk/ChangeLog

Added: trunk/gio/src/desktopappinfo.ccg
==============================================================================
--- (empty file)
+++ trunk/gio/src/desktopappinfo.ccg	Mon Feb  4 21:23:48 2008
@@ -0,0 +1,20 @@
+// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*-
+
+/* Copyright (C) 2007 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/desktopappinfo.hg
==============================================================================
--- (empty file)
+++ trunk/gio/src/desktopappinfo.hg	Mon Feb  4 21:23:48 2008
@@ -0,0 +1,43 @@
+// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*-
+
+/* Copyright (C) 2007 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 <glibmm/object.h>
+#include <giomm/appinfo.h>
+
+_DEFS(giomm,gio)
+_PINCLUDE(glibmm/private/object_p.h)
+
+namespace Gio
+{
+
+/**
+ * DesktopAppInfo is an implementation of AppInfo based on desktop files.
+ *
+ * @newin2p16
+ */
+class DesktopAppInfo
+: public Glib::Object,
+  public AppInfo
+{
+  _CLASS_GOBJECT(DesktopAppInfo, GDesktopAppInfo, G_DESKTOP_APP_INFO, Glib::Object, GObject)
+  _IMPLEMENTS_INTERFACE(AppInfo)
+};
+
+} // namespace Gio
+



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