|
Fray Engine
|
Chooses an existing candidate database or a new database when opening is ambiguous. More...
#include <project_manager.hpp>
Static Public Member Functions | |
| static DatabaseChoice | use (const std::string &candidate) |
| Selects an existing database candidate. | |
| static DatabaseChoice | create () |
| Returns a choice to create a new database. | |
Public Attributes | |
| bool | createNew = false |
| True to create a new database instead of adopting a candidate. | |
| std::string | name |
| Candidate database file stem without the .sqlite extension. | |
Chooses an existing candidate database or a new database when opening is ambiguous.
Definition at line 38 of file project_manager.hpp.
|
inlinestatic |
Returns a choice to create a new database.
Definition at line 59 of file project_manager.hpp.
|
inlinestatic |
Selects an existing database candidate.
| candidate | Candidate file stem without .sqlite. |
Definition at line 54 of file project_manager.hpp.
| bool fray::DatabaseChoice::createNew = false |
True to create a new database instead of adopting a candidate.
Definition at line 43 of file project_manager.hpp.
| std::string fray::DatabaseChoice::name |
Candidate database file stem without the .sqlite extension.
Definition at line 47 of file project_manager.hpp.