[Scummvm-cvs-logs] CVS: scummvm/gui widget.h,1.11,1.12
Max Horn
fingolfin at users.sourceforge.net
Fri Dec 13 13:44:04 CET 2002
Update of /cvsroot/scummvm/scummvm/gui
In directory sc8-pr-cvs1:/tmp/cvs-serv32037
Modified Files:
widget.h
Log Message:
added TODO comment
Index: widget.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/gui/widget.h,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- widget.h 22 Nov 2002 14:02:33 -0000 1.11
+++ widget.h 13 Dec 2002 21:43:46 -0000 1.12
@@ -59,19 +59,18 @@
};
-
class CommandReceiver;
class CommandSender;
-class CommandReceiver
-{
-friend class CommandSender;
+class CommandReceiver {
+ friend class CommandSender;
protected:
virtual void handleCommand(CommandSender *sender, uint32 cmd, uint32 data) = 0;
};
-class CommandSender
-{
+class CommandSender {
+ // TODO - allow for multiple targets, i.e. store targets in a list
+ // and add methods addTarget/removeTarget.
protected:
CommandReceiver *_target;
public:
More information about the Scummvm-git-logs
mailing list