mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 00:14:22 +00:00
Reorganize sources and files (#414)
* Reorganize sources * Refactor * Remove relative paths * Renames * Fix gitignore * Remove stuff * Try fixing format script * Fix format * Fix format * Fix naming script * Test format * Fix format
This commit is contained in:

committed by
GitHub

parent
6a85e62406
commit
c47206617d
34
LEGO1/omni/include/mxvariable.h
Normal file
34
LEGO1/omni/include/mxvariable.h
Normal file
@@ -0,0 +1,34 @@
|
||||
#ifndef MXVARIABLE_H
|
||||
#define MXVARIABLE_H
|
||||
|
||||
#include "mxcore.h"
|
||||
#include "mxstring.h"
|
||||
|
||||
// VTABLE: LEGO1 0x100d7498
|
||||
// SIZE 0x24
|
||||
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* p_value);
|
||||
virtual void Destroy();
|
||||
|
||||
inline const MxString* GetKey() const { return &m_key; }
|
||||
|
||||
protected:
|
||||
MxString m_key;
|
||||
MxString m_value;
|
||||
};
|
||||
|
||||
#endif // MXVARIABLE_H
|
Reference in New Issue
Block a user