Initial Commit
This commit is contained in:
commit
6088fc29ed
978 changed files with 353647 additions and 0 deletions
19
src/GUIStuff/GUIManagerID.cpp
Normal file
19
src/GUIStuff/GUIManagerID.cpp
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
#include "GUIManagerID.hpp"
|
||||
|
||||
namespace GUIStuff {
|
||||
|
||||
GUIManagerID::GUIManagerID(int64_t numID):
|
||||
idIsStr(false),
|
||||
idNum(numID)
|
||||
{}
|
||||
|
||||
GUIManagerID::GUIManagerID(const std::string& strID):
|
||||
idIsStr(true),
|
||||
idStr(strID)
|
||||
{}
|
||||
|
||||
bool GUIManagerID::operator==(const GUIManagerID& other) const {
|
||||
return idIsStr == other.idIsStr && idStr == other.idStr && idNum == other.idNum;
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue