LayOut C API

- Main Page
- Related Pages
- Data Structures
- Files

- File List
- Globals

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
application.h
Go to the documentation of this file.
1 // Copyright 2014-2025 Trimble Inc. All Rights Reserved.
2
3 #ifndef LAYOUT_APPLICATION_APPLICATION_H_
4 #define LAYOUT_APPLICATION_APPLICATION_H_
5
6 #include <LayOutAPI/common.h>
7 #include <LayOutAPI/model/defs.h>
8
9
16 DEFINE_SU_TYPE(LOApplicationRef)
17
18 #pragma pack(push, 8)
19 #ifdef __cplusplus
20 extern "C" {
21 #endif // __cplusplus
22
23
33 LO_RESULT LOApplicationGetApplication(LOApplicationRef* app);
34
45 LO_RESULT LOApplicationGetActiveDocument(LOApplicationRef app, LODocumentRef* document);
46
47
58 LO_RESULT LOApplicationGetVersion(LOApplicationRef app, SUStringRef* version);
59
70 LO_RESULT LOApplicationGetVersionNumber(LOApplicationRef app, unsigned int* version);
71
82 LO_RESULT LOApplicationGetOnline(LOApplicationRef app, bool* is_online);
83
97 LO_RESULT LOApplicationOpenDocument(
98 LOApplicationRef app, const char* file_path, LODocumentRef* document);
99
108 LO_RESULT LOApplicationQuit(LOApplicationRef app);
109
110
111
112 #ifdef __cplusplus
113 } // extern "C" {
114 #endif
115 #pragma pack(pop)
116
117 #endif // LAYOUT_APPLICATION_APPLICATION_H_