summary refs log tree commit diff stats
path: root/plugins
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2012-10-21 06:40:28 +0200
committerBerke Viktor <bviktor@hexchat.org>2012-10-21 06:40:28 +0200
commitcb891a9732d77dde425052b6d11dc8024492e80a (patch)
tree8ee9aab170fd12b4a541dd201d8200513091262d /plugins
parentc54cd4181b9d4b49768c56a47655dbea1a9553b7 (diff)
Rename WinSys on the code level
Diffstat (limited to 'plugins')
-rw-r--r--plugins/sysinfo/sysinfo-xp.vcxproj20
-rw-r--r--plugins/sysinfo/sysinfo-xp.vcxproj.filters4
-rw-r--r--plugins/sysinfo/sysinfo.cpp10
-rw-r--r--plugins/sysinfo/sysinfo.vcxproj18
-rw-r--r--plugins/sysinfo/sysinfo.vcxproj.filters4
5 files changed, 28 insertions, 28 deletions
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 @@
   <PropertyGroup Label="Globals">

     <ProjectGuid>{6C0CA980-97C5-427A-BE61-5BCECAFABBDA}</ProjectGuid>

     <Keyword>Win32Proj</Keyword>

-    <RootNamespace>winsys</RootNamespace>

-    <ProjectName>winsys</ProjectName>

+    <RootNamespace>sysinfo</RootNamespace>

+    <ProjectName>sysinfo</ProjectName>

   </PropertyGroup>

   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />

   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">

@@ -45,13 +45,13 @@
   <PropertyGroup Label="UserMacros" />

   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">

     <LinkIncremental>false</LinkIncremental>

-    <TargetName>hcwinsys</TargetName>

+    <TargetName>hcsysinfo</TargetName>

     <OutDir>$(HexChatBin)</OutDir>

     <IntDir>$(HexChatObj)$(ProjectName)\</IntDir>

   </PropertyGroup>

   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">

     <LinkIncremental>false</LinkIncremental>

-    <TargetName>hcwinsys</TargetName>

+    <TargetName>hcsysinfo</TargetName>

     <OutDir>$(HexChatBin)</OutDir>

     <IntDir>$(HexChatObj)$(ProjectName)\</IntDir>

   </PropertyGroup>

@@ -62,7 +62,7 @@
       <Optimization>MaxSpeed</Optimization>

       <FunctionLevelLinking>true</FunctionLevelLinking>

       <IntrinsicFunctions>true</IntrinsicFunctions>

-      <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;WINSYS_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>

+      <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;SYSINFO_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>

       <AdditionalIncludeDirectories>..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>

       <MultiProcessorCompilation>true</MultiProcessorCompilation>

       <TreatWChar_tAsBuiltInType>false</TreatWChar_tAsBuiltInType>

@@ -72,7 +72,7 @@
       <GenerateDebugInformation>true</GenerateDebugInformation>

       <EnableCOMDATFolding>true</EnableCOMDATFolding>

       <OptimizeReferences>true</OptimizeReferences>

-      <ModuleDefinitionFile>winsys.def</ModuleDefinitionFile>

+      <ModuleDefinitionFile>sysinfo.def</ModuleDefinitionFile>

       <AdditionalDependencies>wbemuuid.lib;vccomsup.lib;%(AdditionalDependencies)</AdditionalDependencies>

       <IgnoreSpecificDefaultLibraries>comsupp.lib</IgnoreSpecificDefaultLibraries>

     </Link>

@@ -84,7 +84,7 @@
       <Optimization>MaxSpeed</Optimization>

       <FunctionLevelLinking>true</FunctionLevelLinking>

       <IntrinsicFunctions>true</IntrinsicFunctions>

-      <PreprocessorDefinitions>WIN32;_WIN64;_AMD64_;NDEBUG;_WINDOWS;_USRDLL;WINSYS_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>

+      <PreprocessorDefinitions>WIN32;_WIN64;_AMD64_;NDEBUG;_WINDOWS;_USRDLL;SYSINFO_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>

       <AdditionalIncludeDirectories>..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>

       <MultiProcessorCompilation>true</MultiProcessorCompilation>

       <TreatWChar_tAsBuiltInType>false</TreatWChar_tAsBuiltInType>

@@ -94,16 +94,16 @@
       <GenerateDebugInformation>true</GenerateDebugInformation>

       <EnableCOMDATFolding>true</EnableCOMDATFolding>

       <OptimizeReferences>true</OptimizeReferences>

-      <ModuleDefinitionFile>winsys.def</ModuleDefinitionFile>

+      <ModuleDefinitionFile>sysinfo.def</ModuleDefinitionFile>

       <AdditionalDependencies>wbemuuid.lib;vccomsup.lib;%(AdditionalDependencies)</AdditionalDependencies>

       <IgnoreSpecificDefaultLibraries>comsupp.lib</IgnoreSpecificDefaultLibraries>

     </Link>

   </ItemDefinitionGroup>

   <ItemGroup>

-    <None Include="winsys.def" />

+    <None Include="sysinfo.def" />

   </ItemGroup>

   <ItemGroup>

-    <ClCompile Include="winsys.cpp" />

+    <ClCompile Include="sysinfo.cpp" />

   </ItemGroup>

   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />

   <ImportGroup Label="ExtensionTargets">

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 @@
     </Filter>

   </ItemGroup>

   <ItemGroup>

-    <None Include="winsys.def">

+    <None Include="sysinfo.def">

       <Filter>Resource Files</Filter>

     </None>

   </ItemGroup>

   <ItemGroup>

-    <ClCompile Include="winsys.cpp">

+    <ClCompile Include="sysinfo.cpp">

       <Filter>Source Files</Filter>

     </ClCompile>

   </ItemGroup>

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 @@
   <PropertyGroup Label="Globals">

     <ProjectGuid>{6C0CA980-97C5-427A-BE61-5BCECAFABBDA}</ProjectGuid>

     <Keyword>Win32Proj</Keyword>

-    <RootNamespace>winsys</RootNamespace>

+    <RootNamespace>sysinfo</RootNamespace>

   </PropertyGroup>

   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />

   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">

@@ -42,13 +42,13 @@
   <PropertyGroup Label="UserMacros" />

   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">

     <LinkIncremental>false</LinkIncremental>

-    <TargetName>hcwinsys</TargetName>

+    <TargetName>hcsysinfo</TargetName>

     <OutDir>$(HexChatBin)</OutDir>

     <IntDir>$(HexChatObj)$(ProjectName)\</IntDir>

   </PropertyGroup>

   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">

     <LinkIncremental>false</LinkIncremental>

-    <TargetName>hcwinsys</TargetName>

+    <TargetName>hcsysinfo</TargetName>

     <OutDir>$(HexChatBin)</OutDir>

     <IntDir>$(HexChatObj)$(ProjectName)\</IntDir>

   </PropertyGroup>

@@ -59,7 +59,7 @@
       <Optimization>MaxSpeed</Optimization>

       <FunctionLevelLinking>true</FunctionLevelLinking>

       <IntrinsicFunctions>true</IntrinsicFunctions>

-      <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;WINSYS_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>

+      <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;SYSINFO_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>

       <AdditionalIncludeDirectories>..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>

       <MultiProcessorCompilation>true</MultiProcessorCompilation>

       <TreatWChar_tAsBuiltInType>false</TreatWChar_tAsBuiltInType>

@@ -69,7 +69,7 @@
       <GenerateDebugInformation>true</GenerateDebugInformation>

       <EnableCOMDATFolding>true</EnableCOMDATFolding>

       <OptimizeReferences>true</OptimizeReferences>

-      <ModuleDefinitionFile>winsys.def</ModuleDefinitionFile>

+      <ModuleDefinitionFile>sysinfo.def</ModuleDefinitionFile>

       <AdditionalDependencies>wbemuuid.lib;comsupp.lib;%(AdditionalDependencies)</AdditionalDependencies>

       <IgnoreSpecificDefaultLibraries>comsupp.lib</IgnoreSpecificDefaultLibraries>

     </Link>

@@ -81,7 +81,7 @@
       <Optimization>MaxSpeed</Optimization>

       <FunctionLevelLinking>true</FunctionLevelLinking>

       <IntrinsicFunctions>true</IntrinsicFunctions>

-      <PreprocessorDefinitions>WIN32;_WIN64;_AMD64_;NDEBUG;_WINDOWS;_USRDLL;WINSYS_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>

+      <PreprocessorDefinitions>WIN32;_WIN64;_AMD64_;NDEBUG;_WINDOWS;_USRDLL;SYSINFO_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>

       <AdditionalIncludeDirectories>..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>

       <MultiProcessorCompilation>true</MultiProcessorCompilation>

       <TreatWChar_tAsBuiltInType>false</TreatWChar_tAsBuiltInType>

@@ -91,16 +91,16 @@
       <GenerateDebugInformation>true</GenerateDebugInformation>

       <EnableCOMDATFolding>true</EnableCOMDATFolding>

       <OptimizeReferences>true</OptimizeReferences>

-      <ModuleDefinitionFile>winsys.def</ModuleDefinitionFile>

+      <ModuleDefinitionFile>sysinfo.def</ModuleDefinitionFile>

       <AdditionalDependencies>wbemuuid.lib;comsupp.lib;%(AdditionalDependencies)</AdditionalDependencies>

       <IgnoreSpecificDefaultLibraries>comsupp.lib</IgnoreSpecificDefaultLibraries>

     </Link>

   </ItemDefinitionGroup>

   <ItemGroup>

-    <None Include="winsys.def" />

+    <None Include="sysinfo.def" />

   </ItemGroup>

   <ItemGroup>

-    <ClCompile Include="winsys.cpp" />

+    <ClCompile Include="sysinfo.cpp" />

   </ItemGroup>

   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />

   <ImportGroup Label="ExtensionTargets">

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 @@
     </Filter>

   </ItemGroup>

   <ItemGroup>

-    <None Include="winsys.def">

+    <None Include="sysinfo.def">

       <Filter>Resource Files</Filter>

     </None>

   </ItemGroup>

   <ItemGroup>

-    <ClCompile Include="winsys.cpp">

+    <ClCompile Include="sysinfo.cpp">

       <Filter>Source Files</Filter>

     </ClCompile>

   </ItemGroup>