From cb891a9732d77dde425052b6d11dc8024492e80a Mon Sep 17 00:00:00 2001 From: Berke Viktor Date: Sun, 21 Oct 2012 06:40:28 +0200 Subject: Rename WinSys on the code level --- plugins/sysinfo/sysinfo-xp.vcxproj | 20 ++++++++++---------- plugins/sysinfo/sysinfo-xp.vcxproj.filters | 4 ++-- plugins/sysinfo/sysinfo.cpp | 10 +++++----- plugins/sysinfo/sysinfo.vcxproj | 18 +++++++++--------- plugins/sysinfo/sysinfo.vcxproj.filters | 4 ++-- 5 files changed, 28 insertions(+), 28 deletions(-) (limited to 'plugins') diff --git a/plugins/sysinfo/sysinfo-xp.vcxproj b/plugins/sysinfo/sysinfo-xp.vcxproj index 370a96cd..1a53e87f 100644 --- a/plugins/sysinfo/sysinfo-xp.vcxproj +++ b/plugins/sysinfo/sysinfo-xp.vcxproj @@ -13,8 +13,8 @@ {6C0CA980-97C5-427A-BE61-5BCECAFABBDA} Win32Proj - winsys - winsys + sysinfo + sysinfo @@ -45,13 +45,13 @@ false - hcwinsys + hcsysinfo $(HexChatBin) $(HexChatObj)$(ProjectName)\ false - hcwinsys + hcsysinfo $(HexChatBin) $(HexChatObj)$(ProjectName)\ @@ -62,7 +62,7 @@ MaxSpeed true true - WIN32;NDEBUG;_WINDOWS;_USRDLL;WINSYS_EXPORTS;%(PreprocessorDefinitions) + WIN32;NDEBUG;_WINDOWS;_USRDLL;SYSINFO_EXPORTS;%(PreprocessorDefinitions) ..;%(AdditionalIncludeDirectories) true false @@ -72,7 +72,7 @@ true true true - winsys.def + sysinfo.def wbemuuid.lib;vccomsup.lib;%(AdditionalDependencies) comsupp.lib @@ -84,7 +84,7 @@ MaxSpeed true true - WIN32;_WIN64;_AMD64_;NDEBUG;_WINDOWS;_USRDLL;WINSYS_EXPORTS;%(PreprocessorDefinitions) + WIN32;_WIN64;_AMD64_;NDEBUG;_WINDOWS;_USRDLL;SYSINFO_EXPORTS;%(PreprocessorDefinitions) ..;%(AdditionalIncludeDirectories) true false @@ -94,16 +94,16 @@ true true true - winsys.def + sysinfo.def wbemuuid.lib;vccomsup.lib;%(AdditionalDependencies) comsupp.lib - + - + diff --git a/plugins/sysinfo/sysinfo-xp.vcxproj.filters b/plugins/sysinfo/sysinfo-xp.vcxproj.filters index 6e5b445c..1ef90f5b 100644 --- a/plugins/sysinfo/sysinfo-xp.vcxproj.filters +++ b/plugins/sysinfo/sysinfo-xp.vcxproj.filters @@ -11,12 +11,12 @@ - + Resource Files - + Source Files diff --git a/plugins/sysinfo/sysinfo.cpp b/plugins/sysinfo/sysinfo.cpp index d15118fe..5cb4b766 100644 --- a/plugins/sysinfo/sysinfo.cpp +++ b/plugins/sysinfo/sysinfo.cpp @@ -28,7 +28,7 @@ #include "xchat-plugin.h" static xchat_plugin *ph; /* plugin handle */ -static char name[] = "WinSys"; +static char name[] = "SysInfo"; static char desc[] = "Display info about your hardware and OS"; static char version[] = "1.1"; static int firstRun; @@ -352,7 +352,7 @@ getWmiInfo (int mode) static int printInfo (char *word[], char *word_eol[], void *user_data) { - /* query WMI info only at the first time WinSys is called, then cache it to save time */ + /* query WMI info only at the first time SysInfo is called, then cache it to save time */ if (firstRun) { xchat_printf (ph, "%s first execution, querying and caching WMI info...\n", name); @@ -364,7 +364,7 @@ printInfo (char *word[], char *word_eol[], void *user_data) if (xchat_list_int (ph, NULL, "type") >= 2) { /* uptime will work correctly for up to 50 days, should be enough */ - xchat_commandf (ph, "ME ** WinSys ** Client: HexChat %s (x%d) ** OS: %s ** CPU: %s (%s) ** RAM: %s ** VGA: %s ** Uptime: %.2f Hours **", + xchat_commandf (ph, "ME ** SysInfo ** Client: HexChat %s (x%d) ** OS: %s ** CPU: %s (%s) ** RAM: %s ** VGA: %s ** Uptime: %.2f Hours **", xchat_get_info (ph, "version"), getCpuArch (), wmiOs, @@ -397,8 +397,8 @@ xchat_plugin_init (xchat_plugin *plugin_handle, char **plugin_name, char **plugi firstRun = 1; - xchat_hook_command (ph, "WINSYS", XCHAT_PRI_NORM, printInfo, NULL, NULL); - xchat_command (ph, "MENU -ietc\\system.png ADD \"Window/Display System Info\" \"WINSYS\""); + xchat_hook_command (ph, "SYSINFO", XCHAT_PRI_NORM, printInfo, NULL, NULL); + xchat_command (ph, "MENU -ietc\\system.png ADD \"Window/Display System Info\" \"SYSINFO\""); xchat_printf (ph, "%s plugin loaded\n", name); diff --git a/plugins/sysinfo/sysinfo.vcxproj b/plugins/sysinfo/sysinfo.vcxproj index 76c3a94b..c5e4c419 100644 --- a/plugins/sysinfo/sysinfo.vcxproj +++ b/plugins/sysinfo/sysinfo.vcxproj @@ -13,7 +13,7 @@ {6C0CA980-97C5-427A-BE61-5BCECAFABBDA} Win32Proj - winsys + sysinfo @@ -42,13 +42,13 @@ false - hcwinsys + hcsysinfo $(HexChatBin) $(HexChatObj)$(ProjectName)\ false - hcwinsys + hcsysinfo $(HexChatBin) $(HexChatObj)$(ProjectName)\ @@ -59,7 +59,7 @@ MaxSpeed true true - WIN32;NDEBUG;_WINDOWS;_USRDLL;WINSYS_EXPORTS;%(PreprocessorDefinitions) + WIN32;NDEBUG;_WINDOWS;_USRDLL;SYSINFO_EXPORTS;%(PreprocessorDefinitions) ..;%(AdditionalIncludeDirectories) true false @@ -69,7 +69,7 @@ true true true - winsys.def + sysinfo.def wbemuuid.lib;comsupp.lib;%(AdditionalDependencies) comsupp.lib @@ -81,7 +81,7 @@ MaxSpeed true true - WIN32;_WIN64;_AMD64_;NDEBUG;_WINDOWS;_USRDLL;WINSYS_EXPORTS;%(PreprocessorDefinitions) + WIN32;_WIN64;_AMD64_;NDEBUG;_WINDOWS;_USRDLL;SYSINFO_EXPORTS;%(PreprocessorDefinitions) ..;%(AdditionalIncludeDirectories) true false @@ -91,16 +91,16 @@ true true true - winsys.def + sysinfo.def wbemuuid.lib;comsupp.lib;%(AdditionalDependencies) comsupp.lib - + - + diff --git a/plugins/sysinfo/sysinfo.vcxproj.filters b/plugins/sysinfo/sysinfo.vcxproj.filters index 6e5b445c..1ef90f5b 100644 --- a/plugins/sysinfo/sysinfo.vcxproj.filters +++ b/plugins/sysinfo/sysinfo.vcxproj.filters @@ -11,12 +11,12 @@ - + Resource Files - + Source Files -- cgit 1.4.1