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

Added Value support to the Button's toggle state and TextEditor content. Refactored the atomic operation functions to live inside a class called Atomic, and the byte order functions into a class called ByteOrder.

This commit is contained in:
Julian Storer 2010-01-10 22:00:59 +00:00
parent 3ddbc82f9f
commit 18ffeba9da
64 changed files with 3721 additions and 3609 deletions

View file

@ -413,7 +413,7 @@ void juce_findFileClose (void* handle)
bool juce_launchFile (const String& fileName,
const String& parameters)
{
String cmdString (fileName);
String cmdString (fileName.replace (T(" "), T("\\ "),false));
cmdString << " " << parameters;
if (URL::isProbablyAWebsiteURL (fileName)

View file

@ -28,32 +28,6 @@
#if JUCE_INCLUDED_FILE
//==============================================================================
/*static juce_noinline unsigned int getCPUIDWord (int* familyModel, int* extFeatures) throw()
{
unsigned int cpu = 0;
unsigned int ext = 0;
unsigned int family = 0;
unsigned int dummy = 0;
#if JUCE_64BIT
__asm__ ("cpuid"
: "=a" (family), "=b" (ext), "=c" (dummy), "=d" (cpu) : "a" (1));
#else
__asm__ ("push %%ebx; cpuid; mov %%ebx, %%edi; pop %%ebx"
: "=a" (family), "=D" (ext), "=c" (dummy), "=d" (cpu) : "a" (1));
#endif
if (familyModel != 0)
*familyModel = family;
if (extFeatures != 0)
*extFeatures = ext;
return cpu;
}*/
//==============================================================================
void Logger::outputDebugString (const String& text) throw()
{

View file

@ -188,7 +188,7 @@ void Process::terminate()
exit (0);
}
bool JUCE_CALLTYPE juce_isRunningUnderDebugger()
bool JUCE_PUBLIC_FUNCTION juce_isRunningUnderDebugger()
{
static char testResult = 0;