forked from Kitware/ParaView
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pqPluginLocationImplementation.cxx.in
37 lines (30 loc) · 1.25 KB
/
pqPluginLocationImplementation.cxx.in
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
// SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
// SPDX-FileCopyrightText: Copyright (c) Sandia Corporation
// SPDX-License-Identifier: BSD-3-Clause
// Generated file. Do not edit.
#include "@_paraview_location_CLASS_NAME@.h"
#include "@_paraview_location_CLASS_NAME@Implementation.h"
#include <vtkPVPlugin.h>
//-----------------------------------------------------------------------------
@_paraview_location_CLASS_NAME@Implementation::@_paraview_location_CLASS_NAME@Implementation(QObject* p)
: QObject(p)
{
this->UserImplementation = new @_paraview_location_CLASS_NAME@();
setObjectName("@_paraview_location_CLASS_NAME@");
vtkPVPlugin* plugin = dynamic_cast<vtkPVPlugin*>(p);
if (plugin != nullptr)
{
this->StoreLocation(plugin->GetFileName());
}
}
//-----------------------------------------------------------------------------
@_paraview_location_CLASS_NAME@Implementation::~@_paraview_location_CLASS_NAME@Implementation()
{
delete this->UserImplementation;
this->UserImplementation = nullptr;
}
//-----------------------------------------------------------------------------
void @_paraview_location_CLASS_NAME@Implementation::StoreLocation(const char* location)
{
this->UserImplementation->@_paraview_location_STORE@(location);
}