LayOut C API
Main Page
Related Pages
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
LayOutAPI
application
application.h
Go to the documentation of this file.
1
// Copyright 2014-2022 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
57
LO_RESULT
LOApplicationGetVersion
(
LOApplicationRef
app,
SUStringRef
* version);
58
69
LO_RESULT
LOApplicationGetVersionNumber
(
LOApplicationRef
app,
unsigned
int
* version);
70
81
LO_RESULT
LOApplicationGetOnline
(
LOApplicationRef
app,
bool
* is_online);
82
96
LO_RESULT
LOApplicationOpenDocument
(
97
LOApplicationRef
app,
const
char
* file_path,
LODocumentRef
* document);
98
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_
Generated on Wed Feb 1 2023 16:37:56 for LayOut C API by
1.8.3.1