r3023 - software/ui/src

Enrico Zini enrico at alioth.debian.org
Wed Jun 20 15:36:51 UTC 2007


Author: enrico
Date: 2007-06-20 15:36:51 +0000 (Wed, 20 Jun 2007)
New Revision: 3023

Modified:
   software/ui/src/Engine.h
Log:
Default to empty values for filter-setting methods

Modified: software/ui/src/Engine.h
===================================================================
--- software/ui/src/Engine.h	2007-06-20 14:55:05 UTC (rev 3022)
+++ software/ui/src/Engine.h	2007-06-20 15:36:51 UTC (rev 3023)
@@ -111,22 +111,22 @@
 	 * Set the keyword filter from the given string (which will be tokenized
 	 * and stemmed properly)
 	 */
-	void setKeywordFilter(const std::string& keywords);
+	void setKeywordFilter(const std::string& keywords = std::string());
 
 	/**
 	 * Set the game type filter
 	 */
-	void setTypeFilter(const ept::debtags::Tag& tag);
+	void setTypeFilter(const ept::debtags::Tag& tag = ept::debtags::Tag());
 
 	/**
 	 * Set the interface type filter
 	 */
-	void setInterfaceFilter(const ept::debtags::Tag& tag);
+	void setInterfaceFilter(const ept::debtags::Tag& tag = ept::debtags::Tag());
 
 	/**
 	 * Set the installed state filter
 	 */
-	void setInstalledFilter(Engine::State state);
+	void setInstalledFilter(Engine::State state = ANY);
 };
 
 // vim:set ts=4 sw=4:




More information about the Pkg-games-commits mailing list