6 * The **MUtilities** library is a collection of routines and classes to extend the [*Qt cross-platform framework*](http://qt-project.org/). It contains various convenience and utility functions as well as wrappers for OS-specific functionalities. The library was originally created as a "side product" of the [**LameXP**](http://lamexp.sourceforge.net/) application: Over the years, a lot of code, **not** really specific to *LameXP*, had accumulated in the *LameXP* code base. Some of that code even had been used in other projects too, in a "copy & paste" fashion – which had lead to redundancy and much complicated maintenance. In order to clean-up the LameXP code base, to eliminate the ugly redundancy and to simplify maintenance, the code in question has finally been refactored into the **MUtilities** (aka "MuldeR's Utilities for Qt") library. This library now forms the foundation of *LameXP* and [*other OpenSource projects*](https://github.com/lordmulder).
11 * The public API of the *MUtilities* library is defined in the following header files (select file for details):
12 * - **Global.h** – miscellaneous useful functions
13 * - **CPUFeatures.h** – functions for detection information about the CPU
14 * - **Hash.h** – functions for cryptographic hash computation
15 * - **JobObject.h** – functions for creating and managing job objects
20 * Here is a minimal example on how to use the *MUtilities* library in your project:
23 * #include <MUtils/Global.h>
25 * int main(int argc, char **argv)
27 * qDebug("Random number: %u\n", MUtils::next_rand_u32());
33 * This library is free software. It is released under the terms of the [*GNU Lesser General Public License (LGPL), Version 2.1*](https://www.gnu.org/licenses/lgpl-2.1.html).
35 * MUtilities - MuldeR's Utilities for Qt
36 * Copyright (C) 2004-2017 LoRd_MuldeR <MuldeR2@GMX.de>. Some rights reserved.
38 * This library is free software; you can redistribute it and/or
39 * modify it under the terms of the GNU Lesser General Public
40 * License as published by the Free Software Foundation; either
41 * version 2.1 of the License, or (at your option) any later version.
43 * This library is distributed in the hope that it will be useful,
44 * but WITHOUT ANY WARRANTY; without even the implied warranty of
45 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
46 * Lesser General Public License for more details.
48 * You should have received a copy of the GNU Lesser General Public
49 * License along with this library; if not, write to the Free Software
50 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
55 * The following third-party code is used in the MUtilities library:
57 * - **Keccak/SHA-3 Reference Implementation**
58 * Implementation by the Keccak, Keyak and Ketje Teams, namely, Guido Bertoni, Joan Daemen, Michaƫl Peeters, Gilles Van Assche and Ronny Van Keer
59 * No Copyright / Dedicated to the Public Domain
61 * - **Natural Order String Comparison**
62 * Copyright (C) 2000, 2004 by Martin Pool <mbp@sourcefrog.net>
63 * Released under the zlib License
65 * - **Adler-32 Checksum Algorithm (from zlib)**
66 * Copyright (C) 1995-2013 Jean-loup Gailly and Mark Adler
67 * Released under the zlib License