#if _MSC_VER > 1000
|
#pragma once
|
#endif // _MSC_VER > 1000
|
// QLConnMgr.h : header file
|
//
|
|
#include "QLConnect.h"
|
#include "QLLoginInfo.h"
|
|
/////////////////////////////////////////////////////////////////////////////
|
// CQLConnMgr window
|
|
class CQLConnMgr
|
{
|
// Construction
|
public:
|
CQLConnMgr();
|
virtual ~CQLConnMgr();
|
|
// Attributes
|
public:
|
CList<CQLConnect*, CQLConnect*> m_listOIConnect;
|
|
// Operations
|
public:
|
void DetachConnectList();
|
|
POSITION ExistConnect( CQLLoginInfo *pLoginInfo );
|
POSITION ExistConnect( CString strSessionID );
|
CQLConnect * GetConnect( CQLLoginInfo *pLoginInfo, BOOL &bIsNew );
|
CQLConnect * GetConnect( CString strSessionID, BOOL &bIsNew );
|
BOOL RemoveConnect( CQLConnect *pConnect );
|
|
};
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//{{AFX_INSERT_LOCATION}}
|
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|