Changeset 8345 for trunk/qt/session.h


Ignore:
Timestamp:
May 6, 2009, 1:46:10 PM (13 years ago)
Author:
charles
Message:

(trunk qt) hide the network icon when the transmission session is being run inside the client. patch by stdisease

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/qt/session.h

    r8327 r8345  
    6363
    6464    public:
    65         bool isRemote( ) const { return !isLocal( ); }
     65
     66        /** returns true if the transmission session is being run inside this client */
     67        bool isServer( ) const;
     68
     69        /** returns true if isServer() is true or if the remote address is the localhost */
    6670        bool isLocal( ) const;
    67         bool isServer( ) const;
    6871
    6972    private:
Note: See TracChangeset for help on using the changeset viewer.