Go to Google Code Home
Google SketchUp SkpReader C++ API Documentation (Labs)

Public Member Functions | Properties

ISketchUpPlugin Interface Reference

Inheritance diagram for ISketchUpPlugin:
ISketchUpExporterPlugin

List of all members.

Public Member Functions

HRESULT PerformAction ([in]IUnknown *activeDocument)
 Directs the plugin to perform its action.

Properties

BOOL IsAvailable [get]
 [propget] Is the plugin prepared to export the given model.

Member Function Documentation

HRESULT ISketchUpPlugin::PerformAction ( [in] IUnknown *  activeDocument  ) 

Directs the plugin to perform its action.

Parameters:
activeDocument The ISkpDocument to be written.
Returns:
S_OK : on success
S_FALSE : if the export was canceled, or failed in some acceptable manner
E_POINTER : if any of the required arguments are NULL
E_FAIL : internal errors

Property Documentation

BOOL ISketchUpPlugin::IsAvailable [get]

[propget] Is the plugin prepared to export the given model.

Return values:
pIsAvailable Set to TRUE iff this plugin can export the model in its current state.
Returns:
S_OK : on success
S_FALSE : if the export was canceled, or failed in some acceptable manner
E_POINTER : if any of the required arguments are NULL
E_FAIL : internal errors

©2010 Google - Google Home - About Google