-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPyLoadsView.cpp
More file actions
34 lines (28 loc) · 799 Bytes
/
PyLoadsView.cpp
File metadata and controls
34 lines (28 loc) · 799 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#include "stdafx.h"
#include "PyLoadsView.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
void CPyLoadsView::Init(ILoadsViewController* pViewController)
{
m_pViewController = pViewController;
CPyViewControllerBase::Init(pViewController);
}
void CPyLoadsView::SortBy(ILoadsViewController::Field field, ILoadsViewController::Direction direction)
{
m_pViewController->SortBy(field, direction);
}
IndexType CPyLoadsView::GetLoadCount() const
{
return m_pViewController->GetLoadCount();
}
std::_tstring CPyLoadsView::GetFieldValue(IndexType idx, ILoadsViewController::Field field) const
{
return m_pViewController->GetFieldValue(idx, field);
}
void CPyLoadsView::DeleteLoad(IndexType idx)
{
m_pViewController->DeleteLoad(idx);
}