CCPrintUI/LicenseInfoLoader.cpp File Reference

#include "precomp.h"
#include "LicenseInfoLoader.h"
#include "resource.h"
#include "CCPrintProgressDlg.h"
#include "globals.h"
#include "debug.h"
Include dependency graph for LicenseInfoLoader.cpp:

Go to the source code of this file.

Functions

TCHAR toHex (const BYTE &x)
std::tstring URLEncode (LPCTSTR pIn)

Variables

LPCTSTR CCINFO_URL []
 List of license data retrieval URLs.
LPCTSTR CCINFO_IMAGE_URL []
 List of license image retrieval URLs.

Detailed Description

Definition in file LicenseInfoLoader.cpp.


Function Documentation

TCHAR toHex ( const BYTE &  x  )  [inline]
Parameters:
x Byte to make hax-byte from
Returns:
Hex-fixed character for the received one

Definition at line 69 of file LicenseInfoLoader.cpp.

Referenced by URLEncode().

std::tstring URLEncode ( LPCTSTR  pIn  ) 
Parameters:
pIn String to encode
Returns:
URL-encoded string

This function replaces some characters with Hex representations to conform to the URL specifications

Definition at line 80 of file LicenseInfoLoader.cpp.

References toHex(), and tstring.

Referenced by LicenseInfoLoader::RequestLicense().


Generated on Mon Jun 18 12:40:18 2012 for CC PDF Converter by doxygen 1.6.1