equal
deleted
inserted
replaced
41 aMount->LocalDrive()->SetMount(aMount); |
41 aMount->LocalDrive()->SetMount(aMount); |
42 return iProxyDrive.Init(aMount->LocalDrive()); |
42 return iProxyDrive.Init(aMount->LocalDrive()); |
43 } |
43 } |
44 |
44 |
45 /** |
45 /** |
46 pseudo-destructor. |
46 Close the interface to the media driver |
47 */ |
47 */ |
48 void TDriveInterface::Close() |
48 void TDriveInterface::Close() |
49 { |
49 { |
50 if(iMount) |
50 if(iMount) |
|
51 { |
51 iMount->LocalDrive()->SetMount(NULL); |
52 iMount->LocalDrive()->SetMount(NULL); |
|
53 } |
|
54 |
52 iMount = NULL; |
55 iMount = NULL; |
53 } |
56 } |
54 |
57 |
55 //--------------------------------------------------------------------------------------------------------------------------------------- |
58 //--------------------------------------------------------------------------------------------------------------------------------------- |
56 |
59 |