Pyro higlevel API
|
Public Member Functions | |
MountDialogScanner (MountDialogWin *pcWin) | |
~MountDialogScanner () | |
void | ScanPath (os::Path cPath, int nDepth, MemFile *pcSource) |
bool | CheckMounted (os::String zDevice) |
int32 | Run () |
Thread code. More... | |
Public Member Functions inherited from os::Thread | |
Thread (const char *pzName, int nPriority=NORMAL_PRIORITY, int nStackSize=0) | |
Constructor. More... | |
virtual | ~Thread () |
void | Start () |
Begin/Resume execution. More... | |
void | Stop () |
Suspend execution. More... | |
void | WaitFor () |
Wait for thread. More... | |
void | Terminate () |
Kill thread unconditionally. More... | |
void | Initialize (const char *pzName, int nPriority=NORMAL_PRIORITY, int nStackSize=0) |
Reset thread. More... | |
void | SetPriority (int nPriority=IDLE_PRIORITY) |
Set priority. More... | |
int | GetPriority () |
Get priority. More... | |
thread_id | GetThreadId () |
Get thread ID. More... | |
proc_id | GetProcessId () |
Get process ID. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from os::Thread | |
void | Delay (uint32 nMicros) |
Temporarily suspend thread execution. More... | |
MountDialogScanner::MountDialogScanner | ( | MountDialogWin * | pcWin | ) |
References Resource::AddRef(), and MountDialogWin::m_pcCatalog.
MountDialogScanner::~MountDialogScanner | ( | ) |
References Resource::Release().
bool MountDialogScanner::CheckMounted | ( | os::String | zDevice | ) |
Referenced by ScanPath().
|
virtual |
Implements os::Thread.
References os::TreeViewStringNode::AppendString(), os::TreeView::Clear(), GS, os::View::Hide(), os::TreeView::InsertNode(), os::Looper::Lock(), ScanPath(), os::TextView::Set(), os::Control::SetEnable(), os::TreeViewNode::SetIndent(), os::View::Show(), and os::Looper::Unlock().
References os::Path::Append(), os::TreeViewStringNode::AppendString(), os::String::c_str(), CheckMounted(), os::String::Format(), os::Path::GetPath(), GS, os::TreeView::InsertNode(), os::BitmapImage::Load(), os::Looper::Lock(), os::MemFile::Seek(), os::TextView::Set(), os::TreeViewStringNode::SetIcon(), os::TreeViewNode::SetIndent(), os::BitmapImage::SetSize(), and os::Looper::Unlock().
Referenced by Run().