void ListLoader::endTag(const string& name, const string&) {
    if(inListing) {
        if(name == sDirectory) {
            cur = cur->getParent();
        } else if(name == sFileListing) {
            // cur should be root now...
            inListing = false;
        }
    }
}
예제 #2
0
void ListLoader::endTag(const string& name, const string&)
{
	if (m_is_in_listing)
	{
		if (name == g_SDirectory)
		{
			m_cur = m_cur->getParent();
		}
		else if (name == sFileListing)
		{
			// cur should be root now...
			m_is_in_listing = false;
		}
	}
}