Public Types | Public Member Functions | Protected Member Functions

RecentStartMenu Struct Reference

"Recent Files" sub-start menu More...

#include <startmenu.h>

Inheritance diagram for RecentStartMenu:
Inheritance graph
Collaboration diagram for RecentStartMenu:
Collaboration graph

List of all members.

Public Types

typedef StartMenu super

Public Member Functions

 RecentStartMenu (HWND hwnd, const StartMenuCreateInfo &create_info)

Protected Member Functions

virtual void AddEntries ()

Detailed Description

"Recent Files" sub-start menu

Definition at line 440 of file startmenu.h.

Member Typedef Documentation

Reimplemented from StartMenu.

Definition at line 442 of file startmenu.h.

Constructor & Destructor Documentation

RecentStartMenu::RecentStartMenu ( HWND  hwnd,
const StartMenuCreateInfo create_info 
) [inline]

Definition at line 444 of file startmenu.h.

     :  super(hwnd, create_info)

Member Function Documentation

void RecentStartMenu::AddEntries (  ) [protected, virtual]

read max. count of entries from registry

Reimplemented from StartMenu.

Definition at line 2219 of file startmenu.cpp.

References StartMenuDirectory::_dir, StartMenu::_dirs, StartMenuDirectory::_ignore, Entry::_scanned, StartMenu::AddShellEntries(), RECENT_DOCS_COUNT, SCAN_DONT_EXTRACT_ICONS, Entry::smart_scan(), SORT_DATE, Entry::sort_directory(), and SORT_NAME.

    for(StartMenuShellDirs::iterator it=_dirs.begin(); it!=_dirs.end(); ++it) {
        StartMenuDirectory& smd = *it;
        ShellDirectory& dir = smd._dir;

        if (!dir._scanned) {
            WaitCursor wait;

            dir.smart_scan(SORT_NAME, SCAN_DONT_EXTRACT_ICONS);

        AddShellEntries(dir, RECENT_DOCS_COUNT, smd._ignore);   ///@todo read max. count of entries from registry

Here is the call graph for this function:

The documentation for this struct was generated from the following files:

ROS Explorer Source Code Documentation
generated on 02.01.2013 by doxygen

ROS Explorer Homepage