1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-21 01:24:21 +00:00

Moved all "namespace juce" declarations from module headers to the individual .h and .cpp source files. This makes life a lot easier for Intellisense and other IDE autocompletion tools

This commit is contained in:
jules 2017-09-08 08:59:55 +01:00
parent b58a0f4be7
commit eda613c6db
1069 changed files with 5367 additions and 1845 deletions

View file

@ -20,9 +20,11 @@
==============================================================================
*/
class JSONParser
namespace juce
{
struct JSONParser
{
public:
static Result parseObjectOrArray (String::CharPointerType t, var& result)
{
t = t.findEndOfWhitespace();
@ -319,9 +321,8 @@ private:
};
//==============================================================================
class JSONFormatter
struct JSONFormatter
{
public:
static void write (OutputStream& out, const var& v,
const int indentLevel, const bool allOnOneLine,
int maximumDecimalPlaces)
@ -648,3 +649,5 @@ public:
static JSONTests JSONUnitTests;
#endif
} // namespace juce

View file

@ -20,8 +20,8 @@
==============================================================================
*/
#pragma once
namespace juce
{
//==============================================================================
/**
@ -128,3 +128,5 @@ private:
//==============================================================================
JSON() JUCE_DELETED_FUNCTION; // This class can't be instantiated - just use its static methods.
};
} // namespace juce

View file

@ -20,6 +20,9 @@
==============================================================================
*/
namespace juce
{
#define JUCE_JS_OPERATORS(X) \
X(semicolon, ";") X(dot, ".") X(comma, ",") \
X(openParen, "(") X(closeParen, ")") X(openBrace, "{") X(closeBrace, "}") \
@ -1891,3 +1894,5 @@ const NamedValueSet& JavascriptEngine::getRootObjectProperties() const noexcept
#if JUCE_MSVC
#pragma warning (pop)
#endif
} // namespace juce

View file

@ -20,8 +20,8 @@
==============================================================================
*/
#pragma once
namespace juce
{
//==============================================================================
/**
@ -116,3 +116,5 @@ private:
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (JavascriptEngine)
};
} // namespace juce