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
22
28 bool IsCompanyNumberAllowedForWalletOperation( short companyNumber );
29
35 bool IsCompanyNumberAllowedForTimeTicketJourney( short companyNumber );
36
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.
bool IsCompanyNumberRestrictedForTimeTicketSell(short companyNumber)
IsCompanyNumberRestrictedForTimeTicketSell.
bool IsCompanyNumberAllowedForOneWayTicketJourney(short companyNumber)
IsCompanyNumberAllowedForOneWayTicketJourney.
bool IsCompanyNumberAllowedForCommercialDiscount(short companyNumber)
IsCompanyNumberAllowedForCommercialDiscount.
bool IsCompanyNumberAllowedForTimeTicketJourney(short companyNumber)
IsCompanyNumberAllowedForTimeTicketJourney.