00001
00002
00003
00004 #include <wx/wx.h>
00005 #include <time.h>
00006 #include <vector>
00007
00008 #include "CatalogManager.h"
00009 #include "global.h"
00010 #include "Stats.h"
00011
00012 #ifndef _STATISTICS_H_
00013 #define _STATISTICS_H_
00014
00015 using namespace Limiro;
00016
00017 class statistics
00018 {
00019 public:
00020 statistics();
00021 void initialise(wxWindow *parent,CatalogList files,time_t time);
00022 void destroy();
00023 bool draw_graph(wxPaintDC* dc);
00024 private:
00025 Stats stats;
00026 wxBoxSizer* sizer;
00027 wxButton* quit_btn;
00028 wxChoice* list;
00029 wxWindow* window;
00030 wxPen* pen;
00031 CatalogList files;
00032 time_t start_time;
00033 };
00034
00035 #endif // _STATISTICS_H_