Qt
Core
pqAutoStartInterface.h
Go to the documentation of this file.
1
#ifndef _pqAutoStartInterface_h
2
#define _pqAutoStartInterface_h
3
/*=========================================================================
4
5
Program: ParaView
6
Module: pqAutoStartInterface.h
7
8
Copyright (c) 2005-2008 Sandia Corporation, Kitware Inc.
9
All rights reserved.
10
11
ParaView is a free software; you can redistribute it and/or modify it
12
under the terms of the ParaView license version 1.2.
13
14
See License_v1.2.txt for the full ParaView license.
15
A copy of this license can be obtained by contacting
16
Kitware Inc.
17
28 Corporate Drive
18
Clifton Park, NY 12065
19
USA
20
21
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
22
``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
23
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
24
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR
25
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
26
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
27
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
28
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
29
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
30
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
31
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32
33
=========================================================================*/
34
/*
35
* Copyright (c) 2007, Sandia Corporation
36
* All rights reserved.
37
*
38
* Redistribution and use in source and binary forms, with or without
39
* modification, are permitted provided that the following conditions are met:
40
* * Redistributions of source code must retain the above copyright
41
* notice, this list of conditions and the following disclaimer.
42
* * Redistributions in binary form must reproduce the above copyright
43
* notice, this list of conditions and the following disclaimer in the
44
* documentation and/or other materials provided with the distribution.
45
* * Neither the name of the Sandia Corporation nor the
46
* names of its contributors may be used to endorse or promote products
47
* derived from this software without specific prior written permission.
48
*
49
* THIS SOFTWARE IS PROVIDED BY Sandia Corporation ``AS IS'' AND ANY
50
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
51
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
52
* DISCLAIMED. IN NO EVENT SHALL Sandia Corporation BE LIABLE FOR ANY
53
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
54
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
55
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
56
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
57
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
58
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
59
*/
60
61
#include "
pqCoreModule.h
"
62
#include <QtPlugin>
63
72
class
PQCORE_EXPORT
pqAutoStartInterface
73
{
74
public
:
75
virtual
~
pqAutoStartInterface
();
76
81
virtual
void
startup() = 0;
82
86
virtual
void
shutdown() = 0;
87
88
protected
:
89
pqAutoStartInterface
();
90
91
private
:
92
Q_DISABLE_COPY(
pqAutoStartInterface
)
93
};
94
95
Q_DECLARE_INTERFACE
(
pqAutoStartInterface
,
"com.kitware/paraview/autostart"
)
96
97
#endif // !_pqAutoStartInterface_h
pqAutoStartInterface
Abstract interface for "auto-start" plugins.
Definition:
pqAutoStartInterface.h:72
Q_DECLARE_INTERFACE
Q_DECLARE_INTERFACE(pqViewFrameActionsInterface, "com.kitware/paraview/viewframeactions")
pqCoreModule.h
PQCORE_EXPORT
#define PQCORE_EXPORT
Definition:
pqCoreModule.h:15
Generated by
1.8.13 on Wed Jan 27 2021