#include <c4d_baselist.h>
Message struct for the MSG_DOCUMENTINFO message.
Public Member Functions | |
| DocumentInfoData () | |
Public Attributes | |
| Int32 | type |
| Int32 | fileformat |
| BaseDocument * | doc |
| Filename | filename |
| BaseList2D * | bl |
| Bool | gui_allowed |
| void * | data |
| DocumentInfoData | ( | ) |
Default constructor.
| Int32 type |
The message type: MSG_DOCUMENTINFO_TYPE.
| Int32 fileformat |
The file format: (Set for load, merge and before/after save only. Otherwise NOTOK.) FORMAT_FILES.
| BaseDocument* doc |
The current document. Cinema 4D owns the pointed document.
| Filename filename |
The document filename. Note This is not always the same as the filename returned by BaseDocument::GetDocumentPath().
e.g. for MSG_DOCUMENTINFO_TYPE_SAVE_BEFORE BaseDocument::GetDocumentPath() still contains the old path whereas filename designates the real file.
| BaseList2D* bl |
The object/tag/material that got inserted. It is used if type is of one of the following values:
| Bool gui_allowed |
It is set to true if a GUI (dialog) is allowed.
| void* data |
A pointer to message data structure. Depends on type.