ALFloaterRegionTracker::ALFloaterRegionTracker(const LLSD& key)
	: LLFloater(key),
	  LLEventTimer(5.f),
	  mRefreshRegionListBtn(NULL),
	  mRemoveRegionBtn(NULL),
	  mOpenMapBtn(NULL),
	  mRegionScrollList(NULL)
{
	loadFromJSON();
}
Beispiel #2
0
Session::Session(std::string file)
{
    local_file = file;

    QFileInfo q_file(local_file.c_str());
    std::string date = q_file.absoluteDir().dirName().toStdString();

    root = loadJSONFile(local_file.c_str());
    loadFromJSON();

    setDate(date);
}