#if !defined(AFX_ABOUTDLG_H__6313DFA9_37B8_4AC1_A20F_9F0025A57017__INCLUDED_)
#define AFX_ABOUTDLG_H__6313DFA9_37B8_4AC1_A20F_9F0025A57017__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CAboutDlg dialog
#include "resource.h"
#include "apl_api.h"

class CAboutDlg : public CaplTranslateDialog
{
protected:
	CBitmap m_bmp;
	HICON m_logo_icon;
	CString m_sys_ver;
	CString GetVersion();
	
	CString m_sTitle;
// Construction
	CaplAPI	*m_api;
public:
	CAboutDlg(CaplAPI *api, CWnd* pParent = NULL);   // standard constructor
	CAboutDlg(CaplAPI *api, UINT nIDTemplate, CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CAboutDlg)
	enum { IDD = IDD_ABOUTBOX };
	CaplHyperLink	m_www_cals_ru;
	CaplHyperLink	m_info_cals_ru;
	CStatic m_phone_ctrl;
	CStatic	m_logo;
	CString	m_sModLic;
	CString	m_sSrvLic;
	CString	m_sModuleName;
	CString	m_sVer;
	//}}AFX_DATA

	void SetTitle(const TCHAR* title);
	void SetText(const TCHAR* text);
	void SetLogoIcon(HICON ico);


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CAboutDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CAboutDlg)
	virtual BOOL OnInitDialog();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
	
};

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

#endif // !defined(AFX_ABOUTDLG_H__6313DFA9_37B8_4AC1_A20F_9F0025A57017__INCLUDED_)
