#include <newfolder.h>
Inherits Thread.

Public Member Functions | |
| NewFolderThread (MWindow *mwindow, AWindowGUI *awindow) | |
| ~NewFolderThread () | |
| void | run () |
| int | interrupt () |
| int | start_new_folder () |
Private Attributes | |
| Mutex | change_lock |
| Mutex | completion_lock |
| int | active |
| MWindow * | mwindow |
| AWindowGUI * | awindow |
| NewFolder * | window |
Definition at line 25 of file newfolder.h.
| NewFolderThread::NewFolderThread | ( | MWindow * | mwindow, | |
| AWindowGUI * | awindow | |||
| ) |
Definition at line 56 of file newfolder.C.
References active, and Thread::set_synchronous().

| NewFolderThread::~NewFolderThread | ( | ) |
Definition at line 64 of file newfolder.C.
| void NewFolderThread::run | ( | ) | [virtual] |
Implements Thread.
Definition at line 68 of file newfolder.C.
References active, change_lock, completion_lock, NewFolder::get_text(), Mutex::lock(), mwindow, MWindow::new_folder(), BC_WindowBase::run_window(), Mutex::unlock(), and window.

| int NewFolderThread::interrupt | ( | ) |
Definition at line 84 of file newfolder.C.
References active, change_lock, completion_lock, Mutex::lock(), BC_WindowBase::lock_window(), BC_WindowBase::set_done(), Mutex::unlock(), BC_WindowBase::unlock_window(), and window.

| int NewFolderThread::start_new_folder | ( | ) |
Definition at line 101 of file newfolder.C.
References active, awindow, change_lock, completion_lock, NewFolder::create_objects(), BC_WindowBase::get_abs_cursor_x(), BC_WindowBase::get_abs_cursor_y(), Mutex::lock(), mwindow, Thread::start(), Mutex::unlock(), and window.
Referenced by AWindowNewFolder::handle_event().

Mutex NewFolderThread::change_lock [private] |
Definition at line 36 of file newfolder.h.
Referenced by interrupt(), run(), and start_new_folder().
Mutex NewFolderThread::completion_lock [private] |
Definition at line 36 of file newfolder.h.
Referenced by interrupt(), run(), and start_new_folder().
int NewFolderThread::active [private] |
Definition at line 37 of file newfolder.h.
Referenced by interrupt(), NewFolderThread(), run(), and start_new_folder().
MWindow* NewFolderThread::mwindow [private] |
AWindowGUI* NewFolderThread::awindow [private] |
NewFolder* NewFolderThread::window [private] |
Definition at line 40 of file newfolder.h.
Referenced by interrupt(), run(), and start_new_folder().
1.5.5