#include <render_settings_impl.h>
Public Member Functions | |
PluginRenderSettingsImpl (void) | |
PluginRenderSettingsImpl (const PluginRenderSettingsImpl &ref) | |
~PluginRenderSettingsImpl (void) | |
Static Public Member Functions | |
static PluginRenderSettingsImpl * | query_instance (IPluginUnknown *thiz) |
Data Fields | |
Signal < PluginRenderSettingsImpl * > | release_signal |
Definition at line 40 of file plaintext/plugin_impl/render_settings_impl.h.
text::PluginRenderSettingsImpl::PluginRenderSettingsImpl | ( | void | ) |
Definition at line 34 of file plaintext/plugin_impl/render_settings_impl.cpp.
References utils::ObjectTable< T >::add_interface(), IPluginClone::create_clone_object, _IPluginUnknown::query_interface, and _IPluginUnknown::release.
00035 { 00036 // IPluginUnknown 00037 query_interface = query_interface_impl; 00038 release = release_impl; 00039 00040 // IPluginClone 00041 create_clone_object = create_clone_object_impl; 00042 00043 // IPluginRenderSettings, no method yet. 00044 00045 // IPluginZoom 00046 // set_zoom_factor = set_zoom_factor_impl; 00047 // get_zoom_factor = get_zoom_factor_impl; 00048 00049 // IPluginRotation 00050 // set_rotation = set_rotation_impl; 00051 // get_rotation = get_rotation_impl; 00052 00053 g_instances_table.add_interface<IPluginUnknown>(this); 00054 g_instances_table.add_interface<IPluginClone>(this); 00055 g_instances_table.add_interface<IPluginRenderSettings>(this); 00056 00057 // There is not zoom and rotation interface for plain text plugin. 00058 // g_instances_table.add_interface<IPluginZoom>(this); 00059 // g_instances_table.add_interface<IPluginRotation>(this); 00060 }
text::PluginRenderSettingsImpl::PluginRenderSettingsImpl | ( | const PluginRenderSettingsImpl & | ref | ) |
Definition at line 62 of file plaintext/plugin_impl/render_settings_impl.cpp.
References utils::ObjectTable< T >::add_interface(), IPluginClone::create_clone_object, _IPluginUnknown::query_interface, and _IPluginUnknown::release.
00063 { 00064 // IPluginUnknown 00065 query_interface = query_interface_impl; 00066 release = release_impl; 00067 00068 // IPluginClone 00069 create_clone_object = create_clone_object_impl; 00070 00071 // IPluginRenderSettings, no method yet. 00072 00073 // IPluginZoom. No such interface. 00074 // IPluginRotation. No such interface. 00075 00076 00077 g_instances_table.add_interface<IPluginUnknown>(this); 00078 g_instances_table.add_interface<IPluginClone>(this); 00079 g_instances_table.add_interface<IPluginRenderSettings>(this); 00080 }
text::PluginRenderSettingsImpl::~PluginRenderSettingsImpl | ( | void | ) |
Definition at line 82 of file plaintext/plugin_impl/render_settings_impl.cpp.
References utils::ObjectTable< T >::remove().
00083 { 00084 g_instances_table.remove(this); 00085 }
PluginRenderSettingsImpl * text::PluginRenderSettingsImpl::query_instance | ( | IPluginUnknown * | thiz | ) | [static] |
Definition at line 88 of file plaintext/plugin_impl/render_settings_impl.cpp.
References utils::ObjectTable< T >::get_object().
00089 { 00090 return g_instances_table.get_object(thiz); 00091 }
Definition at line 54 of file plaintext/plugin_impl/render_settings_impl.h.