⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 wpamsg.h

📁 IEEE802.11 a/b/g 客户端应用程序源代码
💻 H
字号:
/* * wpa_gui - WpaMsg class for storing event messages * Copyright (c) 2005-2006, Jouni Malinen <j@w1.fi> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * * Alternatively, this software may be distributed under the terms of BSD * license. * * See README and COPYING for more details. */#ifndef WPAMSG_H#define WPAMSG_H#include <QDateTime>#include <QLinkedList>class WpaMsg {public:	WpaMsg(const QString &_msg, int _priority = 2)		: msg(_msg), priority(_priority)	{		timestamp = QDateTime::currentDateTime();	}	QString getMsg() const { return msg; }	int getPriority() const { return priority; }	QDateTime getTimestamp() const { return timestamp; }private:	QString msg;	int priority;	QDateTime timestamp;};typedef QLinkedList<WpaMsg> WpaMsgList;#endif /* WPAMSG_H */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -