added get_connector() method to Model
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
*/
|
||||
|
||||
/*
|
||||
* Copyright (c) 2018-2019, Tomasz Sowa
|
||||
* Copyright (c) 2018-2021, Tomasz Sowa
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
@@ -112,6 +112,12 @@ void Model::set_connector(ModelConnector * connector)
|
||||
}
|
||||
|
||||
|
||||
ModelConnector * Model::get_connector()
|
||||
{
|
||||
return model_connector;
|
||||
}
|
||||
|
||||
|
||||
bool Model::object_exists()
|
||||
{
|
||||
return save_mode == DO_UPDATE_ON_SAVE;
|
||||
|
Reference in New Issue
Block a user