Revision c393c256
Added by david.sorber 8 months ago
| src/CatalogItem.h | ||
|---|---|---|
|
|
||
|
~CatalogItem();
|
||
|
|
||
|
inline int getId() const
|
||
|
{
|
||
|
return m_id;
|
||
|
}
|
||
|
|
||
|
inline const std::string& getKey() const
|
||
|
{
|
||
|
return m_key;
|
||
| ... | ... | |
|
m_visible = vis;
|
||
|
}
|
||
|
|
||
|
|
||
|
/**
|
||
|
* Return true if the specified criteria matches the key
|
||
|
* @param criteria
|
||
| ... | ... | |
|
|
||
|
private:
|
||
|
|
||
|
static int NEXT_ID;
|
||
|
|
||
|
int m_id;
|
||
|
std::string m_key;
|
||
|
std::string m_keyLower;
|
||
|
std::string m_value;
|
||
| ... | ... | |
|
char m_valueBuffer[VALUE_BUFFER_SIZE];
|
||
|
|
||
|
bool m_visible;
|
||
|
|
||
|
|
||
|
|
||
|
};
|
||
|
|
||
|
|
||
Revamp display widgets. Use a listbox on the left panel and a multiline
text box in the main right panel. Bump version to 0.2.0.