Update lua versions
[ryzomcore.git] / nel / tools / misc / log_analyser / LogSessions.h
blob5c8f2ccd957cb13aa6dcbf2be8973af5492f252b
1 // NeL - MMORPG Framework <http://dev.ryzom.com/projects/nel/>
2 // Copyright (C) 2010 Winch Gate Property Limited
3 //
4 // This program is free software: you can redistribute it and/or modify
5 // it under the terms of the GNU Affero General Public License as
6 // published by the Free Software Foundation, either version 3 of the
7 // License, or (at your option) any later version.
8 //
9 // This program is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU Affero General Public License for more details.
14 // You should have received a copy of the GNU Affero General Public License
15 // along with this program. If not, see <http://www.gnu.org/licenses/>.
17 #include <vector>
19 #if !defined(AFX_LOGSESSIONS_H__24A056CC_9FE8_4A90_B3FF_DAF2BF4929F0__INCLUDED_)
20 #define AFX_LOGSESSIONS_H__24A056CC_9FE8_4A90_B3FF_DAF2BF4929F0__INCLUDED_
22 #if _MSC_VER > 1000
23 #pragma once
24 #endif // _MSC_VER > 1000
25 // LogSessions.h : header file
28 /////////////////////////////////////////////////////////////////////////////
29 // CLogSessions dialog
31 class CLogSessions : public CDialog
33 // Construction
34 public:
35 CLogSessions(CWnd* pParent = NULL); // standard constructor
37 ///
38 void addLogSession( const CString& line );
40 ///
41 void clear() { Sessions.clear(); }
43 ///
44 CString getStartDate() const;
46 std::vector<CString> Sessions;
47 std::vector<CString> Filenames;
49 // Dialog Data
50 //{{AFX_DATA(CLogSessions)
51 enum { IDD = IDD_LOGSESSIONS };
52 CListBox m_ListBox;
53 CString m_StartDate;
54 //}}AFX_DATA
57 // Overrides
58 // ClassWizard generated virtual function overrides
59 //{{AFX_VIRTUAL(CLogSessions)
60 protected:
61 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
62 //}}AFX_VIRTUAL
64 // Implementation
65 protected:
67 // Generated message map functions
68 //{{AFX_MSG(CLogSessions)
69 virtual BOOL OnInitDialog();
70 //}}AFX_MSG
71 DECLARE_MESSAGE_MAP()
74 //{{AFX_INSERT_LOCATION}}
75 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
77 #endif // !defined(AFX_LOGSESSIONS_H__24A056CC_9FE8_4A90_B3FF_DAF2BF4929F0__INCLUDED_)