Files
wagic/projects/mtg/include/Trash.h
techdragon.nguyen@gmail.com e53c16f700 No code change just reformatting of header files.
finishing up my reformatting of the source from November/December following the guidelines that were posted.
some extra things I added:
   * Any empty virtual declarations were kept to one line.  
   * Enums were split up into separate lines to promote uniformity across all headers. ( each header file had a different style for enums)
2011-01-21 18:01:14 +00:00

26 lines
386 B
C++

#ifndef _TRASH_H_
#define _TRASH_H_
#include <vector>
#include "Pos.h"
#include "WEvent.h"
template<class T> void trash(T*);
class Trash
{
public:
static void cleanup();
};
template<class T>
class TrashBin
{
std::vector<T*> bin;
void put_out();
int receiveEvent(WEvent* e);
template<class Q> friend void trash(Q*);
friend class Trash;
};
#endif // _TRASH_H_