forked from mcneel/opennurbs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathopennurbs_pluginlist.h
63 lines (52 loc) · 1.74 KB
/
opennurbs_pluginlist.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
//
// Copyright (c) 1993-2022 Robert McNeel & Associates. All rights reserved.
// OpenNURBS, Rhinoceros, and Rhino3D are registered trademarks of Robert
// McNeel & Associates.
//
// THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT EXPRESS OR IMPLIED WARRANTY.
// ALL IMPLIED WARRANTIES OF FITNESS FOR ANY PARTICULAR PURPOSE AND OF
// MERCHANTABILITY ARE HEREBY DISCLAIMED.
//
// For complete openNURBS copyright information see <http://www.opennurbs.org>.
//
////////////////////////////////////////////////////////////////
#if !defined(OPENNURBS_PLUGINLIST_INC_)
#define OPENNURBS_PLUGINLIST_INC_
/*
Description:
The ON_PluginRef class is used to store a list of
application plug-ins that may have saved user data
in a 3dm file so they can be loaded as needed for
reading their user data.
*/
class ON_CLASS ON_PlugInRef
{
public:
ON_PlugInRef();
// executable information
ON_UUID m_plugin_id;
int m_plugin_type; // CRhinoPlugIn::plugin_type enum value
int m_plugin_platform; // 0 = unknown, 1 = C++, 2 = .NET
int m_plugin_sdk_version;
int m_plugin_sdk_service_release;
ON_wString m_plugin_name;
ON_wString m_plugin_version;
ON_wString m_plugin_filename; // name of executable file
// developer contact information
ON_wString m_developer_organization;
ON_wString m_developer_address;
ON_wString m_developer_country;
ON_wString m_developer_phone;
ON_wString m_developer_email;
ON_wString m_developer_website;
ON_wString m_developer_updateurl;
ON_wString m_developer_fax;
void Default();
bool Write( ON_BinaryArchive& file ) const;
bool Read( ON_BinaryArchive& file );
void Dump(ON_TextLog& text_log) const;
};
#if defined(ON_DLL_TEMPLATE)
ON_DLL_TEMPLATE template class ON_CLASS ON_ClassArray<ON_PlugInRef>;
#endif
#endif