#include <cel_license.h>
Public Member Functions | |
| CartridgeConsumer () | |
| ~CartridgeConsumer () | |
| void | reserve (Feature inFeature, size_t inCount) | 
| void | commit () | 
| void | revert () | 
This class is used by applications which consumes cartridges installed on the machine.
| Celartem::License::CartridgeConsumer::CartridgeConsumer | ( | ) | 
Initialize a CartridgeConsumer instance.
| Celartem::License::CartridgeConsumer::~CartridgeConsumer | ( | ) | 
Deinitialize the instance.
If commit method is not called, this method reverts the reserved cartridge to the cartridge store. 
| void Celartem::License::CartridgeConsumer::commit | ( | ) | 
Consumes the reserved cartridge.
| void Celartem::License::CartridgeConsumer::reserve | ( | Feature | inFeature, | 
| size_t | inCount | ||
| ) | 
Reserve cartridge counts of the specified feature.
| inFeature | The feature of which cartridge counts will be reserved. | 
| inCount | The cartridge counts. | 
| void Celartem::License::CartridgeConsumer::revert | ( | ) | 
Reverts the reserved cartridge;