Rev | Line | |
---|
[11] | 1 | // Connections.h: interface for the CConnections class.
|
---|
| 2 | //
|
---|
| 3 | //////////////////////////////////////////////////////////////////////
|
---|
| 4 |
|
---|
| 5 | #if !defined(AFX_CONNECTIONS_H__6DE30686_C724_11D1_8FE9_E4CD05C10000__INCLUDED_)
|
---|
| 6 | #define AFX_CONNECTIONS_H__6DE30686_C724_11D1_8FE9_E4CD05C10000__INCLUDED_
|
---|
| 7 |
|
---|
| 8 | #if _MSC_VER >= 1000
|
---|
| 9 | #pragma once
|
---|
| 10 | #endif // _MSC_VER >= 1000
|
---|
| 11 |
|
---|
| 12 | #include "Connection.h"
|
---|
| 13 |
|
---|
| 14 |
|
---|
| 15 | class CConnections : public CMap<CString,LPCTSTR ,CConnection*,CConnection*>
|
---|
| 16 | {
|
---|
| 17 | DECLARE_DYNAMIC(CConnections)
|
---|
| 18 | public:
|
---|
| 19 | void Serialize( CArchive& archive );
|
---|
| 20 | void RemoveAll();
|
---|
| 21 | void Remove(LPCTSTR sKey);
|
---|
| 22 | CConnection* Add(LPCTSTR sKey, WORD wType);
|
---|
| 23 | CConnections();
|
---|
| 24 | virtual ~CConnections();
|
---|
| 25 |
|
---|
| 26 | };
|
---|
| 27 |
|
---|
| 28 | #endif // !defined(AFX_CONNECTIONS_H__6DE30686_C724_11D1_8FE9_E4CD05C10000__INCLUDED_)
|
---|
Note:
See
TracBrowser
for help on using the repository browser.