[Aptitude-svn-commit] r3553 - in branches/aptitude-0.3/aptitude: . src

Daniel Burrows dburrows@costa.debian.org
Sat, 02 Jul 2005 17:38:45 +0000


Author: dburrows
Date: Sat Jul  2 17:38:42 2005
New Revision: 3553

Modified:
   branches/aptitude-0.3/aptitude/ChangeLog
   branches/aptitude-0.3/aptitude/src/ui.h
Log:
String callbacks should take wstrings.

Modified: branches/aptitude-0.3/aptitude/ChangeLog
==============================================================================
--- branches/aptitude-0.3/aptitude/ChangeLog	(original)
+++ branches/aptitude-0.3/aptitude/ChangeLog	Sat Jul  2 17:38:42 2005
@@ -2,6 +2,10 @@
 
 	* src/ui.h:
 
+	  Make the string callbacks take wstrings.
+
+	* src/ui.h:
+
 	  Add wstring variants of some interface functions.
 
 	* src/pkg_sortpolicy.h:

Modified: branches/aptitude-0.3/aptitude/src/ui.h
==============================================================================
--- branches/aptitude-0.3/aptitude/src/ui.h	(original)
+++ branches/aptitude-0.3/aptitude/src/ui.h	Sat Jul  2 17:38:42 2005
@@ -178,16 +178,16 @@
 
 void prompt_string(const std::string &prompt,
 		   const std::string &text,
-		   slotarg<sigc::slot1<void, string> > slot,
+		   slotarg<sigc::slot1<void, wstring> > slot,
 		   slotarg<sigc::slot0<void> > cancel_slot,
-		   slotarg<sigc::slot1<void, string> > changed_slot,
+		   slotarg<sigc::slot1<void, wstring> > changed_slot,
 		   vs_editline::history_list *history);
 
 void prompt_string(const std::wstring &prompt,
 		   const std::wstring &text,
-		   slotarg<sigc::slot1<void, string> > slot,
+		   slotarg<sigc::slot1<void, wstring> > slot,
 		   slotarg<sigc::slot0<void> > cancel_slot,
-		   slotarg<sigc::slot1<void, string> > changed_slot,
+		   slotarg<sigc::slot1<void, wstring> > changed_slot,
 		   vs_editline::history_list *history);
 
 void prompt_yesno(const std::string &prompt,