~ubuntu-branches/ubuntu/saucy/filezilla/saucy-proposed

« back to all changes in this revision

Viewing changes to src/engine/directorycache.h

  • Committer: Package Import Robot
  • Author(s): Adrien Cunin
  • Date: 2012-12-07 17:17:17 UTC
  • mfrom: (1.1.31)
  • Revision ID: package-import@ubuntu.com-20121207171717-nt6as62u4pa1uv11
Tags: 3.6.0.2-1ubuntu1
* Merge from Debian experimental. Remaining Ubuntu change:
   - Added debian/patches/11_use-decimal-si-by-default.patch in order to
     comply with UnitsPolicy

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
        void InvalidateServer(const CServer& server);
41
41
        void RemoveDir(const CServer& server, const CServerPath& path, const wxString& filename, const CServerPath& target);
42
42
        void Rename(const CServer& server, const CServerPath& pathFrom, const wxString& fileFrom, const CServerPath& pathTo, const wxString& fileTo);
43
 
        
 
43
 
44
44
protected:
45
45
 
46
46
        class CCacheEntry
68
68
 
69
69
        tServerIter CreateServerEntry(const CServer& server);
70
70
        tServerIter GetServerEntry(const CServer& server);
71
 
        
 
71
 
72
72
        typedef std::list<CCacheEntry>::iterator tCacheIter;
73
73
        typedef std::list<CCacheEntry>::const_iterator tCacheConstIter;
74
74
 
81
81
        void UpdateLru(tServerIter const& sit, tCacheIter const& cit);
82
82
 
83
83
        void Prune();
84
 
        
 
84
 
85
85
        typedef std::pair<tServerIter, tCacheIter> tFullEntryPosition;
86
86
        typedef std::list<tFullEntryPosition> tLruList;
87
87
        static tLruList m_leastRecentlyUsedList;
90
90
};
91
91
 
92
92
#endif
93