localconnectivityservice/dun/utils/inc/DunDataPusher.h
branchRCL_3
changeset 38 3dcb815346df
parent 15 c47ebe2ac36c
equal deleted inserted replaced
37:7e0ecb5b116a 38:3dcb815346df
    36 public:
    36 public:
    37 
    37 
    38     /**
    38     /**
    39      * Data to push to the stream (not copied)
    39      * Data to push to the stream (not copied)
    40      */
    40      */
    41     const TDesC8 *iPushedData;
    41     const TDesC8* iDataToPush;
    42 
    42 
    43     /**
    43     /**
    44      * Callback to call when data is processed by the stream
    44      * Callback to call when data is processed by the stream
    45      * If this is NULL then no callback will be made
    45      * If this is NULL then no callback will be made
    46      */
    46      */
   125 
   125 
   126     /**
   126     /**
   127      * Adds event notification to queue
   127      * Adds event notification to queue
   128      *
   128      *
   129      * @since S60 3.2
   129      * @since S60 3.2
   130      * @param aPushedData Data to push to the stream (not copied)
   130      * @param aDataToPush Data to push to the stream (not copied)
   131      * @param aCallback Callback to call when data is processed by the stream
   131      * @param aCallback Callback to call when data is processed by the stream
   132      * @return Symbian error code on error, KErrNone otherwise
   132      * @return Symbian error code on error, KErrNone otherwise
   133      */
   133      */
   134     TInt AddToEventQueue( const TDesC8 *aPushedData,
   134     TInt AddToEventQueue( const TDesC8* aDataToPush,
   135                           MDunCompletionReporter* aCallback );
   135                           MDunCompletionReporter* aCallback );
   136 
   136 
   137     /**
   137     /**
   138      * Finds an event from queue
   138      * Finds an event from queue
   139      *
   139      *
   140      * @since S60 5.0
   140      * @since S60 5.0
   141      * @param aPushedData Data to push to the stream (not copied)
   141      * @param aDataToPush Data to push to the stream (not copied)
   142      * @return Index of found event, Symbian error code otherwise
   142      * @return Index of found event, Symbian error code otherwise
   143      */
   143      */
   144     TInt FindEventFromQueue( const TDesC8 *aPushedData );
   144     TInt FindEventFromQueue( const TDesC8* aDataToPush );
   145 
   145 
   146     /**
   146     /**
   147      * Stops one event in the event queue
   147      * Stops one event in the event queue
   148      *
   148      *
   149      * @since S60 5.0
   149      * @since S60 5.0
   150      * @param aPushedData Data to push to the stream (not copied)
   150      * @param aDataToPush Data to push to the stream (not copied)
   151      * @return Symbian error code on error, KErrNone otherwise
   151      * @return Symbian error code on error, KErrNone otherwise
   152      */
   152      */
   153     TInt StopOneEvent( const TDesC8 *aPushedData );
   153     TInt StopOneEvent( const TDesC8* aDataToPush );
   154 
   154 
   155     /**
   155     /**
   156      * Sends queued data in round robin
   156      * Sends queued data in round robin
   157      *
   157      *
   158      * @since S60 3.2
   158      * @since S60 3.2