ProjectHistoryInfo represents the MRU (most recently used) list of projects. More...
#include <deffiles.h>
Public Member Functions | |
void | Clear () |
StatusInt | ToStorage () |
StatusInt | FromStorage () |
WorkSetHistoryList & | GetWorkSetHistory () |
StatusInt | AddWorkSet (DgnWorkSetCR workSet) |
StatusInt | RemoveWorkSet (DgnWorkSetCR workSet) |
ProjectHistoryInfo represents the MRU (most recently used) list of projects.
See snippet below to fetch the current history: ProjectHistoryInfo historyInfo; historyInfo.FromStorage(); size_t count = historyInfo.GetProjectHistory().Count(); for (size_t index = 0; index < count; index++) { DgnDocumentMonikerPtr mon = historyInfo.GetProjectHistory().GetMoniker(index); printf (" %ls\n", mon->GetSavedFileName().c_str ()); }
StatusInt AddWorkSet | ( | DgnWorkSetCR | workSet | ) |
void Clear | ( | ) |
StatusInt FromStorage | ( | ) |
WorkSetHistoryList& GetWorkSetHistory | ( | ) |
StatusInt RemoveWorkSet | ( | DgnWorkSetCR | workSet | ) |
StatusInt ToStorage | ( | ) |