Changeset 8232 for trunk/qt/session.h


Ignore:
Timestamp:
Apr 13, 2009, 6:21:22 PM (13 years ago)
Author:
charles
Message:

(trunk qt) clean up #includes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/qt/session.h

    r8221 r8232  
    2323
    2424#include <libtransmission/transmission.h>
    25 #include <libtransmission/json.h>
    2625
    2726#include "speed.h"
     27
     28extern "C"
     29{
     30    struct tr_benc;
     31}
    2832
    2933class Prefs;
     
    5761
    5862    private:
    59         void updateStats( tr_benc * args );
    60         void updateInfo( tr_benc * args );
     63        void updateStats( struct tr_benc * args );
     64        void updateInfo( struct tr_benc * args );
    6165        void parseResponse( const char * json, size_t len );
    6266        static void localSessionCallback( tr_session *, const char *, size_t, void * );
     
    6468    public:
    6569        void exec( const char * request );
    66         void exec( const tr_benc * request );
     70        void exec( const struct tr_benc * request );
    6771
    6872    private:
     
    7074        void pumpRequests( );
    7175        void sendTorrentRequest( const char * request, const QSet<int>& torrentIds );
    72         static void updateStats( tr_benc * d, struct tr_session_stats * stats );
     76        static void updateStats( struct tr_benc * d, struct tr_session_stats * stats );
    7377        void refreshTorrents( const QSet<int>& torrentIds );
    7478
     
    106110        void sessionUpdated( );
    107111        void blocklistUpdated( int );
    108         void torrentsUpdated( tr_benc * torrentList, bool completeList );
    109         void torrentsRemoved( tr_benc * torrentList );
     112        void torrentsUpdated( struct tr_benc * torrentList, bool completeList );
     113        void torrentsRemoved( struct tr_benc * torrentList );
    110114        void dataReadProgress( );
    111115        void dataSendProgress( );
Note: See TracChangeset for help on using the changeset viewer.