Pyro higlevel API
Public Member Functions | List of all members
MountDialogScanner Class Reference
Inheritance diagram for MountDialogScanner:
os::Thread

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...
 

Constructor & Destructor Documentation

MountDialogScanner::MountDialogScanner ( MountDialogWin pcWin)
MountDialogScanner::~MountDialogScanner ( )

References Resource::Release().

Member Function Documentation

bool MountDialogScanner::CheckMounted ( os::String  zDevice)

Referenced by ScanPath().

int32 MountDialogScanner::Run ( )
virtual
Description:
The code that is executed by the thread. This method must be overridden and implemented in a subclass.
Author
Henrik Isaksson (henri.nosp@m.k@bo.nosp@m.ing.n.nosp@m.u)

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().

void MountDialogScanner::ScanPath ( os::Path  cPath,
int  nDepth,
MemFile pcSource 
)