AppCore
Loading...
Searching...
No Matches
AllowedCompaniesBusinessLogic.h
Go to the documentation of this file.
1#ifndef ALLOWEDCOMPANIESBUSINESSLOGIC_H
2#define ALLOWEDCOMPANIESBUSINESSLOGIC_H
3
4#include "core/common/ESingleton.h"
5
10class AllowedCompaniesBusinessLogic : public ESingleton<AllowedCompaniesBusinessLogic>
11{
12public:
15
21 bool IsCompanyNumberAllowedForOneWayTicketJourney( short companyNumber );
22
28 bool IsCompanyNumberAllowedForWalletOperation( short companyNumber );
29
35 bool IsCompanyNumberAllowedForTimeTicketJourney( short companyNumber );
36
42 bool IsCompanyNumberAllowedForCommercialDiscount( short companyNumber );
43
49 bool IsCompanyNumberRestrictedForTimeTicketSell( short companyNumber );
50
51private:
53
54 class DataClass;
55 DataClass *d;
56
58};
59
60#endif // ALLOWEDCOMPANIESBUSINESSLOGIC_H
Definition AllowedCompaniesBusinessLogic.cpp:12
Class loads allowed companies from 'Udalosti.dat' ( EEventCards ) and provides interface for checking...
Definition AllowedCompaniesBusinessLogic.h:11
bool IsCompanyNumberAllowedForWalletOperation(short companyNumber)
IsCompanyNumberAllowedForWalletOperation.
Definition AllowedCompaniesBusinessLogic.cpp:77
virtual ~AllowedCompaniesBusinessLogic()
Definition AllowedCompaniesBusinessLogic.cpp:67
bool IsCompanyNumberRestrictedForTimeTicketSell(short companyNumber)
IsCompanyNumberRestrictedForTimeTicketSell.
Definition AllowedCompaniesBusinessLogic.cpp:92
bool IsCompanyNumberAllowedForOneWayTicketJourney(short companyNumber)
IsCompanyNumberAllowedForOneWayTicketJourney.
Definition AllowedCompaniesBusinessLogic.cpp:72
AllowedCompaniesBusinessLogic()
Definition AllowedCompaniesBusinessLogic.cpp:61
bool IsCompanyNumberAllowedForCommercialDiscount(short companyNumber)
IsCompanyNumberAllowedForCommercialDiscount.
Definition AllowedCompaniesBusinessLogic.cpp:87
bool IsCompanyNumberAllowedForTimeTicketJourney(short companyNumber)
IsCompanyNumberAllowedForTimeTicketJourney.
Definition AllowedCompaniesBusinessLogic.cpp:82