00001 #ifndef THREADLOADER_H 00002 #define THREADLOADER_H 00003 00004 #include "mwindow.inc" 00005 #include "thread.h" 00006 00007 // ================================= loads files as a thread 00008 00009 class ThreadLoader : public Thread 00010 { 00011 public: 00012 ThreadLoader(MWindow *mwindow); 00013 ~ThreadLoader(); 00014 00015 int set_paths(ArrayList<char *> *paths); 00016 void run(); 00017 MWindow *mwindow; 00018 ArrayList<char *> *paths; 00019 }; 00020 00021 #endif
1.4.4