diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2013-07-25 20:15:05 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2013-07-25 20:15:05 +0000 |
commit | 9d32b9cd791fb5f51dad17567152c70a8511a500 (patch) | |
tree | fd7aa3250ed409e720f26c341c0a5d736ed8083c /plugins/ConnectionNotify/src/ConnectionNotify.cpp | |
parent | 125a25c86eed41352d45eb8fb6f994f65700c3ec (diff) |
replace sprintf to mir_snprintf (part 6)
git-svn-id: http://svn.miranda-ng.org/main/trunk@5485 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/ConnectionNotify/src/ConnectionNotify.cpp')
-rw-r--r-- | plugins/ConnectionNotify/src/ConnectionNotify.cpp | 39 |
1 files changed, 1 insertions, 38 deletions
diff --git a/plugins/ConnectionNotify/src/ConnectionNotify.cpp b/plugins/ConnectionNotify/src/ConnectionNotify.cpp index b1d8f294ac..8bc6f5f6d5 100644 --- a/plugins/ConnectionNotify/src/ConnectionNotify.cpp +++ b/plugins/ConnectionNotify/src/ConnectionNotify.cpp @@ -1,42 +1,4 @@ -#include <windows.h>
-//#include <stdio.h>
-#include <tchar.h>
-#include <Commctrl.h>
-#include <assert.h>
-#include "pid2name.h"
-
-
-#ifdef _DEBUG
-#include "debug.h"
-#endif
-
-#include "resource.h"
-
-
-#include <newpluginapi.h>
-
-#include <m_clist.h>
-#include <m_skin.h>
-#include <m_database.h>
-#include <m_langpack.h>
-//#include <m_plugins.h>
-#include <m_options.h>
-#include <m_popup.h>
-#include <m_utils.h>
-#include <m_protomod.h>
-#include <m_protosvc.h>
-#include <m_system.h>
-//#include <m_updater.h>
-
#include "ConnectionNotify.h"
-#include "netstat.h"
-#include "filter.h"
-#include "version.h"
-
-#define MAX_SETTING_STR 512
-#define PLUGINNAME "ConnectionNotify"
-
-#define STATUS_COUNT 9
HINSTANCE hInst;
@@ -77,6 +39,7 @@ struct CONNECTION *connCurrentEditModal=NULL; int currentStatus = ID_STATUS_OFFLINE,diffstat=0;
BOOL bOptionsOpen=FALSE;
TCHAR *tcpStates[]={_T("CLOSED"),_T("LISTEN"),_T("SYN_SENT"),_T("SYN_RCVD"),_T("ESTAB"),_T("FIN_WAIT1"),_T("FIN_WAIT2"),_T("CLOSE_WAIT"),_T("CLOSING"),_T("LAST_ACK"),_T("TIME_WAIT"),_T("DELETE_TCB")};
+
PLUGININFOEX pluginInfo={
sizeof(PLUGININFOEX),
PLUGINNAME,
|