mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-18 00:21:21 +02:00
2021-09-13 Fred Gleason <fredg@paravelsystems.com>
* Added an 'RDGroups::create()' static method. * Added an 'RDGroups::remove()' static method. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -62,7 +62,10 @@ class RDGroup
|
||||
RDCart::Type type,int quan) const;
|
||||
bool cartNumberValid(unsigned cartnum) const;
|
||||
QString xml() const;
|
||||
|
||||
static bool create(const QString &name,bool allow_all_users,
|
||||
bool allow_all_services,QString *err_msg);
|
||||
static bool remove(const QString &name,QString *err_msg);
|
||||
|
||||
private:
|
||||
unsigned GetNextFreeCart(unsigned startcart) const;
|
||||
bool ReserveCart(const QString &station_name,RDCart::Type type,
|
||||
|
Reference in New Issue
Block a user