userlibandfileserver/fileserver/sfsrv/cl_drive.cpp
changeset 279 957c583b417b
parent 271 dc268b18d709
equal deleted inserted replaced
275:2b433474f2ba 279:957c583b417b
   407 
   407 
   408 #endif// _DEBUG
   408 #endif// _DEBUG
   409 }
   409 }
   410 
   410 
   411 
   411 
   412 
   412 //-------------------------------------------------------------------
       
   413 /** 
       
   414     Closes the object, deletes the implementation
       
   415 */
       
   416 void CFsMountHelper::Close()
       
   417 {
       
   418     delete ipImpl;
       
   419     ipImpl = NULL;
       
   420 }
   413 
   421 
   414 //-------------------------------------------------------------------
   422 //-------------------------------------------------------------------
   415 /**
   423 /**
   416     Factory function. Produces an object of this class
   424     Factory function. Produces an object of this class
   417     
   425     
   437         }
   445         }
   438     
   446     
   439     return pSelf;
   447     return pSelf;
   440 }
   448 }
   441 
   449 
   442 //-------------------------------------------------------------------
       
   443 /** 
       
   444     Closes the object, deletes the implementation
       
   445 */
       
   446 EXPORT_C void CFsMountHelper::Close()
       
   447 {
       
   448     delete ipImpl;
       
   449     ipImpl = NULL;
       
   450 }
       
   451 
   450 
   452 
   451 
   453 //-------------------------------------------------------------------
   452 //-------------------------------------------------------------------
   454 /** 
   453 /** 
   455     Acqires drive/mount/file system properties that will be used for mounting the file system back.
   454     Acqires drive/mount/file system properties that will be used for mounting the file system back.
   509     return stat.Int();
   508     return stat.Int();
   510     }
   509     }
   511 
   510 
   512 
   511 
   513 
   512 
   514 
   513 EXPORT_C CFsMountHelper::~CFsMountHelper() 
   515 
   514     {
   516 
   515     Close();
       
   516     } 
       
   517 
       
   518 
       
   519