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

Replace include guards with "#pragma once"

This commit is contained in:
hogliux 2017-02-01 16:04:27 +00:00
parent dda135a9eb
commit 2da1bc5f41
473 changed files with 474 additions and 2237 deletions

View file

@ -22,8 +22,7 @@
==============================================================================
*/
#ifndef JUCE_CARETCOMPONENT_H_INCLUDED
#define JUCE_CARETCOMPONENT_H_INCLUDED
#pragma once
//==============================================================================
@ -75,6 +74,3 @@ private:
JUCE_DECLARE_NON_COPYABLE (CaretComponent)
};
#endif // JUCE_CARETCOMPONENT_H_INCLUDED

View file

@ -22,8 +22,7 @@
==============================================================================
*/
#ifndef JUCE_KEYLISTENER_H_INCLUDED
#define JUCE_KEYLISTENER_H_INCLUDED
#pragma once
//==============================================================================
@ -71,6 +70,3 @@ public:
*/
virtual bool keyStateChanged (bool isKeyDown, Component* originatingComponent);
};
#endif // JUCE_KEYLISTENER_H_INCLUDED

View file

@ -22,8 +22,7 @@
==============================================================================
*/
#ifndef JUCE_KEYPRESS_H_INCLUDED
#define JUCE_KEYPRESS_H_INCLUDED
#pragma once
//==============================================================================
@ -249,6 +248,3 @@ private:
JUCE_LEAK_DETECTOR (KeyPress)
};
#endif // JUCE_KEYPRESS_H_INCLUDED

View file

@ -22,8 +22,7 @@
==============================================================================
*/
#ifndef JUCE_KEYBOARDFOCUSTRAVERSER_H_INCLUDED
#define JUCE_KEYBOARDFOCUSTRAVERSER_H_INCLUDED
#pragma once
//==============================================================================
@ -84,6 +83,3 @@ public:
*/
virtual Component* getDefaultComponent (Component* parentComponent);
};
#endif // JUCE_KEYBOARDFOCUSTRAVERSER_H_INCLUDED

View file

@ -22,8 +22,7 @@
==============================================================================
*/
#ifndef JUCE_MODIFIERKEYS_H_INCLUDED
#define JUCE_MODIFIERKEYS_H_INCLUDED
#pragma once
//==============================================================================
@ -218,6 +217,3 @@ private:
static ModifierKeys currentModifiers;
static void updateCurrentModifiers() noexcept;
};
#endif // JUCE_MODIFIERKEYS_H_INCLUDED

View file

@ -22,8 +22,7 @@
==============================================================================
*/
#ifndef JUCE_SYSTEMCLIPBOARD_H_INCLUDED
#define JUCE_SYSTEMCLIPBOARD_H_INCLUDED
#pragma once
//==============================================================================
@ -43,5 +42,3 @@ public:
*/
static String getTextFromClipboard();
};
#endif // JUCE_SYSTEMCLIPBOARD_H_INCLUDED

View file

@ -22,8 +22,7 @@
==============================================================================
*/
#ifndef JUCE_TEXTEDITORKEYMAPPER_H_INCLUDED
#define JUCE_TEXTEDITORKEYMAPPER_H_INCLUDED
#pragma once
//==============================================================================
@ -117,6 +116,3 @@ struct TextEditorKeyMapper
return false;
}
};
#endif // JUCE_TEXTEDITORKEYMAPPER_H_INCLUDED

View file

@ -22,8 +22,7 @@
==============================================================================
*/
#ifndef JUCE_TEXTINPUTTARGET_H_INCLUDED
#define JUCE_TEXTINPUTTARGET_H_INCLUDED
#pragma once
//==============================================================================
@ -90,6 +89,3 @@ public:
*/
virtual VirtualKeyboardType getKeyboardType() { return textKeyboard; }
};
#endif // JUCE_TEXTINPUTTARGET_H_INCLUDED