diff options
| author | Rémi Verschelde <rverschelde@gmail.com> | 2019-02-13 08:49:39 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-02-13 08:49:39 +0100 |
| commit | 55ca2a7c88503d0f07785ab9215809b02027f858 (patch) | |
| tree | dff95ace09acaa882c74f77f1036b05c7e4a360b /platform/android/power_android.h | |
| parent | a18ceb6a302b23094136adfc9591121f8b49a8cf (diff) | |
| parent | fe7e11e008598e4bbbe46cf817af2fac999a5326 (diff) | |
Merge pull request #25821 from akien-mga/sync-class-and-filenames
Ensure classes match their header filename
Diffstat (limited to 'platform/android/power_android.h')
| -rw-r--r-- | platform/android/power_android.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/platform/android/power_android.h b/platform/android/power_android.h index 9730c53674..6cb745b6c0 100644 --- a/platform/android/power_android.h +++ b/platform/android/power_android.h @@ -28,13 +28,14 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#ifndef PLATFORM_ANDROID_POWER_ANDROID_H_ -#define PLATFORM_ANDROID_POWER_ANDROID_H_ +#ifndef POWER_ANDROID_H +#define POWER_ANDROID_H #include "core/os/os.h" + #include <android/native_window_jni.h> -class power_android { +class PowerAndroid { struct LocalReferenceHolder { JNIEnv *m_env; @@ -65,8 +66,8 @@ private: public: static int s_active; - power_android(); - virtual ~power_android(); + PowerAndroid(); + virtual ~PowerAndroid(); static bool LocalReferenceHolder_Init(struct LocalReferenceHolder *refholder, JNIEnv *env); static struct LocalReferenceHolder LocalReferenceHolder_Setup(const char *func); static void LocalReferenceHolder_Cleanup(struct LocalReferenceHolder *refholder); @@ -76,4 +77,4 @@ public: int get_power_percent_left(); }; -#endif /* PLATFORM_ANDROID_POWER_ANDROID_H_ */ +#endif // POWER_ANDROID_H |