Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
384 B

  1. #ifndef __MRU_H
  2. #define __MRU_H
  3. class PpMRU
  4. {
  5. public:
  6. PpMRU(int nSize);
  7. ~PpMRU();
  8. LPCTSTR operator [] (int nIndex);
  9. BOOL init();
  10. BOOL insert(LPCTSTR sz);
  11. BOOL save(LPCTSTR szSection, LPCTSTR szFilename);
  12. BOOL load(LPCTSTR szSection, LPCTSTR szFilename);
  13. private:
  14. int m_nSize;
  15. LPTSTR* m_ppszList;
  16. };
  17. #endif // __MRU_H