29 #ifndef TERMSANDCONDITIONS_HPP_
30 #define TERMSANDCONDITIONS_HPP_
32 #define RESIZE_STORE 3
void cleanupTnCTranslation(termsAndConditionsTranslation_t *tnCTranslation)
void cleanupTnCMixAnswer(termsAndConditionMixAnswer_t *answer)
IMPORTANT NOTE: all methods does NOT incorporate locking over the translation store and thus are NOT ...
const DOMNode * getTranslationCustomizedSections(const UINT8 *locale)
returns only the customized sections of the translation specified by the language code or NULL if no ...
void removeTranslation(const UINT8 *locale)
removes the specific Terms & Conditions translation for the the language with the specified language ...
UINT32 currentTranslationIndex
TermsAndConditions(UINT8 *id, UINT32 nrOfTranslations)
Constructor with the id (Operator SKI), the number of translations and those elements to be imported ...
const termsAndConditionsTranslation_t * getTranslation(const UINT8 *locale)
returns the specific TermsAndconditions translation for the the language with the specified language ...
XERCES_CPP_NAMESPACE::DOMDocument * customizedSectionsOwner
virtual ~TermsAndConditions()
void setIndexToNextEmptySlot()
const DOMNode * getTranslationTemplate(const UINT8 *locale)
returns only the template of the translation specified by the language code or NULL if no such transl...
termsAndConditionsTranslation_t ** allTranslations
void addTranslation(const UINT8 *locale, DOMNode *tnc_customized, DOMNode *tnc_template)
add a language specific terms and Conditions document, which can be retrieved by *getTermsAndConditio...
XERCES_CPP_NAMESPACE::DOMDocument * xmlAnswer