#include <ngsetop.h>
Inheritance diagram for OpExportSets:
Private Member Functions | |
CC_DECLARE_DYNCREATE (OpExportSets) | |
virtual void | Do (OpDescriptor *) |
Performs the OPTOKEN_EXPORT_SETS operation. | |
Static Private Member Functions | |
static OpState | GetState (String_256 *, OpDescriptor *) |
Returns the UI state of this operation. | |
Classes | |
class | ExportHighlightedIter |
Iterates over highlighted set items, re-exporting any that are export targets. More... |
Definition at line 343 of file ngsetop.h.
|
|
|
Performs the OPTOKEN_EXPORT_SETS operation.
Reimplemented from Operation. Definition at line 752 of file ngsetop.cpp. 00753 { 00754 // Iterate over all highlighted set items in the gallery, re-exporting the 00755 // export targets. 00756 if (ExportHighlightedIter(this).ForEach() != 0) InformError(); 00757 End(); 00758 }
|
|
Returns the UI state of this operation.
Definition at line 734 of file ngsetop.cpp. 00735 { 00736 INT32 nTotal, nNames; 00737 NameGallery::Instance()->GetHighlightCount(&nTotal, &nNames); 00738 return OpState(FALSE, nNames < 1); 00739 }
|