summaryrefslogtreecommitdiff
path: root/shell/Library_jumplist.mk
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>2022-03-14 10:04:17 +0100
committerSamuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>2022-03-30 12:14:28 +0200
commit7efd22c912262f7bf4e4735dae70db0b31ab3d5b (patch)
tree612bcbaa2608421561204916f5f3de0253966a94 /shell/Library_jumplist.mk
parentab9422621bc0aa26a00aa92f8bdebe91a6519792 (diff)
Add UNO API for custom Jump Lists
Allows adding custom jump list categories to Windows Task Bar Change-Id: I13b6c3ad5de386cf74e2b346f10889bc46a8ad4e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131540 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>
Diffstat (limited to 'shell/Library_jumplist.mk')
-rwxr-xr-xshell/Library_jumplist.mk37
1 files changed, 37 insertions, 0 deletions
diff --git a/shell/Library_jumplist.mk b/shell/Library_jumplist.mk
new file mode 100755
index 000000000000..943fabdd4080
--- /dev/null
+++ b/shell/Library_jumplist.mk
@@ -0,0 +1,37 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t; fill-column: 100 -*-
+#
+# This file is part of the LibreOffice project.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
+
+$(eval $(call gb_Library_Library,jumplist))
+
+$(eval $(call gb_Library_use_sdk_api,jumplist))
+
+$(eval $(call gb_Library_use_libraries,jumplist,\
+ comphelper \
+ cppu \
+ cppuhelper \
+ sal \
+))
+
+ifeq ($(OS),WNT)
+
+$(eval $(call gb_Library_use_system_win32_libs,jumplist,\
+ ole32 \
+ Propsys \
+ shell32 \
+))
+
+$(eval $(call gb_Library_set_componentfile,jumplist,shell/source/win32/jumplist/jumplist,services))
+
+$(eval $(call gb_Library_add_exception_objects,jumplist,\
+ shell/source/win32/jumplist/JumpList \
+))
+
+endif # OS
+
+# vim: set noet sw=4 ts=4: