From a6eec2b99f319efe1d9e9f25c4dcd80390a06941 Mon Sep 17 00:00:00 2001 From: LoRd_MuldeR Date: Sun, 18 Dec 2016 22:44:17 +0100 Subject: [PATCH] Fixed a typo. --- docs/annotated.html | 2 +- docs/classes.html | 2 +- docs/d0/d8a/class_m_utils_1_1_update_checker.html | 2 +- docs/d0/dd7/_version_8h_source.html | 2 +- ..._1_hash_1_1_internal_1_1_keccak_impl_1_1sponge_state_struct.html | 2 +- docs/d1/d01/class_m_utils_1_1_hash_1_1_blake2.html | 2 +- docs/d1/d08/class_m_utils_1_1_job_object-members.html | 2 +- docs/d1/d0a/_taskbar7_8h_source.html | 2 +- docs/d1/d0d/class_m_utils_1_1_update_checker_info.html | 2 +- docs/d1/d32/class_m_utils_1_1_version.html | 2 +- docs/d1/d37/_hash___blake2_8h_source.html | 2 +- docs/d1/d93/_i_p_c_channel_8h_source.html | 2 +- docs/d1/d9c/class_m_utils_1_1_hash_1_1_keccak-members.html | 2 +- ...struct_m_utils_1_1_c_p_u_fetaures_1_1__cpu__info__t-members.html | 2 +- docs/d2/d13/_startup_8h_source.html | 2 +- docs/d2/d52/class_m_utils_1_1_taskbar7.html | 2 +- docs/d2/d7d/class_m_utils_1_1_update_checker-members.html | 2 +- docs/d2/db5/_c_p_u_features_8h_source.html | 2 +- docs/d2/ddd/class_m_utils_1_1_update_checker_info-members.html | 2 +- docs/d3/d13/class_m_utils_1_1_version-members.html | 2 +- ...1_1_internal_1_1_keccak_impl_1_1sponge_state_struct-members.html | 2 +- docs/d3/d5c/_registry_8h_source.html | 2 +- docs/d3/dc1/_o_s_support_8h_source.html | 2 +- docs/d3/dc6/class_m_utils_1_1_taskbar7-members.html | 2 +- docs/d3/dd5/_error_handler_8h_source.html | 2 +- docs/d4/d85/_job_object_8h_source.html | 2 +- docs/d5/d3b/_global_8h.html | 6 +++--- docs/d5/d3b/_global_8h_source.html | 2 +- docs/d5/db0/_sound_8h_source.html | 2 +- ...uct_m_utils_1_1_o_s_1_1_version_1_1__os__version__t-members.html | 2 +- docs/d5/dfe/class_m_utils_1_1_i_p_c_channel.html | 2 +- docs/d6/d83/_update_checker_8h_source.html | 2 +- docs/d6/ddd/_terminal_8h_source.html | 2 +- docs/d7/d73/_translation_8h_source.html | 2 +- docs/d7/dee/class_m_utils_1_1_i_p_c_channel-members.html | 2 +- docs/da/d35/class_m_utils_1_1_registry_1_1_registry_key.html | 2 +- docs/da/d5d/_g_u_i_8h_source.html | 2 +- .../d55/struct_m_utils_1_1_o_s_1_1_version_1_1__os__version__t.html | 2 +- .../dc/db3/class_m_utils_1_1_registry_1_1_registry_key-members.html | 2 +- docs/dc/dd3/class_m_utils_1_1_job_object.html | 2 +- docs/dc/df9/class_m_utils_1_1_hash_1_1_blake2-members.html | 2 +- docs/dd/d9f/class_m_utils_1_1_hash_1_1_keccak.html | 2 +- .../dd/de2/struct_m_utils_1_1_c_p_u_fetaures_1_1__cpu__info__t.html | 2 +- docs/dd/dea/_hash___keccak_8h_source.html | 2 +- docs/df/d98/_exception_8h_source.html | 2 +- docs/dir_b076b53667bc06ebb413a190e197fc7b.html | 2 +- docs/dir_d44c64559bbebec7f509842c48db8b23.html | 2 +- docs/files.html | 2 +- docs/hierarchy.html | 2 +- docs/index.html | 2 +- include/MUtils/Global.h | 4 ++-- 51 files changed, 54 insertions(+), 54 deletions(-) diff --git a/docs/annotated.html b/docs/annotated.html index 2a821d7..f048774 100644 --- a/docs/annotated.html +++ b/docs/annotated.html @@ -90,7 +90,7 @@ $(function() { diff --git a/docs/classes.html b/docs/classes.html index 7e39360..0951db4 100644 --- a/docs/classes.html +++ b/docs/classes.html @@ -90,7 +90,7 @@ $(function() { diff --git a/docs/d0/d8a/class_m_utils_1_1_update_checker.html b/docs/d0/d8a/class_m_utils_1_1_update_checker.html index 6416e3e..09283f5 100644 --- a/docs/d0/d8a/class_m_utils_1_1_update_checker.html +++ b/docs/d0/d8a/class_m_utils_1_1_update_checker.html @@ -158,7 +158,7 @@ void testKnownHosts (v diff --git a/docs/d0/dd7/_version_8h_source.html b/docs/d0/dd7/_version_8h_source.html index 20e0c54..e4984fb 100644 --- a/docs/d0/dd7/_version_8h_source.html +++ b/docs/d0/dd7/_version_8h_source.html @@ -73,7 +73,7 @@ $(function() { diff --git a/docs/d0/dd8/struct_m_utils_1_1_hash_1_1_internal_1_1_keccak_impl_1_1sponge_state_struct.html b/docs/d0/dd8/struct_m_utils_1_1_hash_1_1_internal_1_1_keccak_impl_1_1sponge_state_struct.html index 77f6fa8..215a6b1 100644 --- a/docs/d0/dd8/struct_m_utils_1_1_hash_1_1_internal_1_1_keccak_impl_1_1sponge_state_struct.html +++ b/docs/d0/dd8/struct_m_utils_1_1_hash_1_1_internal_1_1_keccak_impl_1_1sponge_state_struct.html @@ -104,7 +104,7 @@ unsigned int bitsAvailable diff --git a/docs/d1/d01/class_m_utils_1_1_hash_1_1_blake2.html b/docs/d1/d01/class_m_utils_1_1_hash_1_1_blake2.html index 606658c..e9cc32c 100644 --- a/docs/d1/d01/class_m_utils_1_1_hash_1_1_blake2.html +++ b/docs/d1/d01/class_m_utils_1_1_hash_1_1_blake2.html @@ -92,7 +92,7 @@ QByteArray finalize (c diff --git a/docs/d1/d08/class_m_utils_1_1_job_object-members.html b/docs/d1/d08/class_m_utils_1_1_job_object-members.html index 27a1bc5..6e6fee5 100644 --- a/docs/d1/d08/class_m_utils_1_1_job_object-members.html +++ b/docs/d1/d08/class_m_utils_1_1_job_object-members.html @@ -77,7 +77,7 @@ $(function() { diff --git a/docs/d1/d0a/_taskbar7_8h_source.html b/docs/d1/d0a/_taskbar7_8h_source.html index f32fb8f..c33ce0d 100644 --- a/docs/d1/d0a/_taskbar7_8h_source.html +++ b/docs/d1/d0a/_taskbar7_8h_source.html @@ -73,7 +73,7 @@ $(function() { diff --git a/docs/d1/d0d/class_m_utils_1_1_update_checker_info.html b/docs/d1/d0d/class_m_utils_1_1_update_checker_info.html index 08a6f47..4b6282a 100644 --- a/docs/d1/d0d/class_m_utils_1_1_update_checker_info.html +++ b/docs/d1/d0d/class_m_utils_1_1_update_checker_info.html @@ -114,7 +114,7 @@ class UpdateChecker diff --git a/docs/d1/d32/class_m_utils_1_1_version.html b/docs/d1/d32/class_m_utils_1_1_version.html index 73fd3b4..40e0b35 100644 --- a/docs/d1/d32/class_m_utils_1_1_version.html +++ b/docs/d1/d32/class_m_utils_1_1_version.html @@ -104,7 +104,7 @@ static const char *const c diff --git a/docs/d1/d37/_hash___blake2_8h_source.html b/docs/d1/d37/_hash___blake2_8h_source.html index 16b8862..704d287 100644 --- a/docs/d1/d37/_hash___blake2_8h_source.html +++ b/docs/d1/d37/_hash___blake2_8h_source.html @@ -73,7 +73,7 @@ $(function() { diff --git a/docs/d1/d93/_i_p_c_channel_8h_source.html b/docs/d1/d93/_i_p_c_channel_8h_source.html index cac235a..b8871b5 100644 --- a/docs/d1/d93/_i_p_c_channel_8h_source.html +++ b/docs/d1/d93/_i_p_c_channel_8h_source.html @@ -73,7 +73,7 @@ $(function() { diff --git a/docs/d1/d9c/class_m_utils_1_1_hash_1_1_keccak-members.html b/docs/d1/d9c/class_m_utils_1_1_hash_1_1_keccak-members.html index 22e98bb..886af8c 100644 --- a/docs/d1/d9c/class_m_utils_1_1_hash_1_1_keccak-members.html +++ b/docs/d1/d9c/class_m_utils_1_1_hash_1_1_keccak-members.html @@ -88,7 +88,7 @@ $(function() { diff --git a/docs/d1/dd9/struct_m_utils_1_1_c_p_u_fetaures_1_1__cpu__info__t-members.html b/docs/d1/dd9/struct_m_utils_1_1_c_p_u_fetaures_1_1__cpu__info__t-members.html index 423ad00..ca776de 100644 --- a/docs/d1/dd9/struct_m_utils_1_1_c_p_u_fetaures_1_1__cpu__info__t-members.html +++ b/docs/d1/dd9/struct_m_utils_1_1_c_p_u_fetaures_1_1__cpu__info__t-members.html @@ -82,7 +82,7 @@ $(function() { diff --git a/docs/d2/d13/_startup_8h_source.html b/docs/d2/d13/_startup_8h_source.html index ef084fd..3292f43 100644 --- a/docs/d2/d13/_startup_8h_source.html +++ b/docs/d2/d13/_startup_8h_source.html @@ -72,7 +72,7 @@ $(function() { diff --git a/docs/d2/d52/class_m_utils_1_1_taskbar7.html b/docs/d2/d52/class_m_utils_1_1_taskbar7.html index 9b1169f..8856e6a 100644 --- a/docs/d2/d52/class_m_utils_1_1_taskbar7.html +++ b/docs/d2/d52/class_m_utils_1_1_taskbar7.html @@ -106,7 +106,7 @@ bool setOverlayIcon (c diff --git a/docs/d2/d7d/class_m_utils_1_1_update_checker-members.html b/docs/d2/d7d/class_m_utils_1_1_update_checker-members.html index 051753b..3f914ac 100644 --- a/docs/d2/d7d/class_m_utils_1_1_update_checker-members.html +++ b/docs/d2/d7d/class_m_utils_1_1_update_checker-members.html @@ -96,7 +96,7 @@ $(function() { diff --git a/docs/d2/db5/_c_p_u_features_8h_source.html b/docs/d2/db5/_c_p_u_features_8h_source.html index 3b74601..fad7828 100644 --- a/docs/d2/db5/_c_p_u_features_8h_source.html +++ b/docs/d2/db5/_c_p_u_features_8h_source.html @@ -73,7 +73,7 @@ $(function() { diff --git a/docs/d2/ddd/class_m_utils_1_1_update_checker_info-members.html b/docs/d2/ddd/class_m_utils_1_1_update_checker_info-members.html index 7cd1ca9..bff899d 100644 --- a/docs/d2/ddd/class_m_utils_1_1_update_checker_info-members.html +++ b/docs/d2/ddd/class_m_utils_1_1_update_checker_info-members.html @@ -84,7 +84,7 @@ $(function() { diff --git a/docs/d3/d13/class_m_utils_1_1_version-members.html b/docs/d3/d13/class_m_utils_1_1_version-members.html index 4a3293c..cab31c6 100644 --- a/docs/d3/d13/class_m_utils_1_1_version-members.html +++ b/docs/d3/d13/class_m_utils_1_1_version-members.html @@ -81,7 +81,7 @@ $(function() { diff --git a/docs/d3/d35/struct_m_utils_1_1_hash_1_1_internal_1_1_keccak_impl_1_1sponge_state_struct-members.html b/docs/d3/d35/struct_m_utils_1_1_hash_1_1_internal_1_1_keccak_impl_1_1sponge_state_struct-members.html index 5e8a4a7..d4b782c 100644 --- a/docs/d3/d35/struct_m_utils_1_1_hash_1_1_internal_1_1_keccak_impl_1_1sponge_state_struct-members.html +++ b/docs/d3/d35/struct_m_utils_1_1_hash_1_1_internal_1_1_keccak_impl_1_1sponge_state_struct-members.html @@ -81,7 +81,7 @@ $(function() { diff --git a/docs/d3/d5c/_registry_8h_source.html b/docs/d3/d5c/_registry_8h_source.html index 124ffe3..6dd8bc5 100644 --- a/docs/d3/d5c/_registry_8h_source.html +++ b/docs/d3/d5c/_registry_8h_source.html @@ -73,7 +73,7 @@ $(function() { diff --git a/docs/d3/dc1/_o_s_support_8h_source.html b/docs/d3/dc1/_o_s_support_8h_source.html index 9ef7a44..e7a189e 100644 --- a/docs/d3/dc1/_o_s_support_8h_source.html +++ b/docs/d3/dc1/_o_s_support_8h_source.html @@ -73,7 +73,7 @@ $(function() { diff --git a/docs/d3/dc6/class_m_utils_1_1_taskbar7-members.html b/docs/d3/dc6/class_m_utils_1_1_taskbar7-members.html index 890f6cb..022a82a 100644 --- a/docs/d3/dc6/class_m_utils_1_1_taskbar7-members.html +++ b/docs/d3/dc6/class_m_utils_1_1_taskbar7-members.html @@ -84,7 +84,7 @@ $(function() { diff --git a/docs/d3/dd5/_error_handler_8h_source.html b/docs/d3/dd5/_error_handler_8h_source.html index 949a8ba..8e6e16d 100644 --- a/docs/d3/dd5/_error_handler_8h_source.html +++ b/docs/d3/dd5/_error_handler_8h_source.html @@ -72,7 +72,7 @@ $(function() { diff --git a/docs/d4/d85/_job_object_8h_source.html b/docs/d4/d85/_job_object_8h_source.html index dd1fc0c..ee24764 100644 --- a/docs/d4/d85/_job_object_8h_source.html +++ b/docs/d4/d85/_job_object_8h_source.html @@ -73,7 +73,7 @@ $(function() { diff --git a/docs/d5/d3b/_global_8h.html b/docs/d5/d3b/_global_8h.html index 3088d18..471b062 100644 --- a/docs/d5/d3b/_global_8h.html +++ b/docs/d5/d3b/_global_8h.html @@ -270,13 +270,13 @@ int MUtils::Internal::self

Generates a unique file name.

-

The function generates a unique file name in the specified directory. The function guarantees that the return file name does not exist yet. If necessary, a counter will be included in the file name in order to ensure its uniqueness.

+

The function generates a unique file name in the specified directory. The function guarantees that the returned file name does not exist yet. If necessary, a counter will be included in the file name in order to ensure its uniqueness.

Parameters
- +
basePathSpecifies the "base" directory where the unique file is supposed to be created. This must be a valid existing directory.
baseNameSpecifies the desired "base" file name of the unqiue file. Do not include a file extension.
extensionSpecifies the desired file extensions of the unqiue file. Do not include a leading dot (.) character.
fancyIf set to true, the file name is generated according to the "<basedir>/<basername> (N).<ext>" pattern; if set to false, the file name is generated according to the "<basedir>/<basername>.XXXX.<ext>" pattern.
fancyIf set to true, the file name is generated according to the "<basedir>/<basename> (N).<ext>" pattern; if set to false, the file name is generated according to the "<basedir>/<basername>.XXXX.<ext>" pattern.
@@ -408,7 +408,7 @@ int MUtils::Internal::self
diff --git a/docs/d5/d3b/_global_8h_source.html b/docs/d5/d3b/_global_8h_source.html index c4b49e3..3198608 100644 --- a/docs/d5/d3b/_global_8h_source.html +++ b/docs/d5/d3b/_global_8h_source.html @@ -78,7 +78,7 @@ $(function() { diff --git a/docs/d5/db0/_sound_8h_source.html b/docs/d5/db0/_sound_8h_source.html index 5a91612..3c16319 100644 --- a/docs/d5/db0/_sound_8h_source.html +++ b/docs/d5/db0/_sound_8h_source.html @@ -72,7 +72,7 @@ $(function() { diff --git a/docs/d5/de1/struct_m_utils_1_1_o_s_1_1_version_1_1__os__version__t-members.html b/docs/d5/de1/struct_m_utils_1_1_o_s_1_1_version_1_1__os__version__t-members.html index d8ad345..48dcd0d 100644 --- a/docs/d5/de1/struct_m_utils_1_1_o_s_1_1_version_1_1__os__version__t-members.html +++ b/docs/d5/de1/struct_m_utils_1_1_o_s_1_1_version_1_1__os__version__t-members.html @@ -84,7 +84,7 @@ $(function() { diff --git a/docs/d5/dfe/class_m_utils_1_1_i_p_c_channel.html b/docs/d5/dfe/class_m_utils_1_1_i_p_c_channel.html index 06d7fcb..49c861d 100644 --- a/docs/d5/dfe/class_m_utils_1_1_i_p_c_channel.html +++ b/docs/d5/dfe/class_m_utils_1_1_i_p_c_channel.html @@ -112,7 +112,7 @@ static const quint32 MAX_P diff --git a/docs/d6/d83/_update_checker_8h_source.html b/docs/d6/d83/_update_checker_8h_source.html index 42e4ba5..b289377 100644 --- a/docs/d6/d83/_update_checker_8h_source.html +++ b/docs/d6/d83/_update_checker_8h_source.html @@ -74,7 +74,7 @@ $(function() { diff --git a/docs/d6/ddd/_terminal_8h_source.html b/docs/d6/ddd/_terminal_8h_source.html index 55f4c65..03b98cb 100644 --- a/docs/d6/ddd/_terminal_8h_source.html +++ b/docs/d6/ddd/_terminal_8h_source.html @@ -72,7 +72,7 @@ $(function() { diff --git a/docs/d7/d73/_translation_8h_source.html b/docs/d7/d73/_translation_8h_source.html index 68285ca..459bde4 100644 --- a/docs/d7/d73/_translation_8h_source.html +++ b/docs/d7/d73/_translation_8h_source.html @@ -72,7 +72,7 @@ $(function() { diff --git a/docs/d7/dee/class_m_utils_1_1_i_p_c_channel-members.html b/docs/d7/dee/class_m_utils_1_1_i_p_c_channel-members.html index 57833e4..4416520 100644 --- a/docs/d7/dee/class_m_utils_1_1_i_p_c_channel-members.html +++ b/docs/d7/dee/class_m_utils_1_1_i_p_c_channel-members.html @@ -85,7 +85,7 @@ $(function() { diff --git a/docs/da/d35/class_m_utils_1_1_registry_1_1_registry_key.html b/docs/da/d35/class_m_utils_1_1_registry_1_1_registry_key.html index 3cebc89..cef3c15 100644 --- a/docs/da/d35/class_m_utils_1_1_registry_1_1_registry_key.html +++ b/docs/da/d35/class_m_utils_1_1_registry_1_1_registry_key.html @@ -104,7 +104,7 @@ bool enum_subkeys (QSt diff --git a/docs/da/d5d/_g_u_i_8h_source.html b/docs/da/d5d/_g_u_i_8h_source.html index 412ce6c..bceca1b 100644 --- a/docs/da/d5d/_g_u_i_8h_source.html +++ b/docs/da/d5d/_g_u_i_8h_source.html @@ -72,7 +72,7 @@ $(function() { diff --git a/docs/dc/d55/struct_m_utils_1_1_o_s_1_1_version_1_1__os__version__t.html b/docs/dc/d55/struct_m_utils_1_1_o_s_1_1_version_1_1__os__version__t.html index 68be4ef..866cb81 100644 --- a/docs/dc/d55/struct_m_utils_1_1_o_s_1_1_version_1_1__os__version__t.html +++ b/docs/dc/d55/struct_m_utils_1_1_o_s_1_1_version_1_1__os__version__t.html @@ -117,7 +117,7 @@ bool overrideFlag diff --git a/docs/dc/db3/class_m_utils_1_1_registry_1_1_registry_key-members.html b/docs/dc/db3/class_m_utils_1_1_registry_1_1_registry_key-members.html index cf71144..6996063 100644 --- a/docs/dc/db3/class_m_utils_1_1_registry_1_1_registry_key-members.html +++ b/docs/dc/db3/class_m_utils_1_1_registry_1_1_registry_key-members.html @@ -82,7 +82,7 @@ $(function() { diff --git a/docs/dc/dd3/class_m_utils_1_1_job_object.html b/docs/dc/dd3/class_m_utils_1_1_job_object.html index c07c651..28fa03a 100644 --- a/docs/dc/dd3/class_m_utils_1_1_job_object.html +++ b/docs/dc/dd3/class_m_utils_1_1_job_object.html @@ -86,7 +86,7 @@ bool terminateJob (uns diff --git a/docs/dc/df9/class_m_utils_1_1_hash_1_1_blake2-members.html b/docs/dc/df9/class_m_utils_1_1_hash_1_1_blake2-members.html index 240a0c4..c76c2ae 100644 --- a/docs/dc/df9/class_m_utils_1_1_hash_1_1_blake2-members.html +++ b/docs/dc/df9/class_m_utils_1_1_hash_1_1_blake2-members.html @@ -78,7 +78,7 @@ $(function() { diff --git a/docs/dd/d9f/class_m_utils_1_1_hash_1_1_keccak.html b/docs/dd/d9f/class_m_utils_1_1_hash_1_1_keccak.html index 59a704f..36b8201 100644 --- a/docs/dd/d9f/class_m_utils_1_1_hash_1_1_keccak.html +++ b/docs/dd/d9f/class_m_utils_1_1_hash_1_1_keccak.html @@ -122,7 +122,7 @@ QByteArray m_hashResult diff --git a/docs/dd/de2/struct_m_utils_1_1_c_p_u_fetaures_1_1__cpu__info__t.html b/docs/dd/de2/struct_m_utils_1_1_c_p_u_fetaures_1_1__cpu__info__t.html index 7fcc4c9..84dc2da 100644 --- a/docs/dd/de2/struct_m_utils_1_1_c_p_u_fetaures_1_1__cpu__info__t.html +++ b/docs/dd/de2/struct_m_utils_1_1_c_p_u_fetaures_1_1__cpu__info__t.html @@ -107,7 +107,7 @@ char brand [0x40] diff --git a/docs/dd/dea/_hash___keccak_8h_source.html b/docs/dd/dea/_hash___keccak_8h_source.html index 9482578..3c8df18 100644 --- a/docs/dd/dea/_hash___keccak_8h_source.html +++ b/docs/dd/dea/_hash___keccak_8h_source.html @@ -74,7 +74,7 @@ $(function() { diff --git a/docs/df/d98/_exception_8h_source.html b/docs/df/d98/_exception_8h_source.html index 6e85dfc..cdf2a48 100644 --- a/docs/df/d98/_exception_8h_source.html +++ b/docs/df/d98/_exception_8h_source.html @@ -70,7 +70,7 @@ $(function() {
1 // MuldeR's Utilities for Qt
3 // Copyright (C) 2004-2016 LoRd_MuldeR <MuldeR2@GMX.de>
4 //
5 // This library is free software; you can redistribute it and/or
6 // modify it under the terms of the GNU Lesser General Public
7 // License as published by the Free Software Foundation; either
8 // version 2.1 of the License, or (at your option) any later version.
9 //
10 // This library is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 // Lesser General Public License for more details.
14 //
15 // You should have received a copy of the GNU Lesser General Public
16 // License along with this library; if not, write to the Free Software
17 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18 //
19 // http://www.gnu.org/licenses/lgpl-2.1.txt
21 
22 #pragma once
23 
24 #include <stdexcept>
25 
26 #define MUTILS_PRINT_ERROR(FORMAT, ...) do \
27 { \
28  fflush(stdout); \
29  fprintf(stderr, (FORMAT), __VA_ARGS__); \
30  fflush(stderr); \
31 } \
32 while(0)
33 
34 #define MUTILS_EXCEPTION_HANDLER(COMMAND) do \
35 { \
36  try \
37  { \
38  do { COMMAND; } while(0); \
39  } \
40  catch(const std::exception &error) \
41  { \
42  MUTILS_PRINT_ERROR("\nGURU MEDITATION !!!\n\nException error:\n%s\n", error.what()); \
43  MUtils::OS::fatal_exit(L"Unhandeled C++ exception error, application will exit!"); \
44  } \
45  catch(...) \
46  { \
47  MUTILS_PRINT_ERROR("\nGURU MEDITATION !!!\n\nUnknown exception error!\n"); \
48  MUtils::OS::fatal_exit(L"Unhandeled C++ exception error, application will exit!"); \
49  } \
50 } \
51 while(0)
52 
53 #define MUTILS_THROW(MESSAGE) do \
54 { \
55  throw std::runtime_error((MESSAGE)); \
56 } \
57 while(0)
58 
59 #define MUTILS_THROW_FMT(MESSAGE, ...) do \
60 { \
61  char _message[256]; \
62  _snprintf_s(_message, 256, _TRUNCATE, (MESSAGE), __VA_ARGS__); \
63  throw std::runtime_error(_message); \
64 } \
65 while(0)
diff --git a/docs/dir_b076b53667bc06ebb413a190e197fc7b.html b/docs/dir_b076b53667bc06ebb413a190e197fc7b.html index 028e264..4c845fc 100644 --- a/docs/dir_b076b53667bc06ebb413a190e197fc7b.html +++ b/docs/dir_b076b53667bc06ebb413a190e197fc7b.html @@ -77,7 +77,7 @@ Files diff --git a/docs/dir_d44c64559bbebec7f509842c48db8b23.html b/docs/dir_d44c64559bbebec7f509842c48db8b23.html index 891b3a2..85e9206 100644 --- a/docs/dir_d44c64559bbebec7f509842c48db8b23.html +++ b/docs/dir_d44c64559bbebec7f509842c48db8b23.html @@ -74,7 +74,7 @@ Directories diff --git a/docs/files.html b/docs/files.html index cd97e1e..02e5ec0 100644 --- a/docs/files.html +++ b/docs/files.html @@ -90,7 +90,7 @@ $(function() { diff --git a/docs/hierarchy.html b/docs/hierarchy.html index a4e92c0..d3b6f40 100644 --- a/docs/hierarchy.html +++ b/docs/hierarchy.html @@ -83,7 +83,7 @@ $(function() { diff --git a/docs/index.html b/docs/index.html index 4f87a80..cc8d999 100644 --- a/docs/index.html +++ b/docs/index.html @@ -73,7 +73,7 @@ $(function() {
MUtilities - MuldeR's Utilities for Qt
Copyright (C) 2004-2016 LoRd_MuldeR <MuldeR2@GMX.de>. Some rights reserved.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
diff --git a/include/MUtils/Global.h b/include/MUtils/Global.h index c7aa2db..4f9ed74 100644 --- a/include/MUtils/Global.h +++ b/include/MUtils/Global.h @@ -172,7 +172,7 @@ namespace MUtils /** * \brief Generates a unique file name. * - * The function generates a unique file name in the specified directory. The function guarantees that the return file name does *not* exist yet. If necessary, a *counter* will be included in the file name in order to ensure its uniqueness. + * The function generates a unique file name in the specified directory. The function guarantees that the returned file name does *not* exist yet. If necessary, a *counter* will be included in the file name in order to ensure its uniqueness. * * \param basePath Specifies the "base" directory where the unique file is supposed to be created. This must be a valid *existing* directory. * @@ -180,7 +180,7 @@ namespace MUtils * * \param extension Specifies the desired file extensions of the unqiue file. Do **not** include a leading dot (`.`) character. * - * \param fancy If set to `true`, the file name is generated according to the `"/ (N)."` pattern; if set to `false`, the file name is generated according to the `"/.XXXX."` pattern. + * \param fancy If set to `true`, the file name is generated according to the `"/ (N)."` pattern; if set to `false`, the file name is generated according to the `"/.XXXX."` pattern. * * \return If the function succeeds, it returns a QString holding the full path of the unique file; otherwise it returns a default-constructed QString. */ -- 2.11.4.GIT