From 1ac26e41d1de88965131401356c37497bf899ded Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Sat, 2 Mar 2013 19:53:14 +0000 Subject: removed not used headers added version info removed not used files git-svn-id: http://svn.miranda-ng.org/main/trunk@3855 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/NotifyAnything/sendlog/SendLog.cpp | 38 ------------------------------ 1 file changed, 38 deletions(-) delete mode 100644 plugins/NotifyAnything/sendlog/SendLog.cpp (limited to 'plugins/NotifyAnything/sendlog/SendLog.cpp') diff --git a/plugins/NotifyAnything/sendlog/SendLog.cpp b/plugins/NotifyAnything/sendlog/SendLog.cpp deleted file mode 100644 index 5cb46932da..0000000000 --- a/plugins/NotifyAnything/sendlog/SendLog.cpp +++ /dev/null @@ -1,38 +0,0 @@ -#include -#include - -#include -#include - -void implementation(int argc, char **argv, bool console); - -int main(int argc, char **argv) -try -{ - if (argc == 2 && !strcmp("/?", argv[1])) { - std::cout << "\n" - "Syntax: sendlog [-T] [-H host] [-P port] [-p prefix]\n" - "\tSends each input line as a separate message, with optional prefix.\n" - "\n" - "Syntax: sendlog text\n" - "\tSends single text message.\n" - "\n" - << std::flush; - return 0; - } - - implementation(argc, argv, true); -} -catch (DWORD err) { - LPVOID lpMsgBuf; - FormatMessage(FORMAT_MESSAGE_ALLOCATE_BUFFER|FORMAT_MESSAGE_FROM_SYSTEM|FORMAT_MESSAGE_IGNORE_INSERTS, - NULL, err, MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), (LPTSTR) &lpMsgBuf, 0, NULL); - - std::cerr << (LPCTSTR)lpMsgBuf << std::endl; - if (!std::cerr) - MessageBox(NULL, (LPCTSTR)lpMsgBuf, "sendlog", MB_OK); - - LocalFree(lpMsgBuf); - - return 1; -} -- cgit v1.2.3