plaintext/plugin_impl/render_settings_impl.h

Go to the documentation of this file.
00001 /*
00002  * File Name: render_settings_impl.h
00003  */
00004 
00005 /*
00006  * This file is part of uds-plugin-plaintext.
00007  *
00008  * uds-plugin-plaintext is free software: you can redistribute it and/or modify
00009  * it under the terms of the GNU General Public License as published by
00010  * the Free Software Foundation, either version 2 of the License, or
00011  * (at your option) any later version.
00012  *
00013  * uds-plugin-plaintext is distributed in the hope that it will be useful,
00014  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00015  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
00016  * GNU General Public License for more details.
00017  *
00018  * You should have received a copy of the GNU General Public License
00019  * along with this program. If not, see <http://www.gnu.org/licenses/>.
00020  */
00021 
00022 /**
00023  * Copyright (C) 2008 iRex Technologies B.V.
00024  * All rights reserved.
00025  */
00026 
00027 #ifndef TEXT_PLUGIN_RENDER_SETTINGS_IMPL_H_
00028 #define TEXT_PLUGIN_RENDER_SETTINGS_IMPL_H_
00029 
00030 #include <vector>
00031 #include "plugin_inc.h"
00032 #include "signal_slot.h"
00033 #include "interfaces_utils.h"
00034 
00035 using namespace utils;
00036 
00037 namespace text
00038 {
00039 
00040 class PluginRenderSettingsImpl : public IPluginUnknown
00041                                , public IPluginClone
00042                                , public IPluginRenderSettings
00043                                // , public IPluginZoom
00044                                // , public IPluginRotation
00045 {
00046 public:
00047     PluginRenderSettingsImpl(void);
00048     PluginRenderSettingsImpl(const PluginRenderSettingsImpl &ref);
00049     ~PluginRenderSettingsImpl(void);
00050 
00051     static PluginRenderSettingsImpl * query_instance(IPluginUnknown * thiz);
00052 
00053 public:
00054     Signal<PluginRenderSettingsImpl *> release_signal;
00055 
00056 private:
00057     // IPluginUnknown
00058     static PluginStatus query_interface_impl(
00059         IPluginUnknown    *thiz,
00060         const UDSString   *id, 
00061         void              **ptr);
00062 
00063     static int release_impl(
00064         IPluginUnknown  *thiz);
00065 
00066     // IPluginClone
00067     static IPluginUnknown* create_clone_object_impl(
00068         IPluginUnknown *thiz);
00069 
00070     // IPluginZoom. No such interface.
00071 
00072     // IPluginRotation. No such interface.
00073 
00074 
00075 private:
00076     static utils::ObjectTable<PluginRenderSettingsImpl> g_instances_table;
00077 
00078 
00079 };
00080 
00081 };  // namespace text
00082 
00083 #endif
00084 
Generated by  doxygen 1.6.2-20100208