home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 3 / AACD03.BIN / AACD / Programming / RecentLib / include / C / clib / recent_protos.h
Encoding:
C/C++ Source or Header  |  1999-09-26  |  797 b   |  28 lines

  1. // Protos for recent.library
  2. // (c)1999 by Rüdiger Hanke
  3. #ifndef _INCLUDE_CLIB_RECENT_PROTOS_H
  4. #define _INCLUDE_CLIB_RECENT_PROTOS_H
  5.  
  6. #include <exec/types.h>
  7. #include <intuition/intuition.h>
  8.  
  9. #ifdef __cplusplus
  10. extern "C" {
  11. #endif
  12.  
  13. ULONG AllocRecentHandle( STRPTR appname, APTR *handle );
  14. void FreeRecentHandle( APTR *handle );
  15. BOOL AddRecentFile( APTR handle, ULONG group, STRPTR filename );
  16. BOOL AddRecentGroup( APTR handle, ULONG group, UBYTE maxEntries );
  17. LONG GetRecentInfo( APTR handle, ULONG group, struct RecentInfo *recentInfoArray, UBYTE arraySize );
  18. void SaveRecentList( APTR handle );
  19. BOOL SetRecentSize( APTR handle, ULONG group, UBYTE newSize );
  20. struct MenuItem *GetRecentMenu( APTR handle, ULONG group );
  21. void CloseRecentHandle( APTR *handle );
  22.  
  23. #ifdef __cplusplus
  24. }
  25. #endif
  26.  
  27. #endif
  28.