28 lines
366 B
C++
28 lines
366 B
C++
#pragma once
|
|
|
|
#define APP_STRING_ID_H
|
|
|
|
#include <QByteArray>
|
|
|
|
namespace App
|
|
{
|
|
class StringIDRef
|
|
{
|
|
public:
|
|
void toBytes(QByteArray& bytes) const
|
|
{
|
|
bytes.clear();
|
|
}
|
|
|
|
bool operator<(const StringIDRef&) const
|
|
{
|
|
return false;
|
|
}
|
|
|
|
bool operator==(const StringIDRef&) const
|
|
{
|
|
return true;
|
|
}
|
|
};
|
|
} // namespace App
|