mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-07 04:10:08 +00:00
whitespace cleanup
This commit is contained in:
parent
90999af68b
commit
69d0eb483e
12 changed files with 1567 additions and 1565 deletions
|
|
@ -112,7 +112,7 @@ public:
|
|||
/** WIN32 ONLY - Creates a file association in the registry.
|
||||
|
||||
This lets you set the exe that should be launched by a given file extension.
|
||||
@param fileExtension the file extension to associate, including the
|
||||
@param fileExtension the file extension to associate, including the
|
||||
initial dot, e.g. ".txt"
|
||||
@param symbolicDescription a space-free short token to identify the file type
|
||||
@param fullDescription a human-readable description of the file type
|
||||
|
|
@ -121,9 +121,9 @@ public:
|
|||
found by looking up this resource number in the
|
||||
executable. Pass 0 here to not use an icon
|
||||
*/
|
||||
static void registerFileAssociation (const String& fileExtension,
|
||||
const String& symbolicDescription,
|
||||
const String& fullDescription,
|
||||
static void registerFileAssociation (const String& fileExtension,
|
||||
const String& symbolicDescription,
|
||||
const String& fullDescription,
|
||||
const File& targetExecutable,
|
||||
int iconResourceNumber);
|
||||
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ BEGIN_JUCE_NAMESPACE
|
|||
//==============================================================================
|
||||
Uuid::Uuid()
|
||||
{
|
||||
// Mix up any available MAC addresses with some time-based pseudo-random numbers
|
||||
// Mix up any available MAC addresses with some time-based pseudo-random numbers
|
||||
// to make it very very unlikely that two UUIDs will ever be the same..
|
||||
|
||||
static int64 macAddresses[2];
|
||||
|
|
@ -60,7 +60,7 @@ Uuid::Uuid()
|
|||
// We'll use both a local RNG that is re-seeded, plus the shared RNG,
|
||||
// whose seed will carry over between calls to this method.
|
||||
|
||||
Random r (macAddresses[0] ^ macAddresses[1]
|
||||
Random r (macAddresses[0] ^ macAddresses[1]
|
||||
^ Random::getSystemRandom().nextInt64());
|
||||
|
||||
for (int i = 4; --i >= 0;)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue