userlibandfileserver/fileserver/sfile/sf_func.h
changeset 0 a41df078684a
child 4 367fcce9cce0
child 104 466a0df5c15a
child 273 6a75fa55495f
equal deleted inserted replaced
-1:000000000000 0:a41df078684a
       
     1 // Copyright (c) 1998-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of the License "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // f32\sfile\sf_func.h
       
    15 // 
       
    16 //
       
    17 
       
    18 #if !defined __SF_FUNC_H
       
    19 #define __SF_FUNC_H
       
    20 
       
    21 
       
    22 
       
    23 TBool SimulateError(const RMessage2* aMessage);
       
    24 TInt DoFsSubClose(CSessionFs* aSession);
       
    25 
       
    26 class CFsRequest;
       
    27 
       
    28 class TFsAddFileSystem
       
    29 	{
       
    30 public:
       
    31 	static TInt Initialise(CFsRequest* aRequest);
       
    32 	static TInt DoRequestL(CFsRequest* aRequest);
       
    33 	};
       
    34 	
       
    35 class TFsRemoveFileSystem
       
    36 	{
       
    37 public:
       
    38 	static TInt Initialise(CFsRequest* aRequest);
       
    39 	static TInt DoRequestL(CFsRequest* aRequest);
       
    40 	};
       
    41 	
       
    42 class TFsMountFileSystem
       
    43 	{
       
    44 public:
       
    45 	static TInt Initialise(CFsRequest* aRequest);
       
    46 	static TInt DoRequestL(CFsRequest* aRequest);
       
    47 	};
       
    48 
       
    49 class TFsMountFileSystemScan
       
    50 	{
       
    51 public:
       
    52 	static TInt Initialise(CFsRequest* aRequest);
       
    53 	static TInt DoRequestL(CFsRequest* aRequest);
       
    54 	};
       
    55 
       
    56 
       
    57 class TFsDismountFileSystem
       
    58 	{
       
    59 public:
       
    60 	static TInt Initialise(CFsRequest* aRequest);
       
    61 	static TInt DoRequestL(CFsRequest* aRequest);
       
    62 	};
       
    63 
       
    64 class TFsFileSystemName
       
    65 	{
       
    66 public:
       
    67 	static TInt Initialise(CFsRequest* aRequest);
       
    68 	static TInt DoRequestL(CFsRequest* aRequest);
       
    69 	};
       
    70 	
       
    71 class TFsAddExtension
       
    72 	{
       
    73 public:
       
    74 	static TInt Initialise(CFsRequest* aRequest);
       
    75 	static TInt DoRequestL(CFsRequest* aRequest);
       
    76 	};
       
    77 
       
    78 class TFsMountExtension
       
    79 	{
       
    80 public:
       
    81 	static TInt Initialise(CFsRequest* aRequest);
       
    82 	static TInt DoRequestL(CFsRequest* aRequest);
       
    83 	};
       
    84 
       
    85 class TFsDismountExtension
       
    86 	{
       
    87 public:
       
    88 	static TInt Initialise(CFsRequest* aRequest);
       
    89 	static TInt DoRequestL(CFsRequest* aRequest);
       
    90 	};
       
    91 
       
    92 class TFsRemoveExtension
       
    93 	{
       
    94 public:
       
    95 	static TInt Initialise(CFsRequest* aRequest);
       
    96 	static TInt DoRequestL(CFsRequest* aRequest);
       
    97 	};
       
    98 
       
    99 class TFsExtensionName
       
   100 	{
       
   101 public:
       
   102 	static TInt Initialise(CFsRequest* aRequest);
       
   103 	static TInt DoRequestL(CFsRequest* aRequest);
       
   104 	};
       
   105 	
       
   106 class TFsRemountDrive
       
   107 	{
       
   108 public:
       
   109 	static TInt Initialise(CFsRequest* aRequest);
       
   110 	static TInt DoRequestL(CFsRequest* aRequest);
       
   111 	};
       
   112 	
       
   113 class TFsNotifyChange
       
   114 	{
       
   115 public:
       
   116 	static TInt Initialise(CFsRequest* aRequest);
       
   117 	static TInt DoRequestL(CFsRequest* aRequest);
       
   118 	};
       
   119 
       
   120 class TFsNotifyChangeEx
       
   121 	{
       
   122 public:
       
   123 	static TInt Initialise(CFsRequest* aRequest);
       
   124 	static TInt DoRequestL(CFsRequest* aRequest);
       
   125 	};
       
   126 
       
   127 class TFsNotifyChangeCancel
       
   128 	{
       
   129 public:
       
   130 	static TInt Initialise(CFsRequest* aRequest);
       
   131 	static TInt DoRequestL(CFsRequest* aRequest);
       
   132 	};
       
   133 
       
   134 class TFsNotifyChangeCancelEx
       
   135 	{
       
   136 public:
       
   137 	static TInt Initialise(CFsRequest* aRequest);
       
   138 	static TInt DoRequestL(CFsRequest* aRequest);
       
   139 	};
       
   140 
       
   141 class TFsDriveList
       
   142 	{
       
   143 public:
       
   144 	static TInt Initialise(CFsRequest* aRequest);
       
   145 	static TInt DoRequestL(CFsRequest* aRequest);
       
   146 	};
       
   147 
       
   148 class TFsDrive
       
   149 	{
       
   150 public:
       
   151 	static TInt Initialise(CFsRequest* aRequest);
       
   152 	static TInt DoRequestL(CFsRequest* aRequest);
       
   153 	};
       
   154 
       
   155 class TFsVolume
       
   156 	{
       
   157 public:
       
   158 	static TInt Initialise(CFsRequest* aRequest);
       
   159 	static TInt DoRequestL(CFsRequest* aRequest);
       
   160 	};
       
   161 
       
   162 class TFsSetVolume
       
   163 	{
       
   164 public:
       
   165 	static TInt Initialise(CFsRequest* aRequest);
       
   166 	static TInt DoRequestL(CFsRequest* aRequest);
       
   167 	};
       
   168 
       
   169 
       
   170 class TFsSubst
       
   171 	{
       
   172 public:
       
   173 	static TInt Initialise(CFsRequest* aRequest);
       
   174 	static TInt DoRequestL(CFsRequest* aRequest);
       
   175 	};
       
   176 
       
   177 class TFsSetSubst
       
   178 	{
       
   179 public:
       
   180 	static TInt Initialise(CFsRequest* aRequest);
       
   181 	static TInt DoRequestL(CFsRequest* aRequest);
       
   182 	};
       
   183 
       
   184 class TFsRealName
       
   185 	{
       
   186 public:
       
   187 	static TInt Initialise(CFsRequest* aRequest);
       
   188 	static TInt DoRequestL(CFsRequest* aRequest);
       
   189 	};
       
   190 
       
   191 class TFsDefaultPath
       
   192 	{
       
   193 public:
       
   194 	static TInt Initialise(CFsRequest* aRequest);
       
   195 	static TInt DoRequestL(CFsRequest* aRequest);
       
   196 	};
       
   197 
       
   198 class TFsSetDefaultPath
       
   199 	{
       
   200 public:
       
   201 	static TInt Initialise(CFsRequest* aRequest);
       
   202 	static TInt DoRequestL(CFsRequest* aRequest);
       
   203 	};
       
   204 //#endif
       
   205 
       
   206 
       
   207 class TFsSessionPath
       
   208 	{
       
   209 public:
       
   210 	static TInt Initialise(CFsRequest* aRequest);
       
   211 	static TInt DoRequestL(CFsRequest* aRequest);
       
   212 	};
       
   213 
       
   214 class TFsSetSessionPath
       
   215 	{
       
   216 public:
       
   217 	static TInt Initialise(CFsRequest* aRequest);
       
   218 	static TInt DoRequestL(CFsRequest* aRequest);
       
   219 	};
       
   220 
       
   221 class TFsMkDir
       
   222 	{
       
   223 public:
       
   224 	static TInt Initialise(CFsRequest* aRequest);
       
   225 	static TInt DoRequestL(CFsRequest* aRequest);
       
   226 	};
       
   227 
       
   228 class TFsRmDir
       
   229 	{
       
   230 public:
       
   231 	static TInt Initialise(CFsRequest* aRequest);
       
   232 	static TInt DoRequestL(CFsRequest* aRequest);
       
   233 	};
       
   234 
       
   235 class TFsParse
       
   236 	{
       
   237 public:
       
   238 	static TInt Initialise(CFsRequest* aRequest);
       
   239 	static TInt DoRequestL(CFsRequest* aRequest);
       
   240 	};
       
   241 
       
   242 class TFsDelete
       
   243 	{
       
   244 public:
       
   245 	static TInt Initialise(CFsRequest* aRequest);
       
   246 	static TInt DoRequestL(CFsRequest* aRequest);
       
   247 	};
       
   248 
       
   249 class TFsRename
       
   250 	{
       
   251 public:
       
   252 	static TInt Initialise(CFsRequest* aRequest);
       
   253 	static TInt DoRequestL(CFsRequest* aRequest);
       
   254 	};
       
   255 
       
   256 class TFsReplace
       
   257 	{
       
   258 public:
       
   259 	static TInt Initialise(CFsRequest* aRequest);
       
   260 	static TInt DoRequestL(CFsRequest* aRequest);
       
   261 	};
       
   262 
       
   263 class TFsEntry
       
   264 	{
       
   265 public:
       
   266 	static TInt Initialise(CFsRequest* aRequest);
       
   267 	static TInt DoRequestL(CFsRequest* aRequest);
       
   268 private:
       
   269 	};
       
   270 
       
   271 class TFsSetEntry
       
   272 	{
       
   273 public:
       
   274 	static TInt Initialise(CFsRequest* aRequest);
       
   275 	static TInt DoRequestL(CFsRequest* aRequest);
       
   276 	};
       
   277 
       
   278 class TFsSubClose
       
   279 	{
       
   280 public:
       
   281 	static TInt Initialise(CFsRequest* aRequest);
       
   282 	static TInt DoRequestL(CFsRequest* aRequest);
       
   283 	static TInt Complete(CFsRequest* aRequest);
       
   284 	};
       
   285 
       
   286 class TFsFileOpen
       
   287 	{
       
   288 public:
       
   289 	static TInt Initialise(CFsRequest* aRequest);
       
   290 	static TInt DoRequestL(CFsRequest* aRequest);
       
   291 	};
       
   292 
       
   293 class TFsFileCreate
       
   294 	{
       
   295 public:
       
   296 	static TInt Initialise(CFsRequest* aRequest);
       
   297 	static TInt DoRequestL(CFsRequest* aRequest);
       
   298 	};
       
   299 
       
   300 class TFsFileReplace
       
   301 	{
       
   302 public:
       
   303 	static TInt Initialise(CFsRequest* aRequest);
       
   304 	static TInt DoRequestL(CFsRequest* aRequest);
       
   305 	};
       
   306 
       
   307 class TFsFileTemp
       
   308 	{
       
   309 public:
       
   310 	static TInt Initialise(CFsRequest* aRequest);
       
   311 	static TInt DoRequestL(CFsRequest* aRequest);
       
   312 private:
       
   313 	};
       
   314 
       
   315 class TFsFileRead
       
   316 	{
       
   317 public:
       
   318 	static TInt Initialise(CFsRequest* aRequest);
       
   319 	static TInt PostInitialise(CFsRequest* aRequest);
       
   320 	static TInt DoRequestL(CFsRequest* aRequest);
       
   321 	static TInt Complete(CFsRequest* aRequest);
       
   322 private:
       
   323 	};
       
   324 
       
   325 class TFsFileWrite
       
   326 	{
       
   327 public:
       
   328 	static TInt Initialise(CFsRequest* aRequest);
       
   329 	static TInt PostInitialise(CFsRequest* aRequest);
       
   330 	static TInt DoRequestL(CFsRequest* aRequest);
       
   331 	static TInt Complete(CFsRequest* aRequest);
       
   332 	static void CommonEnd(CFsMessageRequest* aRequest, TInt aRetVal, TUint64 aInitSize, TUint64 aCurrentSize, TInt64 aNewPos, TBool aFileWrite);
       
   333 private:
       
   334 	static TInt CommonInit(CFileShare* aShare, CFileCB* aFile, TInt64& aPos, TInt& aLen, TInt64 aFileSize, TFsMessage aFsOp);
       
   335 	};
       
   336 
       
   337 class TFsFileLock
       
   338 	{
       
   339 public:
       
   340 	static TInt Initialise(CFsRequest* aRequest);
       
   341 	static TInt DoRequestL(CFsRequest* aRequest);
       
   342 private:
       
   343 	};
       
   344 
       
   345 class TFsFileUnlock
       
   346 	{
       
   347 public:
       
   348 	static TInt Initialise(CFsRequest* aRequest);
       
   349 	static TInt DoRequestL(CFsRequest* aRequest);
       
   350 	};
       
   351 
       
   352 class TFsFileSeek
       
   353 	{
       
   354 public:
       
   355 	static TInt Initialise(CFsRequest* aRequest);
       
   356 	static TInt DoRequestL(CFsRequest* aRequest);
       
   357 	};
       
   358 
       
   359 class TFsFileFlush
       
   360 	{
       
   361 public:
       
   362 	static TInt Initialise(CFsRequest* aRequest);
       
   363 	static TInt DoRequestL(CFsRequest* aRequest);
       
   364 	};
       
   365 
       
   366 class TFsFileSize
       
   367 	{
       
   368 public:
       
   369 	static TInt Initialise(CFsRequest* aRequest);
       
   370 	static TInt DoRequestL(CFsRequest* aRequest);
       
   371 	};
       
   372 
       
   373 class TFsFileSetSize
       
   374 	{
       
   375 public:
       
   376 	static TInt Initialise(CFsRequest* aRequest);
       
   377 	static TInt DoRequestL(CFsRequest* aRequest);
       
   378 	};
       
   379 
       
   380 class TFsFileAtt
       
   381 	{
       
   382 public:
       
   383 	static TInt Initialise(CFsRequest* aRequest);
       
   384 	static TInt DoRequestL(CFsRequest* aRequest);
       
   385 	};
       
   386 
       
   387 class TFsFileSetAtt
       
   388 	{
       
   389 public:
       
   390 	static TInt Initialise(CFsRequest* aRequest);
       
   391 	static TInt DoRequestL(CFsRequest* aRequest);
       
   392 	};
       
   393 
       
   394 class TFsFileModified
       
   395 	{
       
   396 public:
       
   397 	static TInt Initialise(CFsRequest* aRequest);
       
   398 	static TInt DoRequestL(CFsRequest* aRequest);
       
   399 	};
       
   400 
       
   401 class TFsFileSetModified
       
   402 	{
       
   403 public:
       
   404 	static TInt Initialise(CFsRequest* aRequest);
       
   405 	static TInt DoRequestL(CFsRequest* aRequest);
       
   406 	};
       
   407 
       
   408 class TFsFileSet
       
   409 	{
       
   410 public:
       
   411 	static TInt Initialise(CFsRequest* aRequest);
       
   412 	static TInt DoRequestL(CFsRequest* aRequest);
       
   413 	};
       
   414 
       
   415 class TFsFileChangeMode
       
   416 	{
       
   417 public:
       
   418 	static TInt Initialise(CFsRequest* aRequest);
       
   419 	static TInt DoRequestL(CFsRequest* aRequest);
       
   420 	};
       
   421 
       
   422 class TFsFileRename
       
   423 	{
       
   424 public:
       
   425 	static TInt Initialise(CFsRequest* aRequest);
       
   426 	static TInt DoRequestL(CFsRequest* aRequest);
       
   427 	};
       
   428 
       
   429 class TFsDirOpen
       
   430 	{
       
   431 public:
       
   432 	static TInt Initialise(CFsRequest* aRequest);
       
   433 	static TInt DoRequestL(CFsRequest* aRequest);
       
   434 	};
       
   435 
       
   436 class TFsDirReadOne
       
   437 	{
       
   438 public:
       
   439 	static TInt Initialise(CFsRequest* aRequest);
       
   440 	static TInt DoRequestL(CFsRequest* aRequest);
       
   441 	};
       
   442 
       
   443 class TFsDirReadPacked
       
   444 	{
       
   445 public:
       
   446 	static TInt Initialise(CFsRequest* aRequest);
       
   447 	static TInt DoRequestL(CFsRequest* aRequest);
       
   448 	};
       
   449 
       
   450 class TFsFormatOpen
       
   451 	{
       
   452 public:
       
   453 	static TInt Initialise(CFsRequest* aRequest);
       
   454 	static TInt DoRequestL(CFsRequest* aRequest);
       
   455 	};
       
   456 
       
   457 class TFsFormatNext
       
   458 	{
       
   459 public:
       
   460 	static TInt Initialise(CFsRequest* aRequest);
       
   461 	static TInt DoRequestL(CFsRequest* aRequest);
       
   462 	};
       
   463 
       
   464 class TFsRawDiskOpen
       
   465 	{
       
   466 public:
       
   467 	static TInt Initialise(CFsRequest* aRequest);
       
   468 	static TInt DoRequestL(CFsRequest* aRequest);
       
   469 	};
       
   470 
       
   471 class TFsRawDiskClose
       
   472 	{
       
   473 public:
       
   474 	static TInt Initialise(CFsRequest* aRequest);
       
   475 	static TInt DoRequestL(CFsRequest* aRequest);
       
   476 	};
       
   477 
       
   478 class TFsRawDiskRead
       
   479 	{
       
   480 public:
       
   481 	static TInt Initialise(CFsRequest* aRequest);
       
   482 	static TInt DoRequestL(CFsRequest* aRequest);
       
   483 	};
       
   484 
       
   485 class TFsRawDiskWrite
       
   486 	{
       
   487 public:
       
   488 	static TInt Initialise(CFsRequest* aRequest);
       
   489 	static TInt DoRequestL(CFsRequest* aRequest);
       
   490 	};
       
   491 
       
   492 class TFsResourceCountMarkStart
       
   493 	{
       
   494 public:
       
   495 	static TInt Initialise(CFsRequest* aRequest);
       
   496 	static TInt DoRequestL(CFsRequest* aRequest);
       
   497 	};
       
   498 
       
   499 class TFsResourceCountMarkEnd
       
   500 	{
       
   501 public:
       
   502 	static TInt Initialise(CFsRequest* aRequest);
       
   503 	static TInt DoRequestL(CFsRequest* aRequest);
       
   504 	};
       
   505 
       
   506 class TFsResourceCount
       
   507 	{
       
   508 public:
       
   509 	static TInt Initialise(CFsRequest* aRequest);
       
   510 	static TInt DoRequestL(CFsRequest* aRequest);
       
   511 	};
       
   512 
       
   513 class TFsCheckDisk
       
   514 	{
       
   515 public:
       
   516 	static TInt Initialise(CFsRequest* aRequest);
       
   517 	static TInt DoRequestL(CFsRequest* aRequest);
       
   518 	};
       
   519 
       
   520 class TFsScanDrive
       
   521 	{
       
   522 public:
       
   523 	static TInt Initialise(CFsRequest* aReqeust);
       
   524 	static TInt DoRequestL(CFsRequest* aReqeust);
       
   525 	};
       
   526 
       
   527 class TFsGetShortName
       
   528 	{
       
   529 public:
       
   530 	static TInt Initialise(CFsRequest* aRequest);
       
   531 	static TInt DoRequestL(CFsRequest* aRequest);
       
   532 	};
       
   533 
       
   534 class TFsGetLongName
       
   535 	{
       
   536 public:
       
   537 	static TInt Initialise(CFsRequest* aRequest);
       
   538 	static TInt DoRequestL(CFsRequest* aRequest);
       
   539 	};
       
   540 
       
   541 class TFsIsFileOpen
       
   542 	{
       
   543 public:
       
   544 	static TInt Initialise(CFsRequest* aRequest);
       
   545 	static TInt DoRequestL(CFsRequest* aRequest);
       
   546 	};
       
   547 
       
   548 class TFsListOpenFiles
       
   549 	{
       
   550 public:
       
   551 	static TInt Initialise(CFsRequest* aRequest);
       
   552 	static TInt DoRequestL(CFsRequest* aRequest);
       
   553 	};
       
   554 
       
   555 class TFsSetNotifyUser
       
   556 	{
       
   557 public:
       
   558 	static TInt Initialise(CFsRequest* aRequest);
       
   559 	static TInt DoRequestL(CFsRequest* aRequest);
       
   560 	};
       
   561 
       
   562 class TFsGetNotifyUser
       
   563 	{
       
   564 public:
       
   565 	static TInt Initialise(CFsRequest* aRequest);
       
   566 	static TInt DoRequestL(CFsRequest* aRequest);
       
   567 	};
       
   568 
       
   569 class TFsIsFileInRom
       
   570 	{
       
   571 public:
       
   572 	static TInt Initialise(CFsRequest* aRequest);
       
   573 	static TInt DoRequestL(CFsRequest* aRequest);
       
   574 	};
       
   575 
       
   576 class TFsIsValidName
       
   577 	{
       
   578 public:
       
   579 	static TInt Initialise(CFsRequest* aRequest);
       
   580 	static TInt DoRequestL(CFsRequest* aRequest);
       
   581 	};
       
   582 
       
   583 class TFsGetDriveName
       
   584 	{
       
   585 public:
       
   586 	static TInt Initialise(CFsRequest* aRequest);
       
   587 	static TInt DoRequestL(CFsRequest* aRequest);
       
   588 	};
       
   589 
       
   590 class TFsSetDriveName
       
   591 	{
       
   592 public:
       
   593 	static TInt Initialise(CFsRequest* aRequest);
       
   594 	static TInt DoRequestL(CFsRequest* aRequest);
       
   595 	};
       
   596 
       
   597 class TFsDebugFunc
       
   598 	{
       
   599 public:
       
   600 	static TInt Initialise(CFsRequest* aRequest);
       
   601 	static TInt DoRequestL(CFsRequest* aRequest);
       
   602 	};
       
   603 
       
   604 class TFsControlIo
       
   605 	{
       
   606 public:
       
   607 	static TInt Initialise(CFsRequest* aRequest);
       
   608 	static TInt DoRequestL(CFsRequest* aRequest);
       
   609 	};
       
   610 
       
   611 class TFsReadFileSection
       
   612 	{
       
   613 public:
       
   614 	static TInt Initialise(CFsRequest* aRequest);
       
   615 	static TInt DoRequestL(CFsRequest* aRequest);
       
   616 	static TInt Complete(CFsRequest* aRequest);
       
   617 	};
       
   618 
       
   619 class TFsLockDrive
       
   620 	{
       
   621 public:
       
   622 	static TInt Initialise(CFsRequest *aRequest);
       
   623 	static TInt DoRequestL(CFsRequest *aRequest);
       
   624 	};
       
   625 
       
   626 class TFsUnlockDrive
       
   627 	{
       
   628 public:
       
   629 	static TInt Initialise(CFsRequest *aRequest);
       
   630 	static TInt DoRequestL(CFsRequest *aRequest);
       
   631 	};
       
   632 
       
   633 class TFsClearPassword
       
   634 	{
       
   635 public:
       
   636 	static TInt Initialise(CFsRequest *aRequest);
       
   637 	static TInt DoRequestL(CFsRequest *aRequest);
       
   638 	};
       
   639 
       
   640 class TFsErasePassword
       
   641 	{
       
   642 public:
       
   643 	static TInt Initialise(CFsRequest *aRequest);
       
   644 	static TInt DoRequestL(CFsRequest *aRequest);
       
   645 	};
       
   646 
       
   647 class TFsNotifyDiskSpace
       
   648 	{
       
   649 public:
       
   650 	static TInt Initialise(CFsRequest *aRequest);
       
   651 	static TInt DoRequestL(CFsRequest *aRequest);
       
   652 	};
       
   653 
       
   654 class TFsNotifyDiskSpaceCancel
       
   655 	{
       
   656 public:
       
   657 	static TInt Initialise(CFsRequest *aRequest);
       
   658 	static TInt DoRequestL(CFsRequest *aRequest);
       
   659 	};
       
   660 
       
   661 class TFsFileDrive
       
   662 	{
       
   663 public:
       
   664 	static TInt Initialise(CFsRequest *aRequest);
       
   665 	static TInt DoRequestL(CFsRequest *aRequest);
       
   666 	};
       
   667 
       
   668 class TFsSessionToPrivate
       
   669 	{
       
   670 public:
       
   671 	static TInt Initialise(CFsRequest *aRequest);
       
   672 	static TInt DoRequestL(CFsRequest *aRequest);
       
   673 	};
       
   674 
       
   675 class TFsPrivatePath
       
   676 	{
       
   677 public:
       
   678 	static TInt Initialise(CFsRequest *aRequest);
       
   679 	static TInt DoRequestL(CFsRequest *aRequest);
       
   680 	};
       
   681 
       
   682 class TFsCreatePrivatePath
       
   683 	{
       
   684 public:
       
   685 	static TInt Initialise(CFsRequest *aRequest);
       
   686 	static TInt DoRequestL(CFsRequest *aRequest);
       
   687 	};
       
   688 
       
   689 class TFsStartupInitComplete
       
   690 	{
       
   691 public:
       
   692 	static TInt Initialise(CFsRequest* aRequest);
       
   693 	static TInt DoRequestL(CFsRequest* aRequest);
       
   694 	};
       
   695 
       
   696 class TFsSetLocalDriveMapping
       
   697 	{
       
   698 public:
       
   699 	static TInt Initialise(CFsRequest* aRequest);
       
   700 	static TInt DoRequestL(CFsRequest* aRequest);
       
   701 	};
       
   702 
       
   703 class TFsFileDuplicate
       
   704 	{
       
   705 public:
       
   706 	static TInt Initialise(CFsRequest* aRequest);
       
   707 	static TInt DoRequestL(CFsRequest* aRequest);
       
   708 	};
       
   709 
       
   710 class TFsFileAdopt
       
   711 	{
       
   712 public:
       
   713 	static TInt Initialise(CFsRequest* aRequest);
       
   714 	static TInt DoRequestL(CFsRequest* aRequest);
       
   715 	};
       
   716 
       
   717 class TFsFinaliseDrive
       
   718 	{
       
   719 public:
       
   720 	static TInt Initialise(CFsRequest* aRequest);
       
   721 	static TInt DoRequestL(CFsRequest* aRequest);
       
   722 	};
       
   723 
       
   724 class TFsCloseObject
       
   725 	{
       
   726 public:
       
   727 	static TInt Initialise(CFsRequest* aRequest);
       
   728 	static TInt DoRequestL(CFsRequest* aRequest);
       
   729 	static TInt Complete(CFsRequest* aRequest);
       
   730 	};
       
   731 
       
   732 class TFsCancelSession
       
   733 	{
       
   734 public:
       
   735 	static TInt Initialise(CFsRequest* aRequest);
       
   736 	static TInt DoRequestL(CFsRequest* aRequest);
       
   737 	};
       
   738 
       
   739 class TFsFlushDirtyData
       
   740 	{
       
   741 public:
       
   742 	static TInt Initialise(CFsRequest* aRequest);
       
   743 	static TInt DoRequestL(CFsRequest* aRequest);
       
   744 	};
       
   745 
       
   746 class TFsSessionDisconnect
       
   747 	{
       
   748 public:
       
   749 	static TInt Initialise(CFsRequest* aRequest);
       
   750 	static TInt DoRequestL(CFsRequest* aRequest);
       
   751 	};
       
   752 
       
   753 class TFsCancelPlugin
       
   754 	{
       
   755 	public:
       
   756 	static TInt Initialise(CFsRequest* aRequest);
       
   757 	static TInt DoRequestL(CFsRequest* aRequest);
       
   758 	};
       
   759 
       
   760 class TFsCloseFileShare : public TFsCloseObject
       
   761 	{
       
   762 public:
       
   763 	static TInt DoRequestL(CFsRequest* aRequest);
       
   764 	static TInt Complete(CFsRequest* aRequest);
       
   765 	};
       
   766 
       
   767 class TFsSwapFileSystem
       
   768 	{
       
   769 public:
       
   770 	static TInt Initialise(CFsRequest* aRequest);
       
   771 	static TInt DoRequestL(CFsRequest* aRequest);
       
   772 	};
       
   773 
       
   774 class TFsReserveDriveSpace
       
   775 	{
       
   776 public:
       
   777 	static TInt Initialise(CFsRequest *aRequest);
       
   778 	static TInt DoRequestL(CFsRequest *aRequest);
       
   779 	};
       
   780 
       
   781 class TFsGetReserveAccess
       
   782 	{
       
   783 public:
       
   784 	static TInt Initialise(CFsRequest *aRequest);
       
   785 	static TInt DoRequestL(CFsRequest *aRequest);
       
   786 	};
       
   787 
       
   788 class TFsReleaseReserveAccess
       
   789 	{
       
   790 public:
       
   791 	static TInt Initialise(CFsRequest *aRequest);
       
   792 	static TInt DoRequestL(CFsRequest *aRequest);
       
   793 	};
       
   794 
       
   795 class TFsFileName
       
   796 	{
       
   797 public:
       
   798 	static TInt Initialise(CFsRequest* aRequest);
       
   799 	static TInt DoRequestL(CFsRequest* aRequest);
       
   800 	};
       
   801 
       
   802 class TFsFileFullName
       
   803 	{
       
   804 public:
       
   805 	static TInt Initialise(CFsRequest* aRequest);
       
   806 	static TInt DoRequestL(CFsRequest* aRequest);
       
   807 	};
       
   808 	
       
   809 class TFsGetMediaSerialNumber
       
   810     {
       
   811 public:
       
   812 	static TInt Initialise(CFsRequest* aRequest);
       
   813 	static TInt DoRequestL(CFsRequest* aRequest);
       
   814     };
       
   815 
       
   816 class TFsAddPlugin
       
   817 	{
       
   818 public:
       
   819 	static TInt Initialise(CFsRequest* aRequest);
       
   820 	static TInt DoRequestL(CFsRequest* aRequest);
       
   821 	};
       
   822 
       
   823 class TFsMountPlugin
       
   824 	{
       
   825 public:
       
   826 	static TInt Initialise(CFsRequest* aRequest);
       
   827 	static TInt DoRequestL(CFsRequest* aRequest);
       
   828 	};
       
   829 
       
   830 class TFsDismountPlugin
       
   831 	{
       
   832 public:
       
   833 	static TInt Initialise(CFsRequest* aRequest);
       
   834 	static TInt DoRequestL(CFsRequest* aRequest);
       
   835 	};
       
   836 
       
   837 class TFsRemovePlugin
       
   838 	{
       
   839 public:
       
   840 	static TInt Initialise(CFsRequest* aRequest);
       
   841 	static TInt DoRequestL(CFsRequest* aRequest);
       
   842 	};
       
   843 
       
   844 class TFsPluginName
       
   845 	{
       
   846 public:
       
   847 	static TInt Initialise(CFsRequest* aRequest);
       
   848 	static TInt DoRequestL(CFsRequest* aRequest);
       
   849 	};
       
   850 
       
   851 class TFsPluginOpen
       
   852 	{
       
   853 public:
       
   854 	static TInt Initialise(CFsRequest* aRequest);
       
   855 	static TInt DoRequestL(CFsRequest* aRequest);
       
   856 	};
       
   857 
       
   858 class TFsPluginDoRequest
       
   859 	{
       
   860 public:
       
   861 	static TInt Initialise(CFsRequest* aRequest);
       
   862 	static TInt DoRequestL(CFsRequest* aRequest);
       
   863 	};
       
   864 
       
   865 class TFsPluginDoControl
       
   866 	{
       
   867 public:
       
   868 	static TInt Initialise(CFsRequest* aRequest);
       
   869 	static TInt DoRequestL(CFsRequest* aRequest);
       
   870 	};
       
   871 
       
   872 class TFsPluginDoCancel
       
   873 	{
       
   874 public:
       
   875 	static TInt Initialise(CFsRequest* aRequest);
       
   876 	static TInt DoRequestL(CFsRequest* aRequest);
       
   877 	};
       
   878 
       
   879 class TFsNotifyDismount
       
   880     {
       
   881 public:
       
   882 	static TInt Initialise(CFsRequest* aRequest);
       
   883 	static TInt DoRequestL(CFsRequest* aRequest);
       
   884 private:
       
   885 	static TInt RegisterNotify(CFsRequest* aRequest);
       
   886     };
       
   887 
       
   888 class TFsNotifyDismountCancel
       
   889     {
       
   890 public:
       
   891 	static TInt Initialise(CFsRequest* aRequest);
       
   892 	static TInt DoRequestL(CFsRequest* aRequest);
       
   893     };
       
   894 
       
   895 class TFsAllowDismount
       
   896     {
       
   897 public:
       
   898 	static TInt Initialise(CFsRequest* aRequest);
       
   899 	static TInt DoRequestL(CFsRequest* aRequest);
       
   900     };
       
   901 
       
   902 class TFsSetStartupConfiguration
       
   903     {
       
   904 public:
       
   905 	static TInt Initialise(CFsRequest* aRequest);
       
   906 	static TInt DoRequestL(CFsRequest* aRequest);
       
   907     };
       
   908 
       
   909 class TFsFileReadCancel
       
   910 	{
       
   911 public:
       
   912 	static TInt Initialise(CFsRequest* aRequest);
       
   913 	static TInt DoRequestL(CFsRequest* aRequest);
       
   914 	};
       
   915 
       
   916 class TFsAddCompositeMount
       
   917 	{
       
   918 public:
       
   919 	static TInt Initialise(CFsRequest* aRequest);
       
   920 	static TInt DoRequestL(CFsRequest* aRequest);
       
   921 #ifndef __GCC32__ // GCC does not like AddFsToCompositeMountL() being private 
       
   922 private:
       
   923 #endif
       
   924 	static void AddFsToCompositeMountL(TInt aDriveNumber, CFileSystem& aFileSystem, TInt aLocalDriveNumber);
       
   925 	};
       
   926 
       
   927 
       
   928 class TFsSetSessionFlags
       
   929 	{
       
   930 public:
       
   931 	static TInt Initialise(CFsRequest* aRequest);
       
   932 	static TInt DoRequestL(CFsRequest* aRequest);
       
   933 	};
       
   934 
       
   935 
       
   936 class TFsSetSystemDrive
       
   937 	{
       
   938 public:
       
   939 	static TInt Initialise(CFsRequest* aRequest);
       
   940 	static TInt DoRequestL(CFsRequest* aRequest);
       
   941 	};
       
   942 
       
   943 
       
   944 class TFsBlockMap
       
   945 	{
       
   946 public:
       
   947 	static TInt Initialise(CFsRequest* aRequest);
       
   948 	static TInt DoRequestL(CFsRequest* aRequest);
       
   949 	};
       
   950 
       
   951 class TFsFileClamp
       
   952 	{
       
   953 public:
       
   954 	static TInt Initialise(CFsRequest* aRequest);
       
   955 	static TInt DoRequestL(CFsRequest* aRequest);
       
   956 	};
       
   957 
       
   958 class TFsUnclamp
       
   959 	{
       
   960 public:
       
   961 	static TInt Initialise(CFsRequest* aRequest);
       
   962 	static TInt DoRequestL(CFsRequest* aRequest);
       
   963 	};
       
   964 
       
   965 class TFsQueryVolumeInfoExt
       
   966 	{
       
   967 public:
       
   968 	static TInt Initialise(CFsRequest* aRequest);
       
   969 	static TInt DoRequestL(CFsRequest* aRequest);
       
   970 	};
       
   971 
       
   972 class TFsInitialisePropertiesFile
       
   973 	{
       
   974 public:
       
   975 	static TInt Initialise(CFsRequest* aRequest);
       
   976 	static TInt DoRequestL(CFsRequest* aRequest);
       
   977 	};
       
   978 
       
   979 class TFsFileWriteDirty
       
   980 	{
       
   981 public:
       
   982 	static TInt PostInitialise(CFsRequest* aRequest);
       
   983 	};
       
   984 
       
   985 class TFsSynchroniseDriveThread
       
   986 	{
       
   987 public:
       
   988 	static TInt Initialise(CFsRequest *aRequest);
       
   989 	static TInt DoRequestL(CFsRequest *aRequest);
       
   990 	};
       
   991 
       
   992 class TFsAddProxyDrive
       
   993 	{
       
   994 public:
       
   995 	static TInt Initialise(CFsRequest* aRequest);
       
   996 	static TInt DoRequestL(CFsRequest* aRequest);
       
   997 	};
       
   998 
       
   999 class TFsRemoveProxyDrive
       
  1000 	{
       
  1001 public:
       
  1002 	static TInt Initialise(CFsRequest* aRequest);
       
  1003 	static TInt DoRequestL(CFsRequest* aRequest);
       
  1004 	};
       
  1005 
       
  1006 class TFsMountProxyDrive
       
  1007 	{
       
  1008 public:
       
  1009 	static TInt Initialise(CFsRequest* aRequest);
       
  1010 	static TInt DoRequestL(CFsRequest* aRequest);
       
  1011 	};
       
  1012 
       
  1013 class TFsDismountProxyDrive
       
  1014 	{
       
  1015 public:
       
  1016 	static TInt Initialise(CFsRequest* aRequest);
       
  1017 	static TInt DoRequestL(CFsRequest* aRequest);
       
  1018 	};
       
  1019 	
       
  1020 class CFsNotifyRequest; //Forward declaration
       
  1021 class TFsNotificationOpen
       
  1022 	{
       
  1023 public:
       
  1024 	static TInt Initialise(CFsRequest* aRequest);
       
  1025 	static TInt DoRequestL(CFsRequest* aRequest);
       
  1026 	static void HandleRequestL(CFsRequest* aRequest, CFsNotifyRequest* aNotifyRequest, TInt& aHandle,TBool& aAddedToManager);
       
  1027 	};
       
  1028 
       
  1029 class TFsNotificationBuffer
       
  1030 	{
       
  1031 public:
       
  1032 	static TInt Initialise(CFsRequest* aRequest);
       
  1033 	static TInt DoRequestL(CFsRequest* aRequest);	
       
  1034 	};
       
  1035 
       
  1036 class TFsNotificationAdd
       
  1037 	{
       
  1038 public:
       
  1039 	static TInt Initialise(CFsRequest* aRequest);
       
  1040 	static TInt DoRequestL(CFsRequest* aRequest);
       
  1041 	};
       
  1042 
       
  1043 class TFsNotificationRemove
       
  1044 	{
       
  1045 public:
       
  1046 	static TInt Initialise(CFsRequest* aRequest);
       
  1047 	static TInt DoRequestL(CFsRequest* aRequest);
       
  1048 	};
       
  1049 
       
  1050 class TFsNotificationRequest
       
  1051 	{
       
  1052 public:
       
  1053 	static TInt Initialise(CFsRequest* aRequest);
       
  1054 	static TInt DoRequestL(CFsRequest* aRequest);
       
  1055 	};
       
  1056 
       
  1057 class TFsNotificationCancel
       
  1058 	{
       
  1059 public:
       
  1060 	static TInt Initialise(CFsRequest* aRequest);
       
  1061 	static TInt DoRequestL(CFsRequest* aRequest);
       
  1062 	};
       
  1063 
       
  1064 class TFsNotificationSubClose
       
  1065 	{
       
  1066 public:
       
  1067 	static TInt Initialise(CFsRequest* aRequest);
       
  1068 	static TInt DoRequestL(CFsRequest* aRequest);
       
  1069 	};
       
  1070 
       
  1071 class TFsLoadCodePage
       
  1072 	{
       
  1073 public:
       
  1074 	static TInt Initialise(CFsRequest* aRequest);
       
  1075 	static TInt DoRequestL(CFsRequest* aRequest);
       
  1076 	};
       
  1077 
       
  1078 void GetFileFromScratch(CFsRequest* aRequest, CFileShare*& aShare, CFileCB*& aFile);
       
  1079 
       
  1080 #endif	// __SF_FUNC_H
       
  1081