#include "stdafx.h" #include "AccountInfo.h" AccountInfo::~AccountInfo() { if(INVALID_ACCOUNT_ID != m_ID) Free(); } BOOL AccountInfo::Alloc() { m_ID = Manipulater::AllocNewAccount(); if(INVALID_ACCOUNT_ID == m_ID) return FALSE; return TRUE; } BOOL AccountInfo::Free() { DEBUGGING_CODE_L1(""); return Manipulater::FreeAccount(m_ID); }