#if !defined(AFX_ERRVIEW_H__4BD7622C_CCD2_4848_A7F1_C4AE71568376__INCLUDED_)
#define AFX_ERRVIEW_H__4BD7622C_CCD2_4848_A7F1_C4AE71568376__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ErrView.h : header file
//

#include "SKOKODoc.h"

/////////////////////////////////////////////////////////////////////////////
// CErrView view

class CErrView : public CListView
{
protected:
  CErrView();           // protected constructor used by dynamic creation
  DECLARE_DYNCREATE(CErrView)

// Attributes
public:
  CSKOKODoc* GetDocument();

// Operations
public:
	void Refresh( void );
  void Reset( void );

// Overrides
  // ClassWizard generated virtual function overrides
  //{{AFX_VIRTUAL(CErrView)
  public:
  virtual void OnInitialUpdate();
  protected:
  virtual void OnDraw(CDC* pDC);      // overridden to draw this view
  virtual void OnUpdate(CView* pSender, LPARAM lHint, CObject* pHint);
  //}}AFX_VIRTUAL

// Implementation
protected:
  virtual ~CErrView();
#ifdef _DEBUG
  virtual void AssertValid() const;
  virtual void Dump(CDumpContext& dc) const;
#endif

  // Generated message map functions
protected:
  //{{AFX_MSG(CErrView)
  afx_msg void OnGetdispinfo(NMHDR* pNMHDR, LRESULT* pResult);
  //}}AFX_MSG
  DECLARE_MESSAGE_MAP()

private:

  void RefreshListCtrl( void );
  void UpdateCountIndicator( void );
  void Init( void );
  BOOL m_firstUpdate;
};

#ifndef _DEBUG  // debug version in SKOKOView.cpp
inline CSKOKODoc* CErrView::GetDocument()
   { return (CSKOKODoc*)m_pDocument; }
#endif

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_ERRVIEW_H__4BD7622C_CCD2_4848_A7F1_C4AE71568376__INCLUDED_)
