os/kernelhwsrv/kerneltest/f32test/shostmassstorage/msman/src/rusbmspublisher.h
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 // Copyright (c) 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 // Drive publishing classes for USB Mass Storage.
    15 // 
    16 //
    17 
    18 
    19 
    20 /**
    21  @file
    22  @internalTechnology
    23 */
    24 
    25 #ifndef USBMSPUBLISHER_H
    26 #define USBMSPUBLISHER_H
    27 
    28 //----------------------------------------------------------------------------
    29 /**
    30 @internalTechnology
    31 
    32 Publishes the EUsbMs property.
    33 */
    34 
    35 class RUsbOtgEventPublisher
    36 {
    37 public:
    38 	RUsbOtgEventPublisher();
    39 	~RUsbOtgEventPublisher();
    40 
    41 	void PublishEvent(TInt aEvent);
    42 
    43 private:
    44 	/**
    45 	Publish and subscribe property for EUsbMsEvent property
    46 	*/
    47 	RProperty iProperty;
    48 };
    49 
    50 
    51 class RUsbManServerPublisher
    52 {
    53 public:
    54 	void PublishEvent();
    55 
    56 private:
    57 	/**
    58 	Publish and subscribe property for EUsbMsEvent property
    59 	*/
    60 	RProperty iProperty;
    61 };
    62 
    63 
    64 class RUsbManConnectionStatePublisher
    65 {
    66 public:
    67 	void PublishEvent(TBool aActive);
    68 
    69 private:
    70 	/**
    71 	Publish and subscribe property for EUsbMsEvent property
    72 	*/
    73 	RProperty iProperty;
    74 };
    75 
    76 
    77 
    78 #endif // USBMSPUBLISHER_H