/home/koen/project/wt/cvs/wt/examples/dragdrop/Character.h

Go to the documentation of this file.
00001 // This may look like C code, but it's really -*- C++ -*-
00002 /*
00003  * Copyright (C) 2008 Emweb bvba, Kessel-Lo, Belgium.
00004  *
00005  * See the LICENSE file for terms of use.
00006  */
00007 #ifndef CHARACTER_H_
00008 #define CHARACTER_H_
00009 
00010 #include <Wt/WText>
00011 
00012 using namespace Wt;
00013 
00018 
00024 class Character : public WText
00025 {
00026 public:
00029   Character(std::wstring name, WContainerWidget *parent = 0);
00030 
00033   void dropEvent(WDropEvent event);
00034 
00035 private:
00037   std::wstring name_;
00038 
00040   int redDrops_;
00041 
00043   int blueDrops_;
00044 };
00045 
00048 #endif // CHARACTER_H_

Generated on Fri Jul 25 17:05:59 2008 for Wt by doxygen 1.5.3