diff options
| author | George Hazan <george.hazan@gmail.com> | 2025-05-03 20:41:26 +0300 |
|---|---|---|
| committer | George Hazan <george.hazan@gmail.com> | 2025-05-03 20:41:26 +0300 |
| commit | d31d7379e40d6646935f74e5e7eefb46c92883f9 (patch) | |
| tree | 4b9e04f0305635e1cf3d4aee769e1e5b3d3ce95c /protocols | |
| parent | bf741d7dbb13691909a2b934d86c5283532cdb7d (diff) | |
fixes #4956 (Em-LAN: отсутствует значок на панели статуса)
Diffstat (limited to 'protocols')
6 files changed, 150 insertions, 1 deletions
diff --git a/protocols/EmLanProto/CMakeLists.txt b/protocols/EmLanProto/CMakeLists.txt index c109f097f4..021f81bd55 100644 --- a/protocols/EmLanProto/CMakeLists.txt +++ b/protocols/EmLanProto/CMakeLists.txt @@ -2,4 +2,5 @@ set_directory_properties(PROPERTIES COMPILE_DEFINITIONS "") file(GLOB SOURCES "src/*.h" "src/*.cpp" "res/*.rc") set(TARGET EmLanProto) -include(${CMAKE_SOURCE_DIR}/cmake/plugin.cmake)
\ No newline at end of file +include(${CMAKE_SOURCE_DIR}/cmake/plugin.cmake) +add_subdirectory(proto_EmLanProto) diff --git a/protocols/EmLanProto/proto_EmLanProto/CMakeLists.txt b/protocols/EmLanProto/proto_EmLanProto/CMakeLists.txt new file mode 100644 index 0000000000..e7ebd6843d --- /dev/null +++ b/protocols/EmLanProto/proto_EmLanProto/CMakeLists.txt @@ -0,0 +1,2 @@ +set(TARGET proto_EmLanProto) +include(${CMAKE_SOURCE_DIR}/cmake/icons.cmake)
\ No newline at end of file diff --git a/protocols/EmLanProto/proto_EmLanProto/proto_EmLanProto.vcxproj b/protocols/EmLanProto/proto_EmLanProto/proto_EmLanProto.vcxproj new file mode 100644 index 0000000000..2e73e96c19 --- /dev/null +++ b/protocols/EmLanProto/proto_EmLanProto/proto_EmLanProto.vcxproj @@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <ItemGroup Label="ProjectConfigurations"> + <ProjectConfiguration Include="Debug|Win32"> + <Configuration>Debug</Configuration> + <Platform>Win32</Platform> + </ProjectConfiguration> + <ProjectConfiguration Include="Debug|x64"> + <Configuration>Debug</Configuration> + <Platform>x64</Platform> + </ProjectConfiguration> + <ProjectConfiguration Include="Release|Win32"> + <Configuration>Release</Configuration> + <Platform>Win32</Platform> + </ProjectConfiguration> + <ProjectConfiguration Include="Release|x64"> + <Configuration>Release</Configuration> + <Platform>x64</Platform> + </ProjectConfiguration> + </ItemGroup> + <PropertyGroup Label="Globals"> + <ProjectName>Proto_Em_Lan_Proto</ProjectName> + <ProjectGuid>{2D0BE9D7-7FD3-4E3C-A272-F157E3F44D41}</ProjectGuid> + </PropertyGroup> + <ImportGroup Label="PropertySheets"> + <Import Project="$(ProjectDir)..\..\..\build\vc.common\icons.props" /> + </ImportGroup> + <ItemGroup> + <ClInclude Include="src\resource.h" /> + </ItemGroup> + <ItemGroup> + <ResourceCompile Include="res\Proto_EmlanProto.rc" /> + </ItemGroup> +</Project>
\ No newline at end of file diff --git a/protocols/EmLanProto/proto_EmLanProto/proto_EmLanProto.vcxproj.filters b/protocols/EmLanProto/proto_EmLanProto/proto_EmLanProto.vcxproj.filters new file mode 100644 index 0000000000..83c99ca553 --- /dev/null +++ b/protocols/EmLanProto/proto_EmLanProto/proto_EmLanProto.vcxproj.filters @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <Import Project="$(ProjectDir)..\..\..\build\vc.common\common.filters" /> + <ItemGroup> + <ClInclude Include="src\resource.h"> + <Filter>Header Files</Filter> + </ClInclude> + </ItemGroup> + <ItemGroup> + <ResourceCompile Include="res\Proto_EmlanProto.rc"> + <Filter>Resource Files</Filter> + </ResourceCompile> + </ItemGroup> +</Project>
\ No newline at end of file diff --git a/protocols/EmLanProto/proto_EmLanProto/res/proto_EmLanProto.rc b/protocols/EmLanProto/proto_EmLanProto/res/proto_EmLanProto.rc new file mode 100644 index 0000000000..c781dd4d29 --- /dev/null +++ b/protocols/EmLanProto/proto_EmLanProto/res/proto_EmLanProto.rc @@ -0,0 +1,76 @@ +// Microsoft Visual C++ generated resource script. +// +#include "..\src\resource.h" + +#define APSTUDIO_READONLY_SYMBOLS +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 2 resource. +// +#include "afxres.h" + +///////////////////////////////////////////////////////////////////////////// +#undef APSTUDIO_READONLY_SYMBOLS + +///////////////////////////////////////////////////////////////////////////// +// Russian (Russia) resources + +#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_RUS) +LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT + +#ifdef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// TEXTINCLUDE +// + +1 TEXTINCLUDE +BEGIN + "..\\src\\resource.h\0" +END + +2 TEXTINCLUDE +BEGIN + "#include ""afxres.h""\r\n" + "\0" +END + +3 TEXTINCLUDE +BEGIN + "\r\n" + "\0" +END + +#endif // APSTUDIO_INVOKED + + +///////////////////////////////////////////////////////////////////////////// +// +// Icon +// + +// Icon with the lowest ID value placed first to ensure the application icon +// remains consistent on all systems. +IDI_ICON1 ICON "Offline.ico" +IDI_ICON2 ICON "Online.ico" +IDI_ICON3 ICON "Away.ico" +IDI_ICON5 ICON "NA.ico" +IDI_ICON6 ICON "DND.ico" +IDI_ICON7 ICON "Occupied.ico" +IDI_ICON8 ICON "FFC.ico" + +#endif // Russian (Russia) resources +///////////////////////////////////////////////////////////////////////////// + + + +#ifndef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 3 resource. +// + + +///////////////////////////////////////////////////////////////////////////// +#endif // not APSTUDIO_INVOKED + diff --git a/protocols/EmLanProto/proto_EmLanProto/src/resource.h b/protocols/EmLanProto/proto_EmLanProto/src/resource.h new file mode 100644 index 0000000000..ad76f6f52a --- /dev/null +++ b/protocols/EmLanProto/proto_EmLanProto/src/resource.h @@ -0,0 +1,22 @@ +//{{NO_DEPENDENCIES}} +// Microsoft Visual C++ generated include file. +// Used by Proto_Jabber.rc +// +#define IDI_ICON1 105 +#define IDI_ICON2 104 +#define IDI_ICON3 128 +#define IDI_ICON5 131 +#define IDI_ICON6 158 +#define IDI_ICON7 159 +#define IDI_ICON8 129 + +// Next default values for new objects +// +#ifdef APSTUDIO_INVOKED +#ifndef APSTUDIO_READONLY_SYMBOLS +#define _APS_NEXT_RESOURCE_VALUE 108 +#define _APS_NEXT_COMMAND_VALUE 40001 +#define _APS_NEXT_CONTROL_VALUE 1001 +#define _APS_NEXT_SYMED_VALUE 101 +#endif +#endif |
