//Copyright 2017 Ryan Wick
//This file is part of Bandage
//Bandage is free software: you can redistribute it and/or modify
//it under the terms of the GNU General Public License as published by
//the Free Software Foundation, either version 3 of the License, or
//(at your option) any later version.
//Bandage is distributed in the hope that it will be useful,
//but WITHOUT ANY WARRANTY; without even the implied warranty of
//MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
//GNU General Public License for more details.
//You should have received a copy of the GNU General Public License
//along with Bandage. If not, see .
#ifndef MEMORY_H
#define MEMORY_H
#include "../program/globals.h"
#include
#include
#include "../graph/querydistance.h"
class Memory
{
public:
Memory();
void clearGraphSpecificMemory();
QString rememberedPath;
CommandLineCommand commandLineCommand;
bool pathDialogIsVisible;
bool queryPathDialogIsVisible;
//These store the user input in the 'Specify exact path...' dialog so it is
//retained between uses.
Path userSpecifiedPath;
QString userSpecifiedPathString;
bool userSpecifiedPathCircular;
//These store the results of a distance search between two queries.
QList distanceSearchResults;
//These store the last used distance path search queries/paths.
QString distancePathSearchQuery1;
QString distancePathSearchQuery2;
QString distancePathSearchQuery1Path;
QString distancePathSearchQuery2Path;
//This stores the currently selected query path in a query path dialog.
QList queryPaths;
int terminalWidth;
};
#endif // MEMORY_H