-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfileops.h
45 lines (36 loc) · 1.23 KB
/
fileops.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/*
* $Id$
*
* EFiler - EDE File Manager
* Part of Equinox Desktop Environment (EDE).
* Copyright (c) 2000-2007 EDE Authors.
*
* This program is licenced under terms of the
* GNU General Public Licence version 2 or newer.
* See COPYING for details.
*/
// 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>
#include <edelib/Window.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
void do_paste(const char*to = 0);
// Delete currently selected file(s) or directory(es)
void do_delete();
// Rename the file that has focus to given name
void do_rename(const char*);
// Show part of path with filename - works for directories too
const char* my_filename_name(const char*);
// Stuff declared in global scope in efiler.cpp
extern FileView* view;
extern edelib::Window* win;
extern Fl_Box* statusbar;
extern char current_dir[];
extern void loaddir(const char*);
extern bool notify_available;