代码拉取完成,页面将自动刷新
同步操作将从 likecg/kbengine 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
#pragma once
#include "afxwin.h"
#include "ColorListBox.h"
#include "MultiLineListBox.h"
#include "common/common.h"
#include "network/address.h"
#include "afxcmn.h"
#include "afxbutton.h"
// CLogWindow dialog
class CLogWindow : public CDialog
{
DECLARE_DYNAMIC(CLogWindow)
public:
CLogWindow(CWnd* pParent = NULL); // standard constructor
virtual ~CLogWindow();
// Dialog Data
enum { IDD = IDD_LOG };
void autoWndSize();
virtual BOOL OnInitDialog();
KBEngine::uint32 getSelLogTypes();
std::vector<KBEngine::COMPONENT_TYPE> getSelComponents();
void onReceiveRemoteLog(std::string str, bool fromServer = true);
void onConnectStatus(bool success, KBEngine::Network::Address addr);
void pullLogs(KBEngine::Network::Address addr);
void updateLogBtnStatus(bool updateList = true);
void updateSettingToServer();
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
DECLARE_MESSAGE_MAP()
public:
CButton m_autopull;
CCheckListBox m_componentlist;
CCheckListBox m_msgTypeList;
CStatic m_optiongroup;
CStatic m_appIDstatic, m_appIDstatic1, m_dateStatic, m_findStatic;
CEdit m_appIDEdit, m_appIDEdit1, m_dateEdit, m_findEdit;
afx_msg void OnBnClickedButton1();
CMultiLineListBox m_loglist;
bool pulling;
afx_msg void OnTimer(UINT_PTR nIDEvent);
float m_edit_height;
CSpinButtonCtrl m_showOptionWindow;
bool m_startShowOptionWnd;
afx_msg void OnDeltaposSpin1(NMHDR *pNMHDR, LRESULT *pResult);
CButton m_errBtn;
CButton m_warnBtn;
CButton m_infoBtn;
int m_errCount;
int m_warnCount;
int m_infoCount;
BOOL m_errChecked;
BOOL m_warnChecked;
BOOL m_infoChecked;
HBITMAP hErrBitmap, hErrBitmap1;
HBITMAP hWarnBitmap, hWarnBitmap1;
HBITMAP hInfoBitmap, hInfoBitmap1;
afx_msg void OnBnClickedWarning();
afx_msg void OnBnClickedError();
afx_msg void OnBnClickedInfo();
CMFCButton m_clear;
afx_msg void OnBnClickedMfcbutton1();
afx_msg void OnNMThemeChangedAppList1(NMHDR *pNMHDR, LRESULT *pResult);
afx_msg void OnLbnSelchangeAppList1();
afx_msg void OnLbnSelchangeMsgtypeList2();
std::list<std::string> m_logs_;
CButton m_pullonce;
bool isfind_;
afx_msg void OnBnClickedButton2();
afx_msg void OnStnClickedStaticAppid1();
};
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。