CDiscoverer::CDirScanner Class Reference
class CDiscoverer::CDirScanner : public CBase
|
CDirScanner
implements incremental scanning of the Interface Implementation Collection directories on behalf of the
CDiscoverer
. Its methods are called in response to the timer task execution, thereby requiring the incremental scheduling.
Constructor & Destructor Documentation
CDirScanner(CDiscoverer &, RFs &)
Intended Usage : Standardised safe construction which leaves nothing on the cleanup stack. Error Condition : Not enough memory available.
-
leave
-
KErrNoMemory
-
Since
-
7.0
-
Pre-condition
-
None
-
Post-condition
-
CDirScanner
is fully constructed, and initialised.
Intended Usage : Standardised default c'tor. Error Condition : None
-
Since
-
7.0
-
Pre-condition
-
None
-
Post-condition
-
CDirScanner
is fully constructed
Parameters
CDiscoverer
& aDiscoverer
|
A reference to its owning class instance.
|
RFs
& aFs
|
A reference to a connected file server instance.
|
~CDirScanner()
~CDirScanner
|
(
|
)
|
[virtual]
|
Intended Usage : Standard default d'tor Error Condition : None
-
Since
-
7.0
-
Pre-condition
-
CDirScanner
is fully constructed.
-
Post-condition
-
CDirScanner
is totally destroyed
Member Functions Documentation
ConstructL()
void
|
ConstructL
|
(
|
)
|
[private]
|
Intended Usage : Standardised 2nd, (Initialisation) phase of two phase construction. Error Condition : Leaves with error code : usually KErrNoMemory.
-
leave
-
KErrNoMemory.
-
Since
-
7.0
-
Pre-condition
-
CDirScanner
is fully constructed.
-
Post-condition
-
CDirScanner
is fully initialised.
DiscoverPluginsL(TBool)
void
|
DiscoverPluginsL
|
(
|
TBool
|
aDiscoverReadOnlyDrives
|
)
|
|
Parameters
TBool
aDiscoverReadOnlyDrives
|
|
DoScanDriveL(const TDriveUnit &, const TUidType &, TBool)
DoScanSpiFileL(const TParse &)
TBool
|
DoScanSpiFileL
|
(
|
const
TParse
&
|
aSpiPath
|
)
|
[private]
|
NewL(CDiscoverer &, RFs &)
ScanDriveL(const TDriveUnit &, TBool)
Member Data Documentation
CDiscoverer & iDiscoverer
A reference to its owning class instance
RFs & iFs
A reference to a connected file server instance
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.