imodelmessage.h
Go to the documentation of this file.
1 /*--------------------------------------------------------------------------------------+
2 |
3 | Supplied under applicable software license agreement.
4 |
5 | Copyright (c) 2018 Bentley Systems, Incorporated. All rights reserved.
6 |
7 +---------------------------------------------------------------------------------------*/
8 #pragma once
9 #include <Bentley\WString.h>
10 
11 #ifndef MAX_MESSAGE_LENGTH
12  #define MAX_MESSAGE_LENGTH 255
13 #endif
14 
15 
16 #ifdef _EXPORT_IMODELCONNECTION_API_
17 #define IMODELIPC_API __declspec(dllexport)
18 #else
19 #define IMODELIPC_API __declspec(dllimport)
20 #endif
21 
22 #ifndef BEGIN_BENTLEY_IPC_NAMESPACE
23 #define BEGIN_BENTLEY_IPC_NAMESPACE namespace Bentley { namespace IPC {
24 #endif
25 
26 #ifndef END_BENTLEY_IPC_NAMESPACE
27 #define END_BENTLEY_IPC_NAMESPACE }}
28 #endif
29 
30 #ifndef USING_NAMESPACE_BENTLEY_IPC
31 #define USING_NAMESPACE_BENTLEY_IPC using namespace Bentley::IPC;
32 #endif
33 
struct Bentley::WString & WStringR
Definition: Bentley.h:239
StatusInt SendImodelMessage(WStringR messageString)
Send message to IModel host application.
#define END_BENTLEY_IPC_NAMESPACE
Definition: imodelmessage.h:27
#define IMODELIPC_API
Definition: imodelmessage.h:19
int StatusInt
Definition: Bentley.h:222
#define BEGIN_BENTLEY_IPC_NAMESPACE
Definition: imodelmessage.h:23

Copyright © 2017 Bentley Systems, Incorporated. All rights reserved.