WXP C++ Library Version 6.74.9
|
This class checks the WXP license file for valid licenses. More...
#include "../include/License.h"
Public Member Functions | |
License () | |
bool | valid () |
bool | valid (const char *type) |
This class checks the WXP license file for valid licenses.
License::License | ( | ) |
Constructor
bool License::valid | ( | ) |
Checks whether computer is licensed to use WXP
References WXP::FileTool::addPath(), WXP::StrLib::copy(), WXP::String::get(), WXP::Wxp::getComputerName(), WXP::Wxp::getDatabasePath(), WXP::FileTool::getPath(), WXP::FileTool::numPath(), WXP::Wxp::outDebug(), and WXP::Wxp::outWarning().
Referenced by WXP::ResrcDB::create(), and WXP::Prog::readResrcFile().
bool License::valid | ( | const char * | type | ) |
Checks for license vailidity to do some actions
type | Action (GIF=save GIF images, NLDN=use NLDN data) |
References WXP::StrLib::equal().