Wt examples  3.2.3
/home/koen/project/wt/public-git/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(const std::string& name, WContainerWidget *parent = 0);
00030 
00033   void dropEvent(WDropEvent event);
00034 
00035 private:
00037   std::string name_;
00038 
00040   int redDrops_;
00041 
00043   int blueDrops_;
00044 };
00045 
00048 #endif // CHARACTER_H_

Generated on Thu Nov 1 2012 for the C++ Web Toolkit (Wt) by doxygen 1.7.5.1