OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
CS::Editor Class Reference

#include <editor.hpp>

Inheritance diagram for CS::Editor:
Collaboration diagram for CS::Editor:

Public Member Functions

 Editor ()
 
 ~Editor ()
 
bool makeIPCServer ()
 
void connectToIPCServer ()
 
int run ()
 

Private Slots

void createGame ()
 
void createAddon ()
 
void cancelCreateGame ()
 
void cancelFileDialog ()
 
void loadDocument ()
 
void openFiles (const boost::filesystem::path &path)
 
void createNewFile (const boost::filesystem::path &path)
 
void createNewGame (const boost::filesystem::path &file)
 
void showStartup ()
 
void showSettings ()
 
void documentAdded (CSMDoc::Document *document)
 
void documentAboutToBeRemoved (CSMDoc::Document *document)
 
void lastDocumentDeleted ()
 
void mergeDocument (CSMDoc::Document *document)
 

Private Member Functions

void setupDataFiles (const Files::PathContainer &dataDirs)
 
std::pair
< Files::PathContainer,
std::vector< std::string > > 
readConfig (bool quiet=false)
 
 Editor (const Editor &)
 
Editoroperator= (const Editor &)
 

Private Attributes

std::auto_ptr< VFS::ManagermVFS
 
Files::ConfigurationManager mCfgMgr
 
CSMPrefs::State mSettingsState
 
CSMDoc::DocumentManager mDocumentManager
 
CSVDoc::ViewManager mViewManager
 
CSVDoc::StartupDialogue mStartup
 
CSVDoc::NewGameDialogue mNewGame
 
CSVPrefs::Dialogue mSettings
 
CSVDoc::FileDialog mFileDialog
 
boost::filesystem::path mLocal
 
boost::filesystem::path mResources
 
boost::filesystem::path mPid
 
boost::interprocess::file_lock mLock
 
boost::filesystem::ofstream mPidFile
 
bool mFsStrict
 
CSVTools::Merge mMerge
 
QString mIpcServerName
 
QLocalServer * mServer
 
QLocalSocket * mClientSocket
 

Constructor & Destructor Documentation

CS::Editor::Editor ( const Editor )
private
CS::Editor::Editor ( )

Here is the call graph for this function:

CS::Editor::~Editor ( )

Member Function Documentation

void CS::Editor::cancelCreateGame ( )
privateslot

Here is the caller graph for this function:

void CS::Editor::cancelFileDialog ( )
privateslot

Here is the caller graph for this function:

void CS::Editor::connectToIPCServer ( )

Here is the caller graph for this function:

void CS::Editor::createAddon ( )
privateslot

Here is the caller graph for this function:

void CS::Editor::createGame ( )
privateslot

Here is the caller graph for this function:

void CS::Editor::createNewFile ( const boost::filesystem::path &  path)
privateslot

Here is the caller graph for this function:

void CS::Editor::createNewGame ( const boost::filesystem::path &  file)
privateslot

Here is the caller graph for this function:

void CS::Editor::documentAboutToBeRemoved ( CSMDoc::Document document)
privateslot

Here is the caller graph for this function:

void CS::Editor::documentAdded ( CSMDoc::Document document)
privateslot

Here is the caller graph for this function:

void CS::Editor::lastDocumentDeleted ( )
privateslot

Here is the caller graph for this function:

void CS::Editor::loadDocument ( )
privateslot

Here is the caller graph for this function:

bool CS::Editor::makeIPCServer ( )

Here is the caller graph for this function:

void CS::Editor::mergeDocument ( CSMDoc::Document document)
privateslot

Here is the caller graph for this function:

void CS::Editor::openFiles ( const boost::filesystem::path &  path)
privateslot

Here is the caller graph for this function:

Editor& CS::Editor::operator= ( const Editor )
private
std::pair< Files::PathContainer, std::vector< std::string > > CS::Editor::readConfig ( bool  quiet = false)
private
Returns
data paths

Here is the call graph for this function:

Here is the caller graph for this function:

int CS::Editor::run ( )
Returns
error status

Here is the caller graph for this function:

void CS::Editor::setupDataFiles ( const Files::PathContainer dataDirs)
private

Here is the caller graph for this function:

void CS::Editor::showSettings ( )
privateslot

Here is the caller graph for this function:

void CS::Editor::showStartup ( )
privateslot

Member Data Documentation

Files::ConfigurationManager CS::Editor::mCfgMgr
private
QLocalSocket* CS::Editor::mClientSocket
private
CSMDoc::DocumentManager CS::Editor::mDocumentManager
private
CSVDoc::FileDialog CS::Editor::mFileDialog
private
bool CS::Editor::mFsStrict
private
QString CS::Editor::mIpcServerName
private
boost::filesystem::path CS::Editor::mLocal
private
boost::interprocess::file_lock CS::Editor::mLock
private
CSVTools::Merge CS::Editor::mMerge
private
CSVDoc::NewGameDialogue CS::Editor::mNewGame
private
boost::filesystem::path CS::Editor::mPid
private
boost::filesystem::ofstream CS::Editor::mPidFile
private
boost::filesystem::path CS::Editor::mResources
private
QLocalServer* CS::Editor::mServer
private
CSVPrefs::Dialogue CS::Editor::mSettings
private
CSMPrefs::State CS::Editor::mSettingsState
private
CSVDoc::StartupDialogue CS::Editor::mStartup
private
std::auto_ptr<VFS::Manager> CS::Editor::mVFS
private
CSVDoc::ViewManager CS::Editor::mViewManager
private

The documentation for this class was generated from the following files: