4 #include <boost/interprocess/sync/file_lock.hpp>
5 #include <boost/filesystem/fstream.hpp>
9 #include <QLocalServer>
10 #include <QLocalSocket>
52 boost::filesystem::path
mPid;
53 boost::interprocess::file_lock
mLock;
60 std::pair<Files::PathContainer, std::vector<std::string> >
readConfig(
bool quiet=
false);
69 Editor (
int argc,
char **argv);
86 void openFiles (
const boost::filesystem::path &path);
void documentAboutToBeRemoved(CSMDoc::Document *document)
Definition: editor.cpp:370
boost::filesystem::ofstream mPidFile
Definition: editor.hpp:54
void mergeDocument(CSMDoc::Document *document)
Definition: editor.cpp:381
Definition: filedialog.hpp:26
Definition: viewmanager.hpp:30
void showSettings()
Definition: editor.cpp:275
void openFiles(const boost::filesystem::path &path)
Definition: editor.cpp:229
void lastDocumentDeleted()
Definition: editor.cpp:376
Definition: startup.hpp:14
boost::interprocess::file_lock mLock
Definition: editor.hpp:53
Definition: dialogue.hpp:15
void cancelFileDialog()
Definition: editor.cpp:204
boost::filesystem::path mResources
Definition: editor.hpp:51
CSMDoc::DocumentManager mDocumentManager
Definition: editor.hpp:44
void connectToIPCServer()
Definition: editor.cpp:346
Files::ConfigurationManager mCfgMgr
Definition: editor.hpp:42
Definition: configurationmanager.hpp:20
CSVDoc::ViewManager mViewManager
Definition: editor.hpp:45
QLocalServer * mServer
Definition: editor.hpp:105
void loadDocument()
Definition: editor.cpp:218
Definition: documentmanager.hpp:32
CSVDoc::NewGameDialogue mNewGame
Definition: editor.hpp:47
void setupDataFiles(const Files::PathContainer &dataDirs)
Definition: editor.cpp:78
void cancelCreateGame()
Definition: editor.cpp:179
void createGame()
Definition: editor.cpp:168
Editor & operator=(const Editor &)
~Editor()
Definition: editor.cpp:69
bool makeIPCServer()
Definition: editor.cpp:285
void documentAdded(CSMDoc::Document *document)
Definition: editor.cpp:365
CSVTools::Merge mMerge
Definition: editor.hpp:56
CSVPrefs::Dialogue mSettings
Definition: editor.hpp:48
void createNewGame(const boost::filesystem::path &file)
Definition: editor.cpp:256
User settings state.
Definition: state.hpp:36
bool mFsStrict
Definition: editor.hpp:55
QString mIpcServerName
Definition: editor.hpp:104
int run()
Definition: editor.cpp:353
Definition: document.hpp:57
void createNewFile(const boost::filesystem::path &path)
Definition: editor.cpp:241
Definition: editor.hpp:38
boost::filesystem::path mPid
Definition: editor.hpp:52
std::pair< Files::PathContainer, std::vector< std::string > > readConfig(bool quiet=false)
Definition: editor.cpp:87
CSMPrefs::State mSettingsState
Definition: editor.hpp:43
void createAddon()
Definition: editor.cpp:193
boost::filesystem::path mLocal
Definition: editor.hpp:50
CSVDoc::StartupDialogue mStartup
Definition: editor.hpp:46
CSVDoc::FileDialog mFileDialog
Definition: editor.hpp:49
void showStartup()
Definition: editor.cpp:267
std::vector< boost::filesystem::path > PathContainer
Definition: gamesettings.hpp:14
QLocalSocket * mClientSocket
Definition: editor.hpp:106