[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pingus-CVS] CVS: Games/Pingus/src file_reader.hxx,1.1,1.2
From: |
grumbel |
Subject: |
[Pingus-CVS] CVS: Games/Pingus/src file_reader.hxx,1.1,1.2 |
Date: |
20 Dec 2002 19:39:15 -0000 |
Update of /usr/local/cvsroot/Games/Pingus/src
In directory dark:/tmp/cvs-serv25084
Modified Files:
file_reader.hxx
Log Message:
bye bye pointer, welcome references
Index: file_reader.hxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/file_reader.hxx,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- file_reader.hxx 20 Dec 2002 18:45:41 -0000 1.1
+++ file_reader.hxx 20 Dec 2002 19:39:13 -0000 1.2
@@ -28,11 +28,11 @@
class FileReader
{
public:
- virtual bool read_int (const char* name, int*) =0;
- virtual bool read_float (const char* name, float*) =0;
- virtual bool read_bool (const char* name, bool*) =0;
- virtual bool read_string(const char* name, std::string*) =0;
- virtual bool read_vector(const char* name, Vector*) =0;
+ virtual bool read_int (const char* name, int&) =0;
+ virtual bool read_float (const char* name, float&) =0;
+ virtual bool read_bool (const char* name, bool&) =0;
+ virtual bool read_string(const char* name, std::string&) =0;
+ virtual bool read_vector(const char* name, Vector&) =0;
};
#endif
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] CVS: Games/Pingus/src file_reader.hxx,1.1,1.2,
grumbel <=
- Prev by Date:
[Pingus-CVS] CVS: Games/Pingus/src/worldobjsdata groundpiece_data.cxx,1.8,1.9
- Next by Date:
[Pingus-CVS] CVS: Games/Pingus/src/editor Makefile.am,1.31,1.32 entrance_window.cxx,1.6,NONE entrance_window.hxx,1.7,NONE exit_window.cxx,1.1,NONE exit_window.hxx,1.2,NONE groundpiece_window.cxx,1.12,NONE groundpiece_window.hxx,1.9,NONE
- Previous by thread:
[Pingus-CVS] CVS: Games/Pingus/src/worldobjsdata groundpiece_data.cxx,1.8,1.9
- Next by thread:
[Pingus-CVS] CVS: Games/Pingus/src/editor Makefile.am,1.31,1.32 entrance_window.cxx,1.6,NONE entrance_window.hxx,1.7,NONE exit_window.cxx,1.1,NONE exit_window.hxx,1.2,NONE groundpiece_window.cxx,1.12,NONE groundpiece_window.hxx,1.9,NONE
- Index(es):