Changed the include guard names for the primary components.

This commit is contained in:
Leon Styhre 2022-11-08 21:44:42 +01:00
parent b4338a3fb7
commit 319992a0f7
3 changed files with 9 additions and 9 deletions

View file

@ -6,8 +6,8 @@
// Carousel, usable in both the system and gamelist views. // Carousel, usable in both the system and gamelist views.
// //
#ifndef ES_CORE_COMPONENTS_CAROUSEL_COMPONENT_H #ifndef ES_CORE_COMPONENTS_PRIMARY_CAROUSEL_COMPONENT_H
#define ES_CORE_COMPONENTS_CAROUSEL_COMPONENT_H #define ES_CORE_COMPONENTS_PRIMARY_CAROUSEL_COMPONENT_H
#include "Sound.h" #include "Sound.h"
#include "animations/LambdaAnimation.h" #include "animations/LambdaAnimation.h"
@ -1346,4 +1346,4 @@ template <typename T> void CarouselComponent<T>::onCursorChanged(const CursorSta
mCursorChangedCallback(state); mCursorChangedCallback(state);
} }
#endif // ES_CORE_COMPONENTS_CAROUSEL_COMPONENT_H #endif // ES_CORE_COMPONENTS_PRIMARY_CAROUSEL_COMPONENT_H

View file

@ -6,8 +6,8 @@
// Base class for the primary components (carousel and textlist). // Base class for the primary components (carousel and textlist).
// //
#ifndef ES_CORE_COMPONENTS_PRIMARY_COMPONENT_H #ifndef ES_CORE_COMPONENTS_PRIMARY_PRIMARY_COMPONENT_H
#define ES_CORE_COMPONENTS_PRIMARY_COMPONENT_H #define ES_CORE_COMPONENTS_PRIMARY_PRIMARY_COMPONENT_H
template <typename T> class PrimaryComponent : public virtual GuiComponent template <typename T> class PrimaryComponent : public virtual GuiComponent
{ {
@ -52,4 +52,4 @@ public:
virtual void setAlignment(PrimaryAlignment align) {} virtual void setAlignment(PrimaryAlignment align) {}
}; };
#endif // ES_CORE_COMPONENTS_PRIMARY_COMPONENT_H #endif // ES_CORE_COMPONENTS_PRIMARY_PRIMARY_COMPONENT_H

View file

@ -6,8 +6,8 @@
// Text list, usable in both the system and gamelist views. // Text list, usable in both the system and gamelist views.
// //
#ifndef ES_CORE_COMPONENTS_TEXT_LIST_COMPONENT_H #ifndef ES_CORE_COMPONENTS_PRIMARY_TEXT_LIST_COMPONENT_H
#define ES_CORE_COMPONENTS_TEXT_LIST_COMPONENT_H #define ES_CORE_COMPONENTS_PRIMARY_TEXT_LIST_COMPONENT_H
#include "Log.h" #include "Log.h"
#include "Sound.h" #include "Sound.h"
@ -723,4 +723,4 @@ template <typename T> void TextListComponent<T>::onCursorChanged(const CursorSta
mCursorChangedCallback(state); mCursorChangedCallback(state);
} }
#endif // ES_CORE_COMPONENTS_TEXT_LIST_COMPONENT_H #endif // ES_CORE_COMPONENTS_PRIMARY_TEXT_LIST_COMPONENT_H