Plasma Engine  2.0
Loading...
Searching...
No Matches
plDocumentRegistry Class Reference

Tracks existing and active plDocument. More...

#include <DocumentRegistry.h>

Static Public Member Functions

static bool RegisterDocument (const plDocument *pDocument)
 
static bool UnregisterDocument (const plDocument *pDocument)
 
static plArrayPtr< const plDocument * > GetDocuments ()
 
static void SetActiveDocument (const plDocument *pDocument)
 
static const plDocumentGetActiveDocument ()
 

Static Public Attributes

static plEvent< plActiveDocumentChange & > m_ActiveDocumentChanged
 

Detailed Description

Tracks existing and active plDocument.

While the IDocumentManager manages documents of a certain context, this class simply keeps track of the overall number of documents and the currently active one.


The documentation for this class was generated from the following file: