Loading...
Searching...
No Matches
opennurbs_pluginlist.h
/* $NoKeywords: $ */
/*
//
// Copyright (c) 1993-2012 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 informtion
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)
// This stuff is here because of a limitation in the way Microsoft
// handles templates and DLLs. See Microsoft's knowledge base
// article ID Q168958 for details.
#pragma warning( push )
#pragma warning( disable : 4231 )
ON_DLL_TEMPLATE template class ON_CLASS ON_ClassArray<ON_PlugInRef>;
#pragma warning( pop )
#endif
#endif
ON_BinaryArchive
Definition opennurbs_archive.h:732
ON_ClassArray
Definition opennurbs_array.h:822
ON_PlugInRef::ON_PlugInRef
ON_PlugInRef()
ON_PlugInRef::Read
bool Read(ON_BinaryArchive &file)
ON_PlugInRef::Dump
void Dump(ON_TextLog &text_log) const
ON_PlugInRef::m_developer_fax
ON_wString m_developer_fax
Definition opennurbs_pluginlist.h:50
ON_PlugInRef::m_plugin_name
ON_wString m_plugin_name
Definition opennurbs_pluginlist.h:38
ON_PlugInRef::m_developer_country
ON_wString m_developer_country
Definition opennurbs_pluginlist.h:45
ON_PlugInRef::m_developer_phone
ON_wString m_developer_phone
Definition opennurbs_pluginlist.h:46
ON_PlugInRef::Write
bool Write(ON_BinaryArchive &file) const
ON_PlugInRef::m_developer_updateurl
ON_wString m_developer_updateurl
Definition opennurbs_pluginlist.h:49
ON_PlugInRef::Default
void Default()
ON_PlugInRef::m_developer_address
ON_wString m_developer_address
Definition opennurbs_pluginlist.h:44
ON_PlugInRef::m_developer_organization
ON_wString m_developer_organization
Definition opennurbs_pluginlist.h:43
ON_PlugInRef::m_developer_website
ON_wString m_developer_website
Definition opennurbs_pluginlist.h:48
ON_PlugInRef::m_plugin_sdk_version
int m_plugin_sdk_version
Definition opennurbs_pluginlist.h:36
ON_PlugInRef::m_plugin_sdk_service_release
int m_plugin_sdk_service_release
Definition opennurbs_pluginlist.h:37
ON_PlugInRef::m_plugin_type
int m_plugin_type
Definition opennurbs_pluginlist.h:34
ON_PlugInRef::m_plugin_id
ON_UUID m_plugin_id
Definition opennurbs_pluginlist.h:33
ON_PlugInRef::m_developer_email
ON_wString m_developer_email
Definition opennurbs_pluginlist.h:47
ON_PlugInRef::m_plugin_version
ON_wString m_plugin_version
Definition opennurbs_pluginlist.h:39
ON_PlugInRef::m_plugin_platform
int m_plugin_platform
Definition opennurbs_pluginlist.h:35
ON_PlugInRef::m_plugin_filename
ON_wString m_plugin_filename
Definition opennurbs_pluginlist.h:40
ON_TextLog
Definition opennurbs_textlog.h:23
ON_UUID
Definition opennurbs_uuid.h:32
ON_wString
Definition opennurbs_string.h:701