#if !defined(AFX_STATUSDIALOG_H)
#define AFX_STATUSDIALOG_H

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// StatusDialog.h : header file
//
#include "gui/linkindicator.h"
#include "gui/timeindicator.h"
#include "lrstypesC.h"
#include "lrsconnectionstatus.h"

/////////////////////////////////////////////////////////////////////////////
// CLrsStatusDialog dialog

class CLrsStatusDialog : public CDialog
{
// Construction
public:
	CLrsStatusDialog(CWnd* pParent = NULL);
	~CLrsStatusDialog();

// Create this window as child of pParent
	BOOL Create(CWnd* pParent);

// Dialog Data
	//{{AFX_DATA(CLrsStatusDialog)
	enum { IDD = IDD_STATUS_DIALOG };
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CLrsStatusDialog)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	CImageList m_ilSmall;

	// Generated message map functions
	//{{AFX_MSG(CLrsStatusDialog)		
	virtual BOOL OnInitDialog();
	afx_msg void OnTimer(UINT nIDEvent);
	//}}AFX_MSG
	afx_msg LRESULT UpdateMessage(WPARAM wParam, LPARAM lParam);
	DECLARE_MESSAGE_MAP()

private:
	void UpdateDisplay(LRS::Message *msg);
	CLinkIndicator *m_pLinkIndicator;	
	CTimeIndicator *m_pTimeIndicator;
	CImageList m_imageList;
	int _lastLine;
	// Connection status Singleton class
	LrsConnectionStatus *_connectionstatus;
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_STATUSDIALOG_H)
