Introduce clang-format (#240)

This commit is contained in:
Christian Semmler
2023-10-24 19:38:27 -04:00
committed by GitHub
parent e928fc9425
commit b449da1fa3
408 changed files with 12434 additions and 12813 deletions

View File

@@ -1,35 +1,34 @@
#ifndef MXVARIABLE_H
#define MXVARIABLE_H
#include "mxstring.h"
#include "mxcore.h"
#include "mxstring.h"
// VTABLE 0x100d7498
// SIZE 0x24
class MxVariable
{
class MxVariable {
public:
MxVariable() {}
MxVariable(const char *p_key)
{
m_key = p_key;
m_key.ToUpperCase();
}
MxVariable(const char *p_key, const char *p_value)
{
m_key = p_key;
m_key.ToUpperCase();
m_value = p_value;
}
virtual MxString *GetValue();
virtual void SetValue(const char *);
virtual void Destroy();
MxVariable() {}
MxVariable(const char* p_key)
{
m_key = p_key;
m_key.ToUpperCase();
}
MxVariable(const char* p_key, const char* p_value)
{
m_key = p_key;
m_key.ToUpperCase();
m_value = p_value;
}
virtual MxString* GetValue();
virtual void SetValue(const char*);
virtual void Destroy();
inline const MxString *GetKey() const { return &m_key; }
inline const MxString* GetKey() const { return &m_key; }
protected:
MxString m_key;
MxString m_value;
MxString m_key;
MxString m_value;
};
#endif // MXVARIABLE_H