#include <bcnewfolder.h>
Inherits Thread.

Public Member Functions | |
| BC_NewFolderThread (BC_FileBox *filebox) | |
| ~BC_NewFolderThread () | |
| void | run () |
| int | interrupt () |
| int | start_new_folder () |
Private Attributes | |
| Mutex * | change_lock |
| Condition * | completion_lock |
| BC_FileBox * | filebox |
| BC_NewFolder * | window |
Definition at line 23 of file bcnewfolder.h.
| BC_NewFolderThread::BC_NewFolderThread | ( | BC_FileBox * | filebox | ) |
| BC_NewFolderThread::~BC_NewFolderThread | ( | ) |
Definition at line 65 of file bcnewfolder.C.
References change_lock, completion_lock, and interrupt().

| void BC_NewFolderThread::run | ( | ) | [virtual] |
Implements Thread.
Definition at line 72 of file bcnewfolder.C.
References BCTEXTLEN, change_lock, completion_lock, BC_NewFolder::create_objects(), filebox, BC_FileBox::fs, BC_WindowBase::get_abs_cursor_x(), BC_WindowBase::get_abs_cursor_y(), FileSystem::get_current_dir(), BC_NewFolder::get_text(), FileSystem::join_names(), Mutex::lock(), BC_WindowBase::lock_window(), BC_FileBox::refresh(), BC_WindowBase::run_window(), Condition::unlock(), Mutex::unlock(), BC_WindowBase::unlock_window(), window, BC_WindowBase::x, and BC_WindowBase::y.

| int BC_NewFolderThread::interrupt | ( | ) |
Definition at line 104 of file bcnewfolder.C.
References change_lock, completion_lock, Condition::lock(), Mutex::lock(), BC_WindowBase::lock_window(), BC_WindowBase::set_done(), Condition::unlock(), Mutex::unlock(), BC_WindowBase::unlock_window(), and window.
Referenced by BC_FileBoxCancel::handle_event(), BC_FileBox::submit_file(), and ~BC_NewFolderThread().

| int BC_NewFolderThread::start_new_folder | ( | ) |
Definition at line 121 of file bcnewfolder.C.
References change_lock, completion_lock, Condition::lock(), Mutex::lock(), BC_WindowBase::lock_window(), BC_WindowBase::raise_window(), Thread::start(), Mutex::unlock(), BC_WindowBase::unlock_window(), and window.
Referenced by BC_FileBoxNewfolder::handle_event().

Mutex* BC_NewFolderThread::change_lock [private] |
Definition at line 34 of file bcnewfolder.h.
Referenced by BC_NewFolderThread(), interrupt(), run(), start_new_folder(), and ~BC_NewFolderThread().
Condition* BC_NewFolderThread::completion_lock [private] |
Definition at line 35 of file bcnewfolder.h.
Referenced by BC_NewFolderThread(), interrupt(), run(), start_new_folder(), and ~BC_NewFolderThread().
BC_FileBox* BC_NewFolderThread::filebox [private] |
BC_NewFolder* BC_NewFolderThread::window [private] |
Definition at line 37 of file bcnewfolder.h.
Referenced by BC_NewFolderThread(), interrupt(), run(), and start_new_folder().
1.5.5