Make FilePicker context sensitive default paths persistent over logins.

Also, make newview/statemachine a separate project.
This commit is contained in:
Aleric Inglewood
2011-05-13 23:50:56 +02:00
parent 5f72cbb103
commit ea2cc3e0de
16 changed files with 168 additions and 34 deletions

View File

@@ -33,7 +33,7 @@
#include "aistatemachine.h"
#include "llpluginclassmedia.h"
#include "../llviewermedia.h"
#include "llviewerpluginmanager.h"
#include <vector>
enum ELoadFilter
@@ -165,6 +165,11 @@ public:
std::string getFolder(void) const;
std::vector<std::string> const& getFilenames(void) const { return mFilenames; }
// Load the sContextMap from disk.
static bool loadFile(std::string const& filename);
// Save the sContextMap to disk.
static bool saveFile(std::string const& filename);
private:
friend class AIPluginFilePicker;