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

📄 main.cpp

📁 IEEE802.11 a/b/g 客户端应用程序源代码
💻 CPP
字号:
/* * wpa_gui - Application startup * 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. */#ifdef CONFIG_NATIVE_WINDOWS#include <winsock.h>#endif /* CONFIG_NATIVE_WINDOWS */#include <QApplication>#include "wpagui.h"int main(int argc, char *argv[]){	QApplication app(argc, argv);	WpaGui w;	int ret;#ifdef CONFIG_NATIVE_WINDOWS	WSADATA wsaData;	if (WSAStartup(MAKEWORD(2, 0), &wsaData)) {		printf("Could not find a usable WinSock.dll\n");		return -1;	}#endif /* CONFIG_NATIVE_WINDOWS */	w.show();	app.connect(&app, SIGNAL(lastWindowClosed()), &app, SLOT(quit()));	ret = app.exec();#ifdef CONFIG_NATIVE_WINDOWS	WSACleanup();#endif /* CONFIG_NATIVE_WINDOWS */	return ret;}

⌨️ 快捷键说明

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