NCBI C++ ToolKit
|
#include <ncbi_pch.hpp>
#include <gui/core/ws_auto_saver.hpp>
#include <gui/framework/app_task_service.hpp>
#include <gui/framework/service.hpp>
#include <gui/core/project_service.hpp>
#include <gui/core/project_loading_task.hpp>
#include <gui/core/document.hpp>
#include <gui/objects/GBWorkspace.hpp>
#include <gui/objects/WorkspaceFolder.hpp>
#include <objects/general/Date.hpp>
#include <objects/gbproj/ProjectDescr.hpp>
#include <serial/serial.hpp>
#include <serial/iterator.hpp>
#include <serial/objostr.hpp>
#include <corelib/ncbifile.hpp>
#include <gui/widgets/wx/sys_path.hpp>
#include <gui/widgets/wx/wx_utils.hpp>
#include <gui/widgets/wx/async_call.hpp>
#include <wx/filename.h>
#include <wx/msgdlg.h>
Go to the source code of this file.
Go to the SVN repository for this file.
Functions | |
USING_SCOPE (objects) | |
Variables | |
const wxChar * | kTemsWsDir = wxT("<home>/TempWs") |
const string | kAutoSave = "AutoSave: " |
const char * | kProjTemplate = "proj%03d" |
const char * | kWorkspace = "ws" |
const char * | kFailedService = "Failed to initialize service" |
const char * | kCanceled = "Canceled" |
static size_t | s_counter = 0 |
static size_t | s_max_time = 0 |
USING_SCOPE | ( | objects | ) |
Definition at line 63 of file ws_auto_saver.cpp.
Referenced by CWorkspaceAutoSaver::CleanUp(), and CWorkspaceAutoSaver::x_SaveWorkspace().
const char* kCanceled = "Canceled" |
Definition at line 67 of file ws_auto_saver.cpp.
Referenced by CWorkspaceAutoSaver::x_RestoreWorkspace().
const char* kFailedService = "Failed to initialize service" |
Definition at line 66 of file ws_auto_saver.cpp.
Referenced by CWorkspaceAutoSaver::CheckCrash(), and CWorkspaceAutoSaver::x_RestoreWorkspace().
const char* kProjTemplate = "proj%03d" |
Definition at line 64 of file ws_auto_saver.cpp.
Referenced by CWorkspaceAutoSaver::x_RestoreWorkspace(), and CWorkspaceAutoSaver::x_SaveWorkspace().
Definition at line 62 of file ws_auto_saver.cpp.
Referenced by CWorkspaceAutoSaver::CheckCrash(), CWorkspaceAutoSaver::CleanUp(), CWorkspaceAutoSaver::x_RestoreWorkspace(), and CWorkspaceAutoSaver::x_SaveWorkspace().
const char* kWorkspace = "ws" |
Definition at line 65 of file ws_auto_saver.cpp.
Referenced by CWorkspaceAutoSaver::CheckCrash(), CWorkspaceAutoSaver::x_RestoreWorkspace(), and CWorkspaceAutoSaver::x_SaveWorkspace().
|
static |
Definition at line 354 of file ws_auto_saver.cpp.
Referenced by CWorkspaceAutoSaver::x_OnSave().
|
static |
Definition at line 355 of file ws_auto_saver.cpp.
Referenced by CWorkspaceAutoSaver::x_OnSave().