Point Cloud Library (PCL)  1.14.1-dev
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:
31 
32  // executable informtion
34  int m_plugin_type; // CRhinoPlugIn::plugin_type enum value
35  int m_plugin_platform; // 0 = unknown, 1 = C++, 2 = .NET
40  ON_wString m_plugin_filename; // name of executable file
41 
42  // developer contact information
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 
63 // This stuff is here because of a limitation in the way Microsoft
64 // handles templates and DLLs. See Microsoft's knowledge base
65 // article ID Q168958 for details.
66 #pragma warning( push )
67 #pragma warning( disable : 4231 )
68 ON_DLL_TEMPLATE template class ON_CLASS ON_ClassArray<ON_PlugInRef>;
69 #pragma warning( pop )
70 #endif
71 
72 #endif
73 
bool Read(ON_BinaryArchive &file)
void Dump(ON_TextLog &text_log) const
ON_wString m_developer_fax
ON_wString m_plugin_name
ON_wString m_developer_country
ON_wString m_developer_phone
bool Write(ON_BinaryArchive &file) const
ON_wString m_developer_updateurl
void Default()
ON_wString m_developer_address
ON_wString m_developer_organization
ON_wString m_developer_website
ON_wString m_developer_email
ON_wString m_plugin_version
ON_wString m_plugin_filename