📄 sessionmgr.h
字号:
// SessionMgr.h: interface for the CSessionMgr class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_SESSIONMGR_H__45F29735_56DA_4696_AAB4_3A78F4D5E50A__INCLUDED_)
#define AFX_SESSIONMGR_H__45F29735_56DA_4696_AAB4_3A78F4D5E50A__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "SyncSession.h"
class CSessionMgr
{
public:
class CSessionNode
{
// CSessionList(){self=0;next=0;}
public:
char * pSessName;
CSyncSession* self;
CSessionNode* next;
};
CSyncSession* GetActiveSession();
CSessionNode* head;
CSyncSession* active;
CSessionMgr();
virtual ~CSessionMgr();
CSyncSession* GetSession(char* pID); //若不存在则创建这个session
void DropSession(String_t pID);
//static CSyncSession* m_pSess;
};
#endif // !defined(AFX_SESSIONMGR_H__45F29735_56DA_4696_AAB4_3A78F4D5E50A__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -