dosservices/dosserver/inc/dosclishareddata.h
changeset 0 4e1aa6a622a0
child 9 b0e374890c7b
child 34 b2f9f823b5fb
equal deleted inserted replaced
-1:000000000000 0:4e1aa6a622a0
       
     1 /*
       
     2 * Copyright (c) 2002 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:  
       
    15 *    This file contains the neccessary clases to access to the Dos Server
       
    16 *    Services. Client side API.  
       
    17 *
       
    18 */
       
    19 
       
    20 
       
    21 #ifndef __DOSCLISHAREDDATA_H__
       
    22 #define __DOSCLISHAREDDATA_H__
       
    23 
       
    24 // INCLUDES
       
    25 #include <e32base.h>
       
    26 #include "DosSvrServices.h"
       
    27 
       
    28 /**
       
    29 * Subsession that provides functionality to make a DOS side self test.
       
    30 */
       
    31 class RDosSharedData : public RDosSubSession
       
    32 {
       
    33 public:
       
    34 
       
    35 	/**
       
    36 	* Opens the subsession.
       
    37 	* @param aServer A connected session with the Server.
       
    38 	* @return Symbian error code.
       
    39 	*/
       
    40 	IMPORT_C TInt Open(RDosServer& aServer);
       
    41 
       
    42     IMPORT_C void RequestFreeDiskSpace( const TInt aAmount ) const;
       
    43     IMPORT_C void RequestFreeDiskSpaceCancel() const;
       
    44     IMPORT_C void Close();
       
    45     
       
    46     //TInt iFreeDiskSpaceRequest;
       
    47     
       
    48 private:    // Data
       
    49     const RMessage2* iMessage;  // Kernel owns
       
    50     void RDosSharedData::SetFreeDiskSpaceRequest( const TInt aAmount);
       
    51 };
       
    52 
       
    53 
       
    54 #endif // __DOSCLISHAREDDATA_H__