userlibandfileserver/fileserver/shostmassstorage/server/src/include/cusbhostmssession.h
changeset 4 56f325a607ea
parent 0 a41df078684a
child 41 0ffb4e86fcc9
equal deleted inserted replaced
2:4122176ea935 4:56f325a607ea
    31     };
    31     };
    32 
    32 
    33 //
    33 //
    34 // Forward declarations
    34 // Forward declarations
    35 //
    35 //
    36 class CUsbMassStorageServer;
       
    37 class CUsbHostMsDevice;
       
    38 class CUsbHostMsServer;
    36 class CUsbHostMsServer;
       
    37 class CUsbHostMsDeviceThread;
    39 
    38 
    40 /**
    39 /**
    41  The CUsbMassStorageSession class
    40  The CUsbMassStorageSession class
    42  Implements a Session of a Symbian OS server for the RUsbMassStorage API
    41  Implements a Session of a Symbian OS server for the RUsbMassStorage API
    43  */
    42  */
    48 	virtual ~CUsbHostMsSession();
    47 	virtual ~CUsbHostMsSession();
    49 
    48 
    50 	// CSession
    49 	// CSession
    51 	virtual void ServiceL(const RMessage2& aMessage);
    50 	virtual void ServiceL(const RMessage2& aMessage);
    52 
    51 
       
    52     void MessageRequest(TRequestStatus& aStatus);
       
    53 
    53 protected:
    54 protected:
    54 	CUsbHostMsSession(CUsbHostMsServer& aServer);
    55 	CUsbHostMsSession(CUsbHostMsServer& aServer);
    55 	void ConstructL();
    56 	void ConstructL();
    56 	void CreateDeviceThreadL(const RMessage2& aMessage);
    57 	void CreateDeviceThreadL(const RMessage2& aMessage);
    57 
    58 
    59 
    60 
    60 private:
    61 private:
    61 	CUsbHostMsServer& iUsbHostMsServer;
    62 	CUsbHostMsServer& iUsbHostMsServer;
    62 	CUsbHostMsDeviceThread* iDeviceThread;
    63 	CUsbHostMsDeviceThread* iDeviceThread;
    63 	RThread	iThread;
    64 	RThread	iThread;
    64 	TUint32 iMsgCount;
    65 
       
    66     TRequestStatus* iClientStatus;
    65 	};
    67 	};
    66 
    68 
    67 #endif //__CUSBMASSSTORAGESESSION_H__
    69 #endif //__CUSBMASSSTORAGESESSION_H__