1 /* 2 Copyright 2007, 2008, 2009, 2010 Geyer Klaus 3 4 This file is part of Cat'sEyE. 5 6 Cat'sEyE is free software: you can redistribute it and/or modify 7 it under the terms of the GNU General Public License as published by 8 the Free Software Foundation, either version 3 of the License, or 9 (at your option) any later version. 10 11 Cat'sEyE is distributed in the hope that it will be useful, 12 but WITHOUT ANY WARRANTY; without even the implied warranty of 13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 GNU General Public License for more details. 15 16 You should have received a copy of the GNU General Public License 17 along with Cat'sEyE. If not, see <http://www.gnu.org/licenses/>. 18 */ 19 20 #ifndef THREADS_H_ 21 #define THREADS_H_ 22 23 int callItemsToSystemWrap(GString *usercommand, GString *FileList, GString *FileListWithPath, GString *WorkPath, GString *OtherSidePath, struct CopyReMoveList *list, gboolean bThreaded); 24 int ProcessItemsViaListWrap(struct CopyReMoveList *FirstItem, int process); 25 void calcDirectorySizeInView_wrap(struct AllInformationAllUseStruct *stru); 26 //gboolean oneMouseButtonPressedInLittleWindow(GtkWidget *treeview, GdkEventButton *event, gpointer data); 27 gboolean ListWidget_DeleteEvent (GtkWidget *widget, GdkEvent *event, struct ListWidgetCommunicationStruct *commStru); 28 void ListWidget_CancelButton(GtkButton *button, gpointer data); 29 void ListWidget_CloseButton(GtkButton *button, struct ListWidgetCommunicationStruct *commStru); 30 gboolean FreeMemoryAndDeleteWidgetFunction (struct ListWidgetCommunicationStruct *commStru); 31 void calcDirectorySizeInView_closeProcess (int *iRecursiveSizeCalculation, GThread **threadToJoin, gboolean *bpUpdateFlag_F6, int *ipPreventFromUpdating, gboolean bAbortThread); 32 void copyReMoveWidget_updateItemCounterColumn(struct CopyReMoveList *theList); 33 void CopyReSizeWidget_dragleave_signal (GtkWidget *widget, GdkDragContext *drag_context, guint time, struct ListWidgetCommunicationStruct *CommStru); 34 gboolean CopyReSizeWidget_dragmotion_signal (GtkWidget *widget, GdkDragContext *drag_context, gint x, gint y, guint time, struct ListWidgetCommunicationStruct *CommStru); 35 void ListWidget_continueButton(GtkButton *button, struct ListWidgetCommunicationStruct *commStru); 36 void ListWidget_pauseButton(GtkButton *button, struct ListWidgetCommunicationStruct *commStru); 37 gboolean CopyReSizeWidget_oneKeyPressedInView(GtkWidget *widget, GdkEventKey *event, struct ListWidgetCommunicationStruct *CommStru); 38 #endif //THREADS_H_ 39