VPTissue Reference Manual
StartupFileXml.h
Go to the documentation of this file.
1 #ifndef SIMPT_WS_SIMPT_FILE_XML_H_INCLUDED
2 #define SIMPT_WS_SIMPT_FILE_XML_H_INCLUDED
3 /*
4  * Copyright 2011-2016 Universiteit Antwerpen
5  *
6  * Licensed under the EUPL, Version 1.1 or as soon they will be approved by
7  * the European Commission - subsequent versions of the EUPL (the "Licence");
8  * You may not use this work except in compliance with the Licence.
9  * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl5
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the Licence is distributed on an "AS IS" basis,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the Licence for the specific language governing
15  * permissions and limitations under the Licence.
16  */
22 #include "StartupFilePtree.h"
23 #include "util/Compressor.h"
24 
25 #include <QAction>
26 
27 namespace SimPT_Shell {
28 namespace Ws {
29 
34 {
35 public:
38  StartupFileXml(const std::string& path);
39 
41  virtual std::vector<QAction*> GetContextMenuActions() const;
42 
44  virtual boost::property_tree::ptree ToPtree() const;
45 
46 private:
47  Util::Compressor m_compressor;
48 };
49 
50 } // namespace
51 } // namespace
52 
53 #endif // end_of_include_guard
virtual std::vector< QAction * > GetContextMenuActions() const
Base class for files containing a Sim snapshot that can be read as a ptree.
Namespace for SimPT shell package.
Definition: Client.cpp:50
A file containing XML representation of a project.
virtual boost::property_tree::ptree ToPtree() const
StartupFileXml(const std::string &path)
Constructor.
Compression / decompression actions.
Definition: Compressor.h:33
Interface for Compressor.
Interface for StartupFilePtree.