3#include <Foundation/Communication/Event.h>
4#include <Foundation/Configuration/Singleton.h>
5#include <Foundation/Types/Status.h>
6#include <Foundation/Types/Uuid.h>
7#include <ToolsFoundation/ToolsFoundationDLL.h>
40 GetPathForDocumentGuid,
62 static bool IsProjectOpen() {
return GetSingleton() !=
nullptr; }
63 static bool IsProjectClosing() {
return (GetSingleton() !=
nullptr && GetSingleton()->m_bIsClosing); }
64 static void CloseProject();
65 static void SaveProjectState();
67 static bool CanCloseProject();
72 static plInt32 SuggestContainerWindow(
plDocument* pDoc);
79 static void BroadcastSaveAll();
83 static void BroadcastConfigChanged();
91 const plString GetProjectName(
bool bSanitize)
const;
94 plString GetProjectDirectory()
const;
97 plString GetProjectDataFolder()
const;
102 bool IsDocumentInAllowedRoot(
plStringView sDocumentPath,
plString* out_pRelativePath =
nullptr)
const;
This class encapsulates an array and it's size. It is recommended to use this class instead of plain ...
Definition ArrayPtr.h:37
Definition DynamicArray.h:81
A hybrid array uses in-place storage to handle the first few elements without any allocation....
Definition HybridArray.h:12
plStringBuilder is a class that is meant for creating and modifying strings.
Definition StringBuilder.h:35
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
An plResult with an additional message for the reason of failure.
Definition Status.h:12