1// bmed.h : main header file for the BMED application
2//
3
4#if !defined(AFX_BMED_H__3C180D65_7355_11D3_9CCB_00400543CD04__INCLUDED_)
5#define AFX_BMED_H__3C180D65_7355_11D3_9CCB_00400543CD04__INCLUDED_
6
7#if _MSC_VER > 1000
8#pragma once
9#endif // _MSC_VER > 1000
10
11#ifndef __AFXWIN_H__
12	#error include 'stdafx.h' before including this file for PCH
13#endif
14
15#include "resource.h"		// main symbols
16
17#define kNcFTPBookmarksMailslot "\\\\.\\mailslot\\ncftpbm.slt"
18#define kNcFTPBookmarksMailslotMsgSize 128
19
20/////////////////////////////////////////////////////////////////////////////
21// CBmedApp:
22// See bmed.cpp for the implementation of this class
23//
24
25class CBmedApp : public CWinApp
26{
27public:
28	CBmedApp();
29
30protected:
31	CString m_selectedBookmarkName;
32	BOOL m_dirty;
33
34public:
35	void SetSelectedBookmark(LPCSTR s) { m_selectedBookmarkName = s; }
36	void SetDirty(BOOL b = TRUE) { m_dirty = b; }
37
38protected:
39	void SendSelectedBookmarkToNcFTP(void);
40
41// Overrides
42	// ClassWizard generated virtual function overrides
43	//{{AFX_VIRTUAL(CBmedApp)
44	public:
45	virtual BOOL InitInstance();
46	virtual int ExitInstance();
47	//}}AFX_VIRTUAL
48
49// Implementation
50
51	//{{AFX_MSG(CBmedApp)
52		// NOTE - the ClassWizard will add and remove member functions here.
53		//    DO NOT EDIT what you see in these blocks of generated code !
54	//}}AFX_MSG
55	DECLARE_MESSAGE_MAP()
56};
57
58extern CBmedApp theApp;
59
60/////////////////////////////////////////////////////////////////////////////
61
62//{{AFX_INSERT_LOCATION}}
63// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
64
65#endif // !defined(AFX_BMED_H__3C180D65_7355_11D3_9CCB_00400543CD04__INCLUDED_)
66