/usr/lib/cmake/paraview/pqParaViewPlugin.h.in is in paraview-dev 5.0.1+dfsg1-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 | /*=========================================================================
Program: ParaView
Module: pqParaViewPlugin.h.in
Copyright (c) 2005,2006 Sandia Corporation, Kitware Inc.
All rights reserved.
ParaView is a free software; you can redistribute it and/or modify it
under the terms of the ParaView license version 1.2.
See License_v1.2.txt for the full ParaView license.
A copy of this license can be obtained by contacting
Kitware Inc.
28 Corporate Drive
Clifton Park, NY 12065
USA
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
========================================================================*/
/// This is an auto-generated file. Please do not edit.
/// This file is used to wrap a ParaView plugin.
#cmakedefine plugin_type_python
#cmakedefine plugin_type_servermanager
#cmakedefine plugin_type_gui
/// this is set when the plugin has source headers that are wrapped.
#cmakedefine INITIALIZE_WRAPPING
#cmakedefine INITIALIZE_EXTRA_CS_MODULES
#include "vtkPVPlugin.h"
#ifdef plugin_type_gui
# include "vtkPVGUIPluginInterface.h"
# include <QObject>
# include <QtPlugin>
#endif
#ifdef plugin_type_servermanager
# include "vtkPVServerManagerPluginInterface.h"
#endif
#ifdef plugin_type_python
# include "vtkPVPythonPluginInterface.h"
#endif
class @PLUGIN_NAME@_Plugin :
#ifdef plugin_type_gui
public QObject,
public vtkPVGUIPluginInterface,
#endif
public vtkPVPlugin
#ifdef plugin_type_servermanager
, public vtkPVServerManagerPluginInterface
#endif
#ifdef plugin_type_python
, public vtkPVPythonPluginInterface
#endif
{
#ifdef plugin_type_gui
Q_OBJECT
#endif
public:
@PLUGIN_NAME@_Plugin();
// Description:
// Returns the name for this plugin.
virtual const char* GetPluginName()
{return "@PLUGIN_NAME@"; }
// Description:
// Returns the version for this plugin.
virtual const char* GetPluginVersionString()
{ return "@PLUGIN_VERSION@"; }
// Description:
// Returns true if this plugin is required on the server.
virtual bool GetRequiredOnServer()
{ return @PLUGIN_REQUIRED_ON_SERVER@; }
// Description:
// Returns true if this plugin is required on the client.
virtual bool GetRequiredOnClient()
{ return @PLUGIN_REQUIRED_ON_CLIENT@; }
// Description:
// Returns a ';' separated list of plugin names required by this plugin.
virtual const char* GetRequiredPlugins()
{
return "@PLUGIN_REQUIRED_PLUGINS@";
}
// Description:
// Provides access to binary resources compiled into the plugin.
// This is primarily used to compile in icons and compressed help project
// (qch) files into plugins.
virtual void GetBinaryResources(std::vector<std::string>& resources);
#ifdef plugin_type_servermanager
// Description:
// Obtain the server-manager configuration xmls, if any.
virtual void GetXMLs(std::vector<std::string> &xmls);
// Description:
// Returns the callback function to call to initialize the interpretor for the
// new vtk/server-manager classes added by this plugin. Returning NULL is
// perfectly valid.
virtual vtkClientServerInterpreterInitializer::InterpreterInitializationCallback
GetInitializeInterpreterCallback();
#endif
#ifdef plugin_type_gui
/// Returns the list of ParaView-Interfaces provided by this plugin.
virtual QObjectList interfaces();
#endif
#ifdef plugin_type_python
virtual void GetPythonSourceList(std::vector<std::string>& modules,
std::vector<std::string>& sources,
std::vector<int> &package_flags);
#endif
};
|