00001 /* 00002 Free Download Manager Copyright (c) 2003-2007 FreeDownloadManager.ORG 00003 Open Download Manager Copyright (c) 2008-2010 OpenDownloadManager.ORG 00004 */ 00005 00006 #if !defined(AFX_FSRASMGR_H__F883A1B7_5803_4B21_B746_1FFC223A8DCA__INCLUDED_) 00007 #define AFX_FSRASMGR_H__F883A1B7_5803_4B21_B746_1FFC223A8DCA__INCLUDED_ 00008 00009 #if _MSC_VER > 1000 00010 #pragma once 00011 #endif 00012 00013 #include <ras.h> 00014 #include <raserror.h> 00015 #include "list.h" 00016 00017 class fsRASMgr 00018 { 00019 public: 00020 00021 BOOL EnumEntries(); 00022 00023 UINT GetEntriesCount(); 00024 00025 LPCSTR GetEntry (UINT nEntry); 00026 00027 BOOL EnumConnections(); 00028 int GetConnectionCount(); 00029 LPRASCONN GetConnection (int iIndex); 00030 00031 fsRASMgr(); 00032 virtual ~fsRASMgr(); 00033 00034 protected: 00035 fs::list <CString> m_vEntries; 00036 fs::list <RASCONN> m_vConns; 00037 }; 00038 00039 #endif
1.5.6