TheChess

widgets/RatingChanges.hpp

00001 /*
00002  * thechess, chess game web application written in C++ and based on Wt
00003  * Copyright (C) 2010 Boris Nagaev
00004  *
00005  * thechess is licensed under the GNU GPL Version 2.
00006  * Other versions of the GPL do not apply.
00007  * See the LICENSE file for terms of use.
00008  */
00009 
00010 #ifndef THECHESS_WIDGETS_RATING_CHANGES_HPP_
00011 #define THECHESS_WIDGETS_RATING_CHANGES_HPP_
00012 
00013 #include <Wt/WCompositeWidget>
00014 
00015 #include "model/User.hpp"
00016 
00017 namespace Wt {
00018 class WContainerWidget;
00019 }
00020 
00021 namespace thechess {
00022 namespace widgets {
00023 
00024 using model::UserPtr;
00025 
00026 class RatingChangesImpl;
00027 
00028 class RatingChanges : public Wt::WCompositeWidget {
00029 public:
00030     RatingChanges(UserPtr user, Wt::WContainerWidget* parent=0);
00031     void add_user(UserPtr user);
00032 
00033 private:
00034     RatingChangesImpl* impl_;
00035 };
00036 
00037 }
00038 }
00039 
00040 #endif
00041 
 All Classes Functions Enumerations Enumerator