pqPluginLocationInterface.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-FileCopyrightText: Copyright (c) 2007, Sandia Corporation
3 // SPDX-License-Identifier: BSD-3-Clause
4 
5 #ifndef pqPluginLocationInterface_h
6 #define pqPluginLocationInterface_h
7 
8 #include "pqCoreModule.h"
9 #include <QtPlugin>
10 
16 {
17 public:
18  virtual ~pqPluginLocationInterface() = default;
19 
24  virtual void StoreLocation(const char* location) = 0;
25 
26 protected:
28 
29 private:
30  Q_DISABLE_COPY(pqPluginLocationInterface)
31 };
32 
33 Q_DECLARE_INTERFACE(pqPluginLocationInterface, "com.kitware/paraview/Location")
34 
35 #endif // pqPluginLocationInterface_h
location
Q_DECLARE_INTERFACE(pqViewFrameActionsInterface, "com.kitware/paraview/viewframeactions")
#define PQCORE_EXPORT
Definition: pqCoreModule.h:15
Abstract interface for storing the file system location of a dyanamically-loaded plugin.