mirror of
https://github.com/Relintai/crystal_cms_rcpp_fw.git
synced 2025-04-22 20:41:18 +02:00
20 lines
298 B
C++
20 lines
298 B
C++
#include "menu_data_entry.h"
|
|
|
|
bool MenuDataEntry::is_smaller(const Ref<MenuDataEntry> &b) const {
|
|
if (!b.is_valid()) {
|
|
return true;
|
|
}
|
|
|
|
return sort_order < b->sort_order;
|
|
}
|
|
|
|
MenuDataEntry::MenuDataEntry() :
|
|
SharedResource() {
|
|
|
|
id = 0;
|
|
sort_order = 0;
|
|
}
|
|
|
|
MenuDataEntry::~MenuDataEntry() {
|
|
}
|