pqparaviewInitializer.h
Go to the documentation of this file.
1 // ***************** DO NOT EDIT ***********************************
2 // This is a generated file.
3 // It will be replaced next time you rebuild.
4 /*=========================================================================
5 
6  Program: paraview
7  Module: pqparaviewInitializer.h
8 
9  Copyright (c) 2005-2008 Sandia Corporation, Kitware Inc.
10  All rights reserved.
11 
12  ParaView is a free software; you can redistribute it and/or modify it
13  under the terms of the ParaView license version 1.2.
14 
15  See License_v1.2.txt for the full ParaView license.
16  A copy of this license can be obtained by contacting
17  Kitware Inc.
18  28 Corporate Drive
19  Clifton Park, NY 12065
20  USA
21 
22 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
23 ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
24 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
25 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR
26 CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
27 EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
28 PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
29 PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
30 LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
31 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
32 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33 
34 =========================================================================*/
35 
36 #ifndef pqparaviewInitializer_h
37 #define pqparaviewInitializer_h
38 
39 class QMainWindow;
41 class QSplashScreen;
42 
44 {
45 public:
46  enum Status
47  {
51  };
52 
55 
57  Status Initialize(int argc, char* argv[]);
58 private:
59  pqPVApplicationCore* PVApp;
60  QMainWindow* MainWindow;
61  QSplashScreen* Splash;
62 };
63 
64 #endif
pqPVApplicationCore is the application code used by ParaView-based applications that use more of Para...
Status Initialize(int argc, char *argv[])
Initialize ParaView. It returns false if the initialization failed.