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