wmdrm/wmdrmengine/wmdrmfileserver/server/inc/wmdrmfsclientserver.h
changeset 0 95b198f216e5
equal deleted inserted replaced
-1:000000000000 0:95b198f216e5
       
     1 /*
       
     2 * Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Common client server definitions
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef __WMDRMFSCLIENTSERVER_H
       
    20 #define __WMDRMFSCLIENTSERVER_H
       
    21 
       
    22 #include <e32std.h>
       
    23 
       
    24 // List of all possible messages to the WMDRM file server
       
    25 enum TWmDrmFileServerMessages
       
    26 	{
       
    27     EFsOpen,            // Open a file
       
    28     EFsCreate,          // Create a file
       
    29     EFsRead,            // Read the contents of an open file
       
    30     EFsWrite,           // Replace the contents of an open file
       
    31     EFsSize,            // Return the size of an open file
       
    32     EFsDelete,          // Delete a file
       
    33     EFsIsOpen,          // Check whether a file is open
       
    34     EFsCloseFile,       // Close an open file
       
    35     EFsMkDirAll,        // Conditionally create a full file path
       
    36     EFsRmDirAll,        // Remove a full path including content
       
    37     EFsRmDir,           // Remove a non-empty directory
       
    38     EFsUpdateSecureTime,// Update the secure time
       
    39     EFsDeleteRights     // Delete all rights
       
    40 	};
       
    41 
       
    42 #endif //  __WMDRMFSCLIENTSERVER_H