2007-08-01 22:04:35 +04:00
|
|
|
/*
|
|
|
|
* $Id$
|
|
|
|
*
|
|
|
|
* EFiler - EDE File Manager
|
|
|
|
* Part of Equinox Desktop Environment (EDE).
|
2007-08-03 13:59:31 +04:00
|
|
|
* Copyright (c) 2000-2007 EDE Authors.
|
2007-08-01 22:04:35 +04:00
|
|
|
*
|
|
|
|
* This program is licenced under terms of the
|
|
|
|
* GNU General Public Licence version 2 or newer.
|
|
|
|
* See COPYING for details.
|
|
|
|
*/
|
2007-07-23 23:59:48 +04:00
|
|
|
|
|
|
|
// This file implements copy / move / delete operation with files
|
|
|
|
// NOT TO BE CONFUSED WITH edelib::File.h !!!
|
|
|
|
// Functions here usually call stuff from File.h, but also update
|
|
|
|
// efiler interface, display warnings to user etc.
|
|
|
|
|
|
|
|
#include "EDE_FileView.h"
|
|
|
|
#include <FL/Fl_Box.H>
|
|
|
|
|
|
|
|
// Execute cut or copy operation when List View is active
|
|
|
|
void do_cut_copy(bool m_copy);
|
|
|
|
|
|
|
|
// Execute paste operation - this will copy or move files based on chosen
|
|
|
|
// operation
|
2007-08-01 22:04:35 +04:00
|
|
|
void do_paste(const char*to = 0);
|
2007-07-23 23:59:48 +04:00
|
|
|
|
|
|
|
// Delete currently selected file(s) or directory(es)
|
|
|
|
void do_delete();
|
|
|
|
|
2007-08-01 22:04:35 +04:00
|
|
|
// Rename the file that has focus to given name
|
2007-07-23 23:59:48 +04:00
|
|
|
void do_rename(const char*);
|
|
|
|
|
|
|
|
|
2007-08-23 14:54:12 +04:00
|
|
|
extern FileView* view;
|
2007-08-01 22:04:35 +04:00
|
|
|
extern Fl_Window* win;
|
2007-07-23 23:59:48 +04:00
|
|
|
extern Fl_Box* statusbar;
|
|
|
|
extern char current_dir[];
|
|
|
|
extern void loaddir(const char*);
|