summaryrefslogtreecommitdiff
path: root/scp2/inc/macros.inc
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2005-06-17 08:40:23 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2005-06-17 08:40:23 +0000
commit5190c5b99e88ca63527745ca0dac76f046db73a2 (patch)
tree82b98c4e2ab16160cc10010125e39decb2452366 /scp2/inc/macros.inc
parente7575fc2be372048aa16ff21b943bfd92d608f22 (diff)
#i20372# Ease of use: create PATCH macros.
Diffstat (limited to 'scp2/inc/macros.inc')
-rw-r--r--scp2/inc/macros.inc82
1 files changed, 82 insertions, 0 deletions
diff --git a/scp2/inc/macros.inc b/scp2/inc/macros.inc
index 93e660dbe848..ab04d1079bab 100644
--- a/scp2/inc/macros.inc
+++ b/scp2/inc/macros.inc
@@ -113,14 +113,26 @@
TXT_FILE_BODY; \
Styles = (PACKED)
+#define PACKED_TXT_FILE_BODY_PATCH \
+ TXT_FILE_BODY; \
+ Styles = (PACKED,PATCH)
+
#define ARCHIVE_TXT_FILE_BODY \
TXT_FILE_BODY; \
Styles = (ARCHIVE)
+#define ARCHIVE_TXT_FILE_BODY_PATCH \
+ TXT_FILE_BODY; \
+ Styles = (ARCHIVE,PATCH)
+
#define ARCHIVE_SUBST_FILE_BODY \
TXT_FILE_BODY; \
Styles = (ARCHIVE,SUBSTITUTE)
+#define ARCHIVE_SUBST_FILE_BODY_PATCH \
+ TXT_FILE_BODY; \
+ Styles = (ARCHIVE,SUBSTITUTE,PATCH)
+
#define STD_SETUPZIP_BMP_FILE(id,name) \
File id \
TXT_FILE_BODY; \
@@ -134,17 +146,33 @@
Styles = (PACKED); \
Dir = gid_Dir_Program
+#define PACKED_LIB_FILE_BODY_PATCH \
+ TXT_FILE_BODY; \
+ Styles = (PACKED,PATCH); \
+ Dir = gid_Dir_Program
+
#define PACKED_FILTER_FILE_BODY \
TXT_FILE_BODY; \
Styles = (PACKED); \
Dir = gid_Dir_Filter
+#define PACKED_FILTER_FILE_BODY_PATCH \
+ TXT_FILE_BODY; \
+ Styles = (PACKED,PATCH); \
+ Dir = gid_Dir_Filter
+
#define STD_LIB_FILE(id,name) \
File id \
Name = LIBNAME(name); \
PACKED_LIB_FILE_BODY; \
End
+#define STD_LIB_FILE_PATCH(id,name) \
+ File id \
+ Name = LIBNAME(name); \
+ PACKED_LIB_FILE_BODY_PATCH; \
+ End
+
#define STD_RES_FILE(id,name) \
File id \
TXT_FILE_BODY; \
@@ -153,6 +181,14 @@
Styles = (PACKED); \
End
+#define STD_RES_FILE_PATCH(id,name) \
+ File id \
+ TXT_FILE_BODY; \
+ RESFILE_ALL_LANG(name); \
+ Dir = gid_Dir_Resource; \
+ Styles = (PACKED,PATCH); \
+ End
+
#define STD_SETUPZIP_RES_FILE(id,name) \
File id \
TXT_FILE_BODY; \
@@ -167,6 +203,12 @@
Name = FILTER_LIBNAME(name); \
End
+#define STD_FILTER_FILE_PATCH(id,name) \
+ File id \
+ PACKED_LIB_FILE_BODY_PATCH; \
+ Name = FILTER_LIBNAME(name); \
+ End
+
#define STD_FONTUNX_FILE(id,name,fontname) \
File id \
TXT_FILE_BODY; \
@@ -211,6 +253,14 @@
Styles = (PACKED,DONT_OVERWRITE); \
End
+#define STD_JAR_FILE_PATCH(id,name) \
+ File id \
+ TXT_FILE_BODY; \
+ Name = STRING(CONCAT2(name,.jar)); \
+ Dir = gid_Dir_Classes; \
+ Styles = (PACKED,DONT_OVERWRITE,PATCH); \
+ End
+
#define UNO_JAR_FILE(id,name) \
File id \
TXT_FILE_BODY; \
@@ -219,6 +269,14 @@
Styles = (PACKED,DONT_OVERWRITE, UNO_COMPONENT); \
End
+#define UNO_JAR_FILE_PATCH(id,name) \
+ File id \
+ TXT_FILE_BODY; \
+ Name = STRING(CONCAT2(name,.jar)); \
+ Dir = gid_Dir_Classes; \
+ Styles = (PACKED,DONT_OVERWRITE,UNO_COMPONENT,PATCH); \
+ End
+
#define JARFILENAME(name) STRING(CONCAT2(name,.jar))
#define PACKED_SHELLNEW_FILE_BODY \
@@ -239,18 +297,36 @@
Dir = gid_Dir_Program; \
RegistryID = gid_Starregistry_Services_Rdb
+#define PACKED_UNO_LIB_FILE_BODY_PATCH \
+ TXT_FILE_BODY; \
+ Styles = (PACKED,UNO_COMPONENT,PATCH); \
+ Dir = gid_Dir_Program; \
+ RegistryID = gid_Starregistry_Services_Rdb
+
#define STD_UNO_LIB_FILE(id,name) \
File id \
Name = LIBNAME(name); \
PACKED_UNO_LIB_FILE_BODY; \
End
+#define STD_UNO_LIB_FILE_PATCH(id,name) \
+ File id \
+ Name = LIBNAME(name); \
+ PACKED_UNO_LIB_FILE_BODY_PATCH; \
+ End
+
#define SPECIAL_UNO_LIB_FILE(id,name) \
File id \
Name = SPECIAL_NAME(name); \
PACKED_UNO_LIB_FILE_BODY; \
End
+#define SPECIAL_UNO_LIB_FILE_PATCH(id,name) \
+ File id \
+ Name = SPECIAL_NAME(name); \
+ PACKED_UNO_LIB_FILE_BODY_PATCH; \
+ End
+
#define SETUPZIP_LIB_FILE(id,name) \
File id \
TXT_FILE_BODY; \
@@ -274,6 +350,12 @@
PACKED_UNO_LIB_FILE_BODY; \
End
+#define SPECIAL_UNO_COMPONENT_LIB_FILE_PATCH(id,name) \
+ File id \
+ Name = SPECIAL_COMPONENT_LIB_NAME(name); \
+ PACKED_UNO_LIB_FILE_BODY_PATCH; \
+ End
+
#define WINW4WFILTERFILENAME(name) STRING(CONCAT2(name,f32w.dll))
#define STD_WIN_W4WFILTER_FILE(id,name) \