
/*	Copyright (C) G. Jespersen
	See Licence.txt.*/

// DsLavSplit.h : main header file for the DSLAVSPLIT application
//

#if !defined(AFX_DSLAVSPLIT_H__E9DB53D7_497A_4334_AC02_1BA86610356B__INCLUDED_)
#define AFX_DSLAVSPLIT_H__E9DB53D7_497A_4334_AC02_1BA86610356B__INCLUDED_

#include "DsLavDoc.h"

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#ifndef __AFXWIN_H__
	#error include 'stdafx.h' before including this file for PCH
#endif

#include "resource.h"       // main symbols

/////////////////////////////////////////////////////////////////////////////
// CDsLavApp:
// See DsLavSplit.cpp for the implementation of this class
//

class CDsLavApp : public CWinApp
{
public:
	CDsLavApp();

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CDsLavApp)
	public:
	virtual BOOL InitInstance();
	//}}AFX_VIRTUAL

// Implementation
	//{{AFX_MSG(CDsLavApp)
	afx_msg void OnAppAbout();
		// NOTE - the ClassWizard will add and remove member functions here.
		//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

	public:
	CDsLavDoc * m_pDocument;		// CDsLavDoc ptr
	HWND	m_hwndControlBar;		// Handle to CControlBar
	HWND	m_hwndSplitterView;		// Handle to CDsLavSplitterView
	HWND	m_hwndTreeView;			// Handle to CDsLavTabView 
	HWND	m_hwndListView;			// Handle to CDsLavListView 
	HWND	m_hwndVideoView;			// Handle to CDsLavVideoView 
	HWND	m_hwndCurRightPane;		// Handle to current right pane - list or video view 
	HWND	m_hwndDvdNavDlg;			// Handle to modal CDvdNavDlg 

	// View ptrs.
	CDsLavSplitterView * m_pSplitterView;

	// Clipboard
	UINT	m_uiCbMediaItem;

	// Current directory.
	CString m_curDirectory;

	// User settings directory.
	BOOL	GetUserSettingsFolder(CString & path); // rework

	// String Buffer for Worker Thread messages.
	void SetThreadMessage(const CString & str);
	BOOL GetThreadMessage(CString & str); 
private:
	CCriticalSection m_critSection;
	CString m_strBuff;


};


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

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

#endif // !defined(AFX_DSLAVSPLIT_H__E9DB53D7_497A_4334_AC02_1BA86610356B__INCLUDED_)
