6 #include <boost/interprocess/sync/file_lock.hpp>
7 #include <boost/filesystem/fstream.hpp>
11 #include <QLocalServer>
12 #include <QLocalSocket>
50 std::auto_ptr<VFS::Manager>
mVFS;
62 boost::filesystem::path
mPid;
63 boost::interprocess::file_lock
mLock;
70 std::pair<Files::PathContainer, std::vector<std::string> >
readConfig(
bool quiet=
false);
96 void openFiles (
const boost::filesystem::path &path);
void documentAboutToBeRemoved(CSMDoc::Document *document)
Definition: editor.cpp:372
boost::filesystem::ofstream mPidFile
Definition: editor.hpp:64
void mergeDocument(CSMDoc::Document *document)
Definition: editor.cpp:383
Definition: filedialog.hpp:26
Definition: viewmanager.hpp:30
void showSettings()
Definition: editor.cpp:277
void openFiles(const boost::filesystem::path &path)
Definition: editor.cpp:231
void lastDocumentDeleted()
Definition: editor.cpp:378
Definition: startup.hpp:14
boost::interprocess::file_lock mLock
Definition: editor.hpp:63
Definition: dialogue.hpp:15
void cancelFileDialog()
Definition: editor.cpp:206
boost::filesystem::path mResources
Definition: editor.hpp:61
CSMDoc::DocumentManager mDocumentManager
Definition: editor.hpp:54
void connectToIPCServer()
Definition: editor.cpp:348
Files::ConfigurationManager mCfgMgr
Definition: editor.hpp:52
Definition: configurationmanager.hpp:20
CSVDoc::ViewManager mViewManager
Definition: editor.hpp:55
QLocalServer * mServer
Definition: editor.hpp:115
Editor()
Definition: editor.cpp:24
void loadDocument()
Definition: editor.cpp:220
Definition: documentmanager.hpp:33
CSVDoc::NewGameDialogue mNewGame
Definition: editor.hpp:57
void setupDataFiles(const Files::PathContainer &dataDirs)
Definition: editor.cpp:85
void cancelCreateGame()
Definition: editor.cpp:181
void createGame()
Definition: editor.cpp:170
Editor & operator=(const Editor &)
~Editor()
Definition: editor.cpp:76
bool makeIPCServer()
Definition: editor.cpp:287
void documentAdded(CSMDoc::Document *document)
Definition: editor.cpp:367
CSVTools::Merge mMerge
Definition: editor.hpp:66
CSVPrefs::Dialogue mSettings
Definition: editor.hpp:58
void createNewGame(const boost::filesystem::path &file)
Definition: editor.cpp:258
User settings state.
Definition: state.hpp:36
bool mFsStrict
Definition: editor.hpp:65
QString mIpcServerName
Definition: editor.hpp:114
int run()
Definition: editor.cpp:355
std::auto_ptr< VFS::Manager > mVFS
Definition: editor.hpp:50
Definition: document.hpp:57
void createNewFile(const boost::filesystem::path &path)
Definition: editor.cpp:243
Definition: editor.hpp:45
boost::filesystem::path mPid
Definition: editor.hpp:62
std::pair< Files::PathContainer, std::vector< std::string > > readConfig(bool quiet=false)
Definition: editor.cpp:94
CSMPrefs::State mSettingsState
Definition: editor.hpp:53
void createAddon()
Definition: editor.cpp:195
boost::filesystem::path mLocal
Definition: editor.hpp:60
The main class responsible for loading files from a virtual file system.
Definition: manager.hpp:20
CSVDoc::StartupDialogue mStartup
Definition: editor.hpp:56
CSVDoc::FileDialog mFileDialog
Definition: editor.hpp:59
void showStartup()
Definition: editor.cpp:269
std::vector< boost::filesystem::path > PathContainer
Definition: gamesettings.hpp:14
QLocalSocket * mClientSocket
Definition: editor.hpp:116