3#include <Foundation/Types/Status.h>
4#include <ToolsFoundation/Document/Document.h>
5#include <ToolsFoundation/ToolsFoundationDLL.h>
54 static bool EnsureDocumentIsClosedInAllManagers(
plStringView sPath);
61 void CloseAllDocumentsOfManager();
62 static void CloseAllDocuments();
71 DocumentWindowRequested,
73 AfterDocumentWindowRequested,
90 DocumentAllowedToOpen,
122 PL_MAKE_SUBSYSTEM_STARTUP_FRIEND(ToolsFoundation, DocumentManager);
126 static void UpdateBeforeUnloadingPlugins(
const plPluginEvent& e);
127 static void UpdatedAfterLoadingPlugins();
Definition AbstractObjectGraph.h:115
Definition DocumentManager.h:8
const plDynamicArray< plDocument * > & GetAllOpenDocuments() const
Returns a list of all currently open documents that are managed by this document manager.
Definition DocumentManager.h:46
Definition DocumentObjectBase.h:11
Definition DynamicArray.h:81
A hybrid array uses in-place storage to handle the first few elements without any allocation....
Definition HybridArray.h:12
All classes that should be dynamically reflectable, need to be derived from this base class.
Definition DynamicRTTI.h:86
plStringView represent a read-only sub-string of a larger string, as it can store a dedicated string ...
Definition StringView.h:34
This data type is the abstraction for 128-bit Uuid (also known as GUID) instances.
Definition Uuid.h:11
plVariant is a class that can store different types of variables, which is useful in situations where...
Definition Variant.h:44
The plBitflags class allows you to work with type-safe bitflags.
Definition Bitflags.h:82
@ RequestWindow
Open the document visibly (not just internally)
Definition Declarations.h:15
@ AddToRecentFilesList
Add the document path to the recently used list for users.
Definition Declarations.h:16
Definition DocumentManager.h:65
Type
Definition DocumentManager.h:67
Definition DocumentManager.h:87
Definition Declarations.h:35
The data that is broadcast whenever a plugin is (un-) loaded.
Definition Plugin.h:11
Default enum for returning failure or success, instead of using a bool.
Definition Types.h:54
An plResult with an additional message for the reason of failure.
Definition Status.h:12