Skip to content

Commit 64332b9

Browse files
committed
Fixed issue #70: Merge Win32Clipboard library dependency into ShellAnything.
1 parent afa9988 commit 64332b9

File tree

10 files changed

+632
-72
lines changed

10 files changed

+632
-72
lines changed

CHANGES

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Changes for 0.5.0
1111
* Fixed issue #61: Support for WIX installer.
1212
* Fixed issue #68: INSTALL.md mentions that 'application does not provides pre-build binaries' which is incorrect.
1313
* Fixed issue #69: Compilation of PACKAGE target fails if Wix Toolset is not installed on system.
14+
* Fixed issue #70: Merge Win32Clipboard library dependency into ShellAnything.
1415

1516

1617
Changes for 0.4.0

INSTALL.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ The following software must be installed on the system for compiling source code
4040
* [Google Logging Library v0.4.0](https://github.com/google/glog/tree/v0.4.0)
4141
* [TinyXML 2 v6.2.0](https://github.com/leethomason/tinyxml2/tree/6.2.0)
4242
* [RapidAssist v0.8.1](https://github.com/end2endzone/RapidAssist/tree/0.8.1)
43-
* [win32Clipboard v0.3.0](https://github.com/end2endzone/win32Clipboard/tree/0.3.0)
4443
* [CMake](http://www.cmake.org/) v3.4.3 (or newer)
4544
* (optional) [Grip (GitHub Readme Instant Preview)](https://github.com/joeyespo/grip) v4.5.2 (or newer)
4645

appveyor.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ before_build:
6464
- cmd: call %APPVEYOR_BUILD_FOLDER%\ci\appveyor\install_googletest.bat
6565
- cmd: call %APPVEYOR_BUILD_FOLDER%\ci\appveyor\install_tinyxml2.bat
6666
- cmd: call %APPVEYOR_BUILD_FOLDER%\ci\appveyor\install_rapidassist.bat
67-
- cmd: call %APPVEYOR_BUILD_FOLDER%\ci\appveyor\install_win32Clipboard.bat
6867
- cmd: call %APPVEYOR_BUILD_FOLDER%\ci\appveyor\install_glog.bat
6968
- cmd: call %APPVEYOR_BUILD_FOLDER%\ci\appveyor\install_grip.bat
7069

ci/appveyor/build_library.bat

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ if "%APPVEYOR_BUILD_FOLDER%"=="" (
99
set GTEST_ROOT=%APPVEYOR_BUILD_FOLDER%\third_parties\googletest\install
1010
set rapidassist_DIR=%APPVEYOR_BUILD_FOLDER%\third_parties\RapidAssist\install
1111
set tinyxml2_DIR=%APPVEYOR_BUILD_FOLDER%\third_parties\tinyxml2\install
12-
set win32clipboard_DIR=%APPVEYOR_BUILD_FOLDER%\third_parties\win32Clipboard\install
1312
set glog_DIR=%APPVEYOR_BUILD_FOLDER%\third_parties\glog\install_dir
1413
set INSTALL_LOCATION=%APPVEYOR_BUILD_FOLDER%\install
1514

@@ -47,7 +46,6 @@ echo.
4746
set GTEST_ROOT=
4847
set rapidassist_DIR=
4948
set tinyxml2_DIR=
50-
set win32clipboard_DIR=
5149
set glog_DIR=
5250
set INSTALL_LOCATION=
5351

ci/appveyor/install_win32Clipboard.bat

Lines changed: 0 additions & 42 deletions
This file was deleted.

licenses/win32Clipboard LICENSE.txt

Lines changed: 0 additions & 21 deletions
This file was deleted.

src/ActionClipboard.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424

2525
#include "shellanything/ActionClipboard.h"
2626
#include "PropertyManager.h"
27+
#include "Win32Clipboard.h"
2728

28-
#include "win32clipboard/win32clipboard.h"
2929
#include "rapidassist/unicode.h"
3030

3131
#pragma warning( push )
@@ -53,7 +53,7 @@ namespace shellanything
5353
std::wstring value_utf16 = ra::unicode::Utf8ToUnicode(value);
5454

5555
//get clipboard handler
56-
win32clipboard::Clipboard & clipboard = win32clipboard::Clipboard::GetInstance();
56+
Win32Clipboard::Clipboard & clipboard = Win32Clipboard::Clipboard::GetInstance();
5757

5858
//debug
5959
LOG(INFO) << "Setting clipboard to '" << value << "'.";

src/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
find_package(rapidassist REQUIRED)
22
find_package(tinyxml2 REQUIRED)
3-
find_package(win32clipboard REQUIRED)
43
find_package(glog REQUIRED)
54

65
#resource.rc
@@ -75,6 +74,8 @@ add_library(shellanything STATIC
7574
ErrorManager.cpp
7675
PropertyManager.h
7776
PropertyManager.cpp
77+
Win32Clipboard.h
78+
Win32Clipboard.cpp
7879
)
7980

8081
add_library(shellext SHARED
@@ -128,7 +129,6 @@ target_include_directories(shellanything
128129
PRIVATE
129130
${GTEST_INCLUDE_DIR}
130131
rapidassist
131-
win32clipboard
132132
glog::glog
133133
)
134134
target_include_directories(shellext
@@ -138,7 +138,7 @@ target_include_directories(shellext
138138
rapidassist
139139
glog::glog
140140
)
141-
target_link_libraries(shellanything PRIVATE ${PTHREAD_LIBRARIES} ${GTEST_LIBRARIES} rapidassist win32clipboard glog::glog)
141+
target_link_libraries(shellanything PRIVATE ${PTHREAD_LIBRARIES} ${GTEST_LIBRARIES} rapidassist glog::glog)
142142
target_link_libraries(shellext PRIVATE shellanything rapidassist glog::glog)
143143

144144
# Also add Tinyxml2 include and libraries.

0 commit comments

Comments
 (0)