Skip to content
Snippets Groups Projects
Commit c48296cd authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

prepare file backup

parent de15cc3f
No related branches found
No related tags found
No related merge requests found
......@@ -64,6 +64,7 @@ bool fridaCommand( string cmd )
" ! execute shell command\n"
" quit terminate Frida session\n"
"Command groups (type initial letter for help):\n"
" b backup of online files\n"
" c curves and fits\n"
" d directory (inspect internal files)\n"
" e edit (change textual parameters)\n"
......@@ -89,6 +90,17 @@ bool fridaCommand( string cmd )
} else if (cmd == "hf") {
cout << NFunctions::list();
} else if (cmd == "b") {
cout << "Backup commands:\n"
" br retrieved backup copy\n"
" bs store copy of selected files (automatically before cf)\n";
} else if (cmd == "br") {
NOlm::mem_retrieve();
} else if (cmd == "bs") {
NOlm::mem_backup();
} else if (cmd == "c") {
cout << "Curve and fit commands:\n"
" cc create\n"
......
......@@ -317,3 +317,23 @@ namespace NOlm {
mem_del();
}
}
//***************************************************************************//
//* Backup and retrieve *//
//***************************************************************************//
namespace NOlm {
//! Copy selected files to backup.
void mem_backup()
{
throw "not yet implemented";
}
//! Retrieve files from backup.
void mem_retrieve()
{
throw "not yet implemented";
}
}
......@@ -37,6 +37,10 @@ namespace NOlm {
void sel_collect_end();
void sel_increment( int step );
// Backup:
void mem_backup();
void mem_retrieve();
//! Iterate over all files in selection.
class IterateO {
protected:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment