From 4766c66f800a3b549e0ee5a4f33d9857cf746d11 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Tue, 26 Feb 2013 14:07:56 +0000 Subject: added version info added precompiled header git-svn-id: http://svn.miranda-ng.org/main/trunk@3783 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/HistoryLinkListPlus/linklist_10.vcxproj | 23 +++++-- .../linklist_10.vcxproj.filters | 9 ++- plugins/HistoryLinkListPlus/linklist_11.vcxproj | 23 +++++-- .../linklist_11.vcxproj.filters | 9 ++- plugins/HistoryLinkListPlus/res/Version.rc | 38 +++++++++++ plugins/HistoryLinkListPlus/res/linklist.rc | 59 +--------------- plugins/HistoryLinkListPlus/src/Version.h | 14 ++++ plugins/HistoryLinkListPlus/src/linklist.cpp | 16 ++--- plugins/HistoryLinkListPlus/src/linklist.h | 79 +++++++++++----------- plugins/HistoryLinkListPlus/src/linklist_dlg.cpp | 20 ------ plugins/HistoryLinkListPlus/src/linklist_fct.cpp | 45 ++++-------- plugins/HistoryLinkListPlus/src/linklist_fct.h | 2 - plugins/HistoryLinkListPlus/src/stdafx.cpp | 18 +++++ plugins/HistoryLinkListPlus/src/utils.cpp | 29 -------- plugins/HistoryLinkListPlus/src/utils.h | 25 ------- 15 files changed, 177 insertions(+), 232 deletions(-) create mode 100644 plugins/HistoryLinkListPlus/res/Version.rc create mode 100644 plugins/HistoryLinkListPlus/src/Version.h create mode 100644 plugins/HistoryLinkListPlus/src/stdafx.cpp delete mode 100644 plugins/HistoryLinkListPlus/src/utils.cpp delete mode 100644 plugins/HistoryLinkListPlus/src/utils.h (limited to 'plugins/HistoryLinkListPlus') diff --git a/plugins/HistoryLinkListPlus/linklist_10.vcxproj b/plugins/HistoryLinkListPlus/linklist_10.vcxproj index 06ed1be28c..81eeec4e5f 100644 --- a/plugins/HistoryLinkListPlus/linklist_10.vcxproj +++ b/plugins/HistoryLinkListPlus/linklist_10.vcxproj @@ -76,11 +76,13 @@ Full Level3 WIN32;NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) + ..\..\include;%(AdditionalIncludeDirectories) Size true true false + Use + linklist.h NDEBUG;%(PreprocessorDefinitions) @@ -107,11 +109,13 @@ Full Level3 WIN64;NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) + ..\..\include;%(AdditionalIncludeDirectories) Size true true false + Use + linklist.h NDEBUG;%(PreprocessorDefinitions) @@ -140,8 +144,10 @@ EditAndContinue WIN32;_DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) EnableFastChecks - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) + ..\..\include;%(AdditionalIncludeDirectories) false + Use + linklist.h _DEBUG;%(PreprocessorDefinitions) @@ -163,11 +169,13 @@ Level3 WIN64;_DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) EnableFastChecks - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) + ..\..\include;%(AdditionalIncludeDirectories) false Disabled true false + Use + linklist.h _DEBUG;%(PreprocessorDefinitions) @@ -187,7 +195,9 @@ - + + Create + @@ -195,10 +205,11 @@ - + + diff --git a/plugins/HistoryLinkListPlus/linklist_10.vcxproj.filters b/plugins/HistoryLinkListPlus/linklist_10.vcxproj.filters index b7f1857be2..bb90eae945 100644 --- a/plugins/HistoryLinkListPlus/linklist_10.vcxproj.filters +++ b/plugins/HistoryLinkListPlus/linklist_10.vcxproj.filters @@ -21,10 +21,10 @@ Source Files - + Source Files - + Source Files @@ -44,7 +44,7 @@ Header Files - + Header Files @@ -52,5 +52,8 @@ Resources + + Resources + \ No newline at end of file diff --git a/plugins/HistoryLinkListPlus/linklist_11.vcxproj b/plugins/HistoryLinkListPlus/linklist_11.vcxproj index b1a56f6ea2..35895d9b03 100644 --- a/plugins/HistoryLinkListPlus/linklist_11.vcxproj +++ b/plugins/HistoryLinkListPlus/linklist_11.vcxproj @@ -80,11 +80,13 @@ Full Level3 WIN32;NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) + ..\..\include;%(AdditionalIncludeDirectories) Size true true false + Use + linklist.h NDEBUG;%(PreprocessorDefinitions) @@ -111,11 +113,13 @@ Full Level3 WIN64;NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) + ..\..\include;%(AdditionalIncludeDirectories) Size true true false + Use + linklist.h NDEBUG;%(PreprocessorDefinitions) @@ -144,8 +148,10 @@ EditAndContinue WIN32;_DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) EnableFastChecks - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) + ..\..\include;%(AdditionalIncludeDirectories) false + Use + linklist.h _DEBUG;%(PreprocessorDefinitions) @@ -167,11 +173,13 @@ Level3 WIN64;_DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) EnableFastChecks - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) + ..\..\include;%(AdditionalIncludeDirectories) false Disabled true false + Use + linklist.h _DEBUG;%(PreprocessorDefinitions) @@ -191,7 +199,9 @@ - + + Create + @@ -199,10 +209,11 @@ - + + diff --git a/plugins/HistoryLinkListPlus/linklist_11.vcxproj.filters b/plugins/HistoryLinkListPlus/linklist_11.vcxproj.filters index b7f1857be2..bb90eae945 100644 --- a/plugins/HistoryLinkListPlus/linklist_11.vcxproj.filters +++ b/plugins/HistoryLinkListPlus/linklist_11.vcxproj.filters @@ -21,10 +21,10 @@ Source Files - + Source Files - + Source Files @@ -44,7 +44,7 @@ Header Files - + Header Files @@ -52,5 +52,8 @@ Resources + + Resources + \ No newline at end of file diff --git a/plugins/HistoryLinkListPlus/res/Version.rc b/plugins/HistoryLinkListPlus/res/Version.rc new file mode 100644 index 0000000000..5bfbab4754 --- /dev/null +++ b/plugins/HistoryLinkListPlus/res/Version.rc @@ -0,0 +1,38 @@ +// Microsoft Visual C++ generated resource script. +// +#ifdef APSTUDIO_INVOKED +#error this file is not editable by Microsoft Visual C++ +#endif //APSTUDIO_INVOKED + +#include "afxres.h" +#include "..\src\version.h" + +VS_VERSION_INFO VERSIONINFO + FILEVERSION __FILEVERSION_STRING + PRODUCTVERSION __FILEVERSION_STRING + FILEFLAGSMASK 0x17L +#ifdef _DEBUG + FILEFLAGS 0x1L +#else + FILEFLAGS 0x0L +#endif + FILEOS 0x4L + FILETYPE 0x0L + FILESUBTYPE 0x0L +BEGIN + BLOCK "StringFileInfo" + BEGIN + BLOCK "000004b0" + BEGIN + VALUE "FileDescription", __DESCRIPTION + VALUE "InternalName", __PLUGIN_NAME + VALUE "LegalCopyright", __COPYRIGHT + VALUE "OriginalFilename", __FILENAME + VALUE "ProductName", __PLUGIN_NAME + END + END + BLOCK "VarFileInfo" + BEGIN + VALUE "Translation", 0x0, 1200 + END +END diff --git a/plugins/HistoryLinkListPlus/res/linklist.rc b/plugins/HistoryLinkListPlus/res/linklist.rc index 8b3a043aa5..5c02beeb70 100644 --- a/plugins/HistoryLinkListPlus/res/linklist.rc +++ b/plugins/HistoryLinkListPlus/res/linklist.rc @@ -15,52 +15,6 @@ ///////////////////////////////////////////////////////////////////////////// #undef APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// Russian (Russia) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_RUS) -LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT -#pragma code_page(1251) - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,0 - PRODUCTVERSION 1,0,0,2 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x40004L - FILETYPE 0x2L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "041904b0" - BEGIN - VALUE "FileDescription", "Plugin for Miranda NG" - VALUE "FileVersion", "1.0.0.0" - VALUE "LegalCopyright", "Copyright (C) 2010 Thomas Wendel, gureedo" - VALUE "ProductName", "History Linklist Plus" - VALUE "ProductVersion", "1.0.0.2" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x419, 1200 - END -END - -#endif // Russian (Russia) resources -///////////////////////////////////////////////////////////////////////////// - - ///////////////////////////////////////////////////////////////////////////// // German (Germany) resources @@ -96,17 +50,6 @@ END #endif // APSTUDIO_INVOKED -#endif // German (Germany) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (United States) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) - ///////////////////////////////////////////////////////////////////////////// // // Dialog @@ -258,7 +201,7 @@ END // Icon with lowest ID value placed first to ensure application icon // remains consistent on all systems. IDI_LINKLISTICON ICON "linklist.ico" -#endif // English (United States) resources +#endif // German (Germany) resources ///////////////////////////////////////////////////////////////////////////// diff --git a/plugins/HistoryLinkListPlus/src/Version.h b/plugins/HistoryLinkListPlus/src/Version.h new file mode 100644 index 0000000000..fa68a3d3ce --- /dev/null +++ b/plugins/HistoryLinkListPlus/src/Version.h @@ -0,0 +1,14 @@ +#define __MAJOR_VERSION 0 +#define __MINOR_VERSION 0 +#define __RELEASE_NUM 0 +#define __BUILD_NUM 2 + +#define __FILEVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM + +#define __PLUGIN_NAME "History linklist plus" +#define __FILENAME "LinkList.dll" +#define __DESCRIPTION "Generates a list of extracted URIs from the history." +#define __AUTHOR "Thomas Wendel, gureedo" +#define __AUTHOREMAIL "gureedo@gmail.com" +#define __AUTHORWEB "http://miranda-ng.org/" +#define __COPYRIGHT "© 2010-2011 gureedo" diff --git a/plugins/HistoryLinkListPlus/src/linklist.cpp b/plugins/HistoryLinkListPlus/src/linklist.cpp index d087998374..47b9ecc859 100644 --- a/plugins/HistoryLinkListPlus/src/linklist.cpp +++ b/plugins/HistoryLinkListPlus/src/linklist.cpp @@ -27,16 +27,16 @@ int hLangpack; PLUGININFOEX pluginInfo = { sizeof(PLUGININFOEX), - "History Linklist Plus", - PLUGIN_MAKE_VERSION(0,0,0,2), - "Generates a list of extracted URIs from the history.", - "Thomas Wendel, gureedo", - "gureedo@gmail.com", - "© 2010-2011 gureedo", - "http://miranda-ng.org/", + __PLUGIN_NAME, + PLUGIN_MAKE_VERSION(__MAJOR_VERSION, __MINOR_VERSION, __RELEASE_NUM, __BUILD_NUM), + __DESCRIPTION, + __AUTHOR, + __AUTHOREMAIL, + __COPYRIGHT, + __AUTHORWEB, UNICODE_AWARE, // {DA0B09F5-9C66-488C-AE37-8A5F191C9079} - { 0xDA0B09F5, 0x9C66, 0x488C, { 0xAE, 0x37, 0x8A, 0x5F, 0x19, 0x1C, 0x90, 0x79 } } + {0xDA0B09F5, 0x9C66, 0x488C, {0xAE, 0x37, 0x8A, 0x5F, 0x19, 0x1C, 0x90, 0x79}} }; BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) diff --git a/plugins/HistoryLinkListPlus/src/linklist.h b/plugins/HistoryLinkListPlus/src/linklist.h index 17cc63e9c9..10fd507975 100644 --- a/plugins/HistoryLinkListPlus/src/linklist.h +++ b/plugins/HistoryLinkListPlus/src/linklist.h @@ -21,23 +21,23 @@ #define _LINKLIST_H #define _CRT_SECURE_NO_WARNINGS + #include -#ifdef _DEBUG -#include -#endif #include +#include -// Miranda SDK Includes #include #include #include -#include #include +#include #include -#include "resource.h" -#include "linklist_dlg.h" #include "language.h" +#include "linklist_dlg.h" +#include "resource.h" +#include "Version.h" + // Filter Flags #define WLL_URL 0x01 @@ -73,6 +73,38 @@ #define BG_COL_DEF 0x00EAFFFF #define TXT_COL_DEF 0x00000000 +struct LISTELEMENT { + BYTE direction; + BYTE type; + TCHAR date[DATE_SIZE]; + TCHAR time[TIME_SIZE]; + TCHAR link[LINK_MAX]; + HANDLE hEvent; + int linePos; + struct LISTELEMENT *nextElement; +} ; + +typedef struct{ + BYTE openNewWindow; + BYTE updateWindow; + BYTE mouseEvent; + BYTE saveSpecial; + BYTE showDate; + BYTE showLine; + BYTE showTime; + BYTE showDirection; + BYTE showType; +}LISTOPTIONS; + +typedef struct{ + DWORD incoming; + DWORD outgoing; + DWORD background; + DWORD text; +} MYCOLOURSET; + +#include "linklist_fct.h" + #define LINKLIST_MODULE "HistoryLinklist" #define LINKLIST_IN_COL "InColour" #define LINKLIST_OUT_COL "OutColour" @@ -96,22 +128,11 @@ #define LINKLIST_SHOW_TYPE "ShowMessageType" - +#define _mstrlen(x) (_countof(x)-1) #define MAKE_TXT_COL(BGCol) ((DWORD)~BGCol & 0x00FFFFFF) #define DM_LINKSPLITTER WM_USER+99 -struct LISTELEMENT { - BYTE direction; - BYTE type; - TCHAR date[DATE_SIZE]; - TCHAR time[TIME_SIZE]; - TCHAR link[LINK_MAX]; - HANDLE hEvent; - int linePos; - struct LISTELEMENT *nextElement; -} ; - typedef struct LISTELEMENT LISTELEMENT; // Dialogbox Parameter @@ -126,26 +147,6 @@ typedef struct{ } DIALOGPARAM; -typedef struct{ - DWORD incoming; - DWORD outgoing; - DWORD background; - DWORD text; -} MYCOLOURSET; - - -typedef struct{ - BYTE openNewWindow; - BYTE updateWindow; - BYTE mouseEvent; - BYTE saveSpecial; - BYTE showDate; - BYTE showLine; - BYTE showTime; - BYTE showDirection; - BYTE showType; -}LISTOPTIONS; - static INT_PTR LinkList_Main(WPARAM, LPARAM); int InitOptionsDlg(WPARAM, LPARAM); int DBUpdate(WPARAM, LPARAM); diff --git a/plugins/HistoryLinkListPlus/src/linklist_dlg.cpp b/plugins/HistoryLinkListPlus/src/linklist_dlg.cpp index 66892ef692..c5b6a145b2 100644 --- a/plugins/HistoryLinkListPlus/src/linklist_dlg.cpp +++ b/plugins/HistoryLinkListPlus/src/linklist_dlg.cpp @@ -15,28 +15,8 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -#include -#include -#include "resource.h" -#ifdef _DEBUG -#include -#endif - -// Miranda SDK Includes -#pragma warning(disable:4996) -#pragma warning(disable:4100) -#include -#include -#include -#include -#include -#pragma warning(default:4100) -#pragma warning(default:4996) #include "linklist.h" -#include "linklist_dlg.h" -#include "linklist_fct.h" -#include "language.h" extern HINSTANCE hInst; extern HANDLE hWindowList; diff --git a/plugins/HistoryLinkListPlus/src/linklist_fct.cpp b/plugins/HistoryLinkListPlus/src/linklist_fct.cpp index 508ea89e0a..eb2e0ea98a 100644 --- a/plugins/HistoryLinkListPlus/src/linklist_fct.cpp +++ b/plugins/HistoryLinkListPlus/src/linklist_fct.cpp @@ -15,29 +15,8 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -#include -#include "resource.h" -#ifdef _DEBUG -#include -#endif - -// Miranda SDK Includes -#pragma warning(disable:4996) -#pragma warning(disable:4100) -#include -#include -#include -#include -#include -#include -#pragma warning(default:4100) -#pragma warning(default:4996) #include "linklist.h" -#include "linklist_fct.h" -#include "language.h" -#include "utils.h" - extern HINSTANCE hInst; extern HANDLE hWindowList; @@ -1320,18 +1299,18 @@ BOOL SaveEditAsStream( HWND hDlg ) // Initialize filename field _tcscpy_s(szFilename, _countof(szFilename), _T("*.rtf")); // Fill in OPENFILENAME struct - ZeroMemory(&ofn, sizeof(OPENFILENAME)); - ofn.lStructSize = sizeof(OPENFILENAME); - ofn.hwndOwner = hDlg; - TCHAR temp[MAX_PATH]; - mir_sntprintf(temp, SIZEOF(temp), _T("%s (*.rtf)%c*.rtf%c%s (*.*)%c*.*%c%c"), TranslateT("RTF file"), 0, 0, TranslateT("All files"), 0, 0, 0); - ofn.lpstrFilter = temp; - ofn.lpstrFile = szFilename; - ofn.nMaxFile = _countof(szFilename); - ofn.lpstrTitle = TranslateT("Save RTF File"); - ofn.Flags = OFN_OVERWRITEPROMPT; - // Get a filename or quit - if ( ! GetSaveFileName( &ofn )) + ZeroMemory(&ofn, sizeof(OPENFILENAME)); + ofn.lStructSize = sizeof(OPENFILENAME); + ofn.hwndOwner = hDlg; + TCHAR temp[MAX_PATH]; + mir_sntprintf(temp, SIZEOF(temp), _T("%s (*.rtf)%c*.rtf%c%s (*.*)%c*.*%c%c"), TranslateT("RTF file"), 0, 0, TranslateT("All files"), 0, 0, 0); + ofn.lpstrFilter = temp; + ofn.lpstrFile = szFilename; + ofn.nMaxFile = _countof(szFilename); + ofn.lpstrTitle = TranslateT("Save RTF File"); + ofn.Flags = OFN_OVERWRITEPROMPT; + // Get a filename or quit + if ( ! GetSaveFileName( &ofn )) return FALSE; // Create the specified file hFile = CreateFile( szFilename, GENERIC_WRITE, 0, NULL, diff --git a/plugins/HistoryLinkListPlus/src/linklist_fct.h b/plugins/HistoryLinkListPlus/src/linklist_fct.h index b29c8f82db..62b7bbc087 100644 --- a/plugins/HistoryLinkListPlus/src/linklist_fct.h +++ b/plugins/HistoryLinkListPlus/src/linklist_fct.h @@ -20,8 +20,6 @@ #ifndef _LINKLIST_FCT_H #define _LINKLIST_FCT_H -#include "linklist.h" - void DrawLine(HWND, size_t); BYTE GetFlags(HMENU); void GetFilterText(HMENU, LPTSTR, size_t); diff --git a/plugins/HistoryLinkListPlus/src/stdafx.cpp b/plugins/HistoryLinkListPlus/src/stdafx.cpp new file mode 100644 index 0000000000..c75ef98345 --- /dev/null +++ b/plugins/HistoryLinkListPlus/src/stdafx.cpp @@ -0,0 +1,18 @@ +/* +Copyright (C) 2012-13 Miranda NG Project (http://miranda-ng.org) + +This program is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License +as published by the Free Software Foundation version 2 +of the License. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + +#include "linklist.h" \ No newline at end of file diff --git a/plugins/HistoryLinkListPlus/src/utils.cpp b/plugins/HistoryLinkListPlus/src/utils.cpp deleted file mode 100644 index e21f75ee89..0000000000 --- a/plugins/HistoryLinkListPlus/src/utils.cpp +++ /dev/null @@ -1,29 +0,0 @@ -// History Linklist Plus -// Copyright (C) 2010 Thomas Wendel, gureedo -// -// This program is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License -// as published by the Free Software Foundation; either version 2 -// of the License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public License -// along with this program; if not, write to the Free Software -// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -#include - -// Miranda SDK Includes -#pragma warning(disable:4996) -#pragma warning(disable:4100) -#include -#include -#pragma warning(default:4100) -#pragma warning(default:4996) - -#include "utils.h" diff --git a/plugins/HistoryLinkListPlus/src/utils.h b/plugins/HistoryLinkListPlus/src/utils.h deleted file mode 100644 index 5338981bd0..0000000000 --- a/plugins/HistoryLinkListPlus/src/utils.h +++ /dev/null @@ -1,25 +0,0 @@ -// History Linklist Plus -// Copyright (C) 2010 Thomas Wendel, gureedo -// -// This program is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License -// as published by the Free Software Foundation; either version 2 -// of the License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public License -// along with this program; if not, write to the Free Software -// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -#pragma once - -#ifndef _UTILS_H_ -#define _UTILS_H_ - -#define _mstrlen(x) (_countof(x)-1) - -#endif // _UTILS_H_ \ No newline at end of file -- cgit v1.2.3