Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

threadloader.C

Go to the documentation of this file.
00001 #include "mwindow.h"
00002 #include "threadloader.h"
00003 
00004 // loads command line filenames at startup
00005 
00006 ThreadLoader::ThreadLoader(MWindow *mwindow)
00007  : Thread()
00008 {
00009         this->mwindow = mwindow;
00010 }
00011 
00012 ThreadLoader::~ThreadLoader()
00013 {
00014 }
00015 
00016 int ThreadLoader::set_paths(ArrayList<char *> *paths)
00017 {
00018         this->paths = paths;
00019 }
00020 
00021 void ThreadLoader::run()
00022 {
00023         int import_ = 0;
00024         for(int i = 0; i < paths->total; i++)
00025         {
00026 //printf("%s\n", paths->values[i]);
00027 //              mwindow->load(paths->values[i], import_);
00028                 import_ = 1;
00029         }
00030 }

Generated on Sun Jan 8 13:39:00 2006 for Cinelerra-svn by  doxygen 1.4.4