-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
115 additions
and
147 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,8 +18,41 @@ | |
* Ben Ziv <[email protected]> * | ||
* * | ||
**************************************************************************************************/ | ||
#include "screenbase.hpp" | ||
#ifndef ORCHESTRA_APPLICATION_SCREEN_BACKOFFICE_BACKOFFICESCREENBASE_HPP_ | ||
#define ORCHESTRA_APPLICATION_SCREEN_BACKOFFICE_BACKOFFICESCREENBASE_HPP_ | ||
#include <tablehelper.hpp> | ||
|
||
namespace screen { | ||
|
||
} // namespace screen | ||
template <class ControllerType> | ||
class BackOfficeScreenBase { | ||
public: | ||
BackOfficeScreenBase() = default; | ||
virtual ~BackOfficeScreenBase() = default; | ||
|
||
protected: | ||
// Screen options - this represents the buttons in a GUI | ||
enum class Options { | ||
LANDING, | ||
DASHBOARD, | ||
USER_PROFILE, | ||
EMPLOYEE_MGMT, | ||
INVENTORY_CTRL, | ||
CUSTOMER_MGMT, | ||
OP_CREATE, | ||
OP_READ, | ||
OP_UPDATE, | ||
OP_DELETE, | ||
// add more enums here | ||
LOGOUT, | ||
APP_EXIT, | ||
INVALID | ||
// Warning! Don't add anything here. | ||
// New enum values must be added before LOGOUT | ||
}; | ||
ControllerType mCoreController; | ||
}; | ||
|
||
} // namespace screen | ||
|
||
#endif // ORCHESTRA_APPLICATION_SCREEN_BACKOFFICE_BACKOFFICESCREENBASE_HPP_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.