gnome-games r7199 - trunk/libgames-support



Author: chpe
Date: Sun Jan 13 22:08:33 2008
New Revision: 7199
URL: http://svn.gnome.org/viewvc/gnome-games?rev=7199&view=rev

Log:
Add function returning the card name. (Unimplemented for now.)


Modified:
   trunk/libgames-support/games-card.c
   trunk/libgames-support/games-card.h

Modified: trunk/libgames-support/games-card.c
==============================================================================
--- trunk/libgames-support/games-card.c	(original)
+++ trunk/libgames-support/games-card.c	Sun Jan 13 22:08:33 2008
@@ -21,3 +21,16 @@
 #include <glib/gi18n.h>
 
 #include "games-card.h"
+
+/**
+ * games_card_get_name:
+ * @card:
+ *
+ * Returns: a localised name for @card, e.g. "Face-down card" or
+ * "9 of clubs", etc.
+ */
+const char *
+games_card_get_name (Card card)
+{
+  return NULL;
+}

Modified: trunk/libgames-support/games-card.h
==============================================================================
--- trunk/libgames-support/games-card.h	(original)
+++ trunk/libgames-support/games-card.h	Sun Jan 13 22:08:33 2008
@@ -61,4 +61,6 @@
 #define GAMES_CARD_THEME_DEFAULT "bonded"
 #endif
 
+const char *games_card_get_name (Card card);
+
 #endif /* !GAMES_CARD_H */



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