Skip to content
Navigation Menu
{{ message }}
forked from MeVisLab/pythonqt
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPythonQtImportFileInterface_8h_source.html
More file actions
67 lines (67 loc) · 16.8 KB
/
Copy pathPythonQtImportFileInterface_8h_source.html
File metadata and controls
67 lines (67 loc) · 16.8 KB
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>PythonQt: PythonQtImportFileInterface.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">PythonQt
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',false,false,'search.php','Search');
});
/* @license-end */</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">PythonQtImportFileInterface.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="PythonQtImportFileInterface_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="preprocessor">#ifndef _PYTHONQTIMPORTFILEINTERFACE_H</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="preprocessor">#define _PYTHONQTIMPORTFILEINTERFACE_H</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> </div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">/*</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> *</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * Copyright (C) 2010 MeVis Medical Solutions AG All Rights Reserved.</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> *</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> * This library is free software; you can redistribute it and/or</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> * modify it under the terms of the GNU Lesser General Public</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> * License as published by the Free Software Foundation; either</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> * version 2.1 of the License, or (at your option) any later version.</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> *</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> * This library is distributed in the hope that it will be useful,</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> * Lesser General Public License for more details.</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment"> *</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment"> * Further, this software is distributed without any warranty that it is</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="comment"> * free of the rightful claim of any third person regarding infringement</span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="comment"> * or the like. Any license provided herein, whether implied or</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="comment"> * otherwise, applies only to this software file. Patent licenses, if</span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="comment"> * any, provided herein do not apply to combinations of this program with</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="comment"> * other software, or any other product whatsoever.</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="comment"> *</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="comment"> * You should have received a copy of the GNU Lesser General Public</span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="comment"> * License along with this library; if not, write to the Free Software</span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="comment"> * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA</span></div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="comment"> *</span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="comment"> * Contact information: MeVis Medical Solutions AG, Universitaetsallee 29,</span></div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="comment"> * 28359 Bremen, Germany or:</span></div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="comment"> *</span></div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="comment"> * http://www.mevis.de</span></div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="comment"> *</span></div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="comment"> */</span></div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> </div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="comment">//----------------------------------------------------------------------------------</span></div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span> <span class="comment"></span><span class="comment">//----------------------------------------------------------------------------------</span></div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span> </div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span> <span class="preprocessor">#include "<a class="code" href="PythonQtPythonInclude_8h.html">PythonQtPythonInclude.h</a>"</span></div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span> <span class="preprocessor">#include <QDateTime></span></div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span> <span class="preprocessor">#include <QString></span></div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span> <span class="preprocessor">#include <QByteArray></span></div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span> </div><div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="classPythonQtImportFileInterface.html"> 52</a></span> <span class="keyword">class </span><a class="code" href="classPythonQtImportFileInterface.html">PythonQtImportFileInterface</a> {</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span> </div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <span class="comment">// get rid of warnings</span></div><div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="classPythonQtImportFileInterface.html#ab0081d9edda744245557b0b86c57903a"> 56</a></span>  <span class="keyword">virtual</span> <a class="code" href="classPythonQtImportFileInterface.html#ab0081d9edda744245557b0b86c57903a">~PythonQtImportFileInterface</a>() {}</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span> </div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <span class="keyword">virtual</span> QByteArray <a class="code" href="classPythonQtImportFileInterface.html#a9af9b596837ab97779aa1be67080b9b0">readFileAsBytes</a>(<span class="keyword">const</span> QString& filename) = 0;</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span> </div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <span class="keyword">virtual</span> QByteArray <a class="code" href="classPythonQtImportFileInterface.html#a5b1305a61905ad3903506ef9dccbec60">readSourceFile</a>(<span class="keyword">const</span> QString& filename, <span class="keywordtype">bool</span>& ok) = 0;</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span> </div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classPythonQtImportFileInterface.html#aed04668f6896aef1c070911adbe2f950">exists</a>(<span class="keyword">const</span> QString& filename) = 0;</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span> </div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classPythonQtImportFileInterface.html#ac23a7fe6f3305ab740da1480f7680e62">isEggArchive</a>(<span class="keyword">const</span> QString& filename) = 0;</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span> </div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <span class="keyword">virtual</span> QDateTime <a class="code" href="classPythonQtImportFileInterface.html#ac6b5cb249c82f6391255b3ed6b05ad2a">lastModifiedDate</a>(<span class="keyword">const</span> QString& filename) = 0;</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span> </div><div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="classPythonQtImportFileInterface.html#a94421f6afd832ead130655c5107d633d"> 77</a></span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classPythonQtImportFileInterface.html#a94421f6afd832ead130655c5107d633d">ignoreUpdatedPythonSourceFiles</a>() { <span class="keywordflow">return</span> <span class="keyword">false</span>; }</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span> </div><div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="classPythonQtImportFileInterface.html#ac95a7ec0b5cbd30488a71d806a0c3e0a"> 81</a></span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classPythonQtImportFileInterface.html#ac95a7ec0b5cbd30488a71d806a0c3e0a">importedModule</a>(<span class="keyword">const</span> QString& <span class="comment">/*module*/</span>) {};</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span> </div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span> };</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span> </div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span> </div><div class="ttc" id="classPythonQtImportFileInterface_html_aed04668f6896aef1c070911adbe2f950"><div class="ttname"><a href="classPythonQtImportFileInterface.html#aed04668f6896aef1c070911adbe2f950">PythonQtImportFileInterface::exists</a></div><div class="ttdeci">virtual bool exists(const QString &filename)=0</div><div class="ttdoc">returns if the file exists</div></div>
<div class="ttc" id="classPythonQtImportFileInterface_html_a94421f6afd832ead130655c5107d633d"><div class="ttname"><a href="classPythonQtImportFileInterface.html#a94421f6afd832ead130655c5107d633d">PythonQtImportFileInterface::ignoreUpdatedPythonSourceFiles</a></div><div class="ttdeci">virtual bool ignoreUpdatedPythonSourceFiles()</div><div class="ttdef"><b>Definition:</b> <a href="PythonQtImportFileInterface_8h_source.html#l00077">PythonQtImportFileInterface.h:77</a></div></div>
<div class="ttc" id="classPythonQtImportFileInterface_html"><div class="ttname"><a href="classPythonQtImportFileInterface.html">PythonQtImportFileInterface</a></div><div class="ttdef"><b>Definition:</b> <a href="PythonQtImportFileInterface_8h_source.html#l00052">PythonQtImportFileInterface.h:52</a></div></div>
<div class="ttc" id="classPythonQtImportFileInterface_html_ac6b5cb249c82f6391255b3ed6b05ad2a"><div class="ttname"><a href="classPythonQtImportFileInterface.html#ac6b5cb249c82f6391255b3ed6b05ad2a">PythonQtImportFileInterface::lastModifiedDate</a></div><div class="ttdeci">virtual QDateTime lastModifiedDate(const QString &filename)=0</div><div class="ttdoc">get the last modified data of a file</div></div>
<div class="ttc" id="classPythonQtImportFileInterface_html_ac95a7ec0b5cbd30488a71d806a0c3e0a"><div class="ttname"><a href="classPythonQtImportFileInterface.html#ac95a7ec0b5cbd30488a71d806a0c3e0a">PythonQtImportFileInterface::importedModule</a></div><div class="ttdeci">virtual void importedModule(const QString &)</div><div class="ttdef"><b>Definition:</b> <a href="PythonQtImportFileInterface_8h_source.html#l00081">PythonQtImportFileInterface.h:81</a></div></div>
<div class="ttc" id="classPythonQtImportFileInterface_html_a9af9b596837ab97779aa1be67080b9b0"><div class="ttname"><a href="classPythonQtImportFileInterface.html#a9af9b596837ab97779aa1be67080b9b0">PythonQtImportFileInterface::readFileAsBytes</a></div><div class="ttdeci">virtual QByteArray readFileAsBytes(const QString &filename)=0</div><div class="ttdoc">read the given file as byte array, without doing any linefeed translations</div></div>
<div class="ttc" id="classPythonQtImportFileInterface_html_ab0081d9edda744245557b0b86c57903a"><div class="ttname"><a href="classPythonQtImportFileInterface.html#ab0081d9edda744245557b0b86c57903a">PythonQtImportFileInterface::~PythonQtImportFileInterface</a></div><div class="ttdeci">virtual ~PythonQtImportFileInterface()</div><div class="ttdef"><b>Definition:</b> <a href="PythonQtImportFileInterface_8h_source.html#l00056">PythonQtImportFileInterface.h:56</a></div></div>
<div class="ttc" id="classPythonQtImportFileInterface_html_ac23a7fe6f3305ab740da1480f7680e62"><div class="ttname"><a href="classPythonQtImportFileInterface.html#ac23a7fe6f3305ab740da1480f7680e62">PythonQtImportFileInterface::isEggArchive</a></div><div class="ttdeci">virtual bool isEggArchive(const QString &filename)=0</div></div>
<div class="ttc" id="classPythonQtImportFileInterface_html_a5b1305a61905ad3903506ef9dccbec60"><div class="ttname"><a href="classPythonQtImportFileInterface.html#a5b1305a61905ad3903506ef9dccbec60">PythonQtImportFileInterface::readSourceFile</a></div><div class="ttdeci">virtual QByteArray readSourceFile(const QString &filename, bool &ok)=0</div></div>
<div class="ttc" id="PythonQtPythonInclude_8h_html"><div class="ttname"><a href="PythonQtPythonInclude_8h.html">PythonQtPythonInclude.h</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jun 24 2019 11:13:43 for PythonQt by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.15
</small></address>
</body>
</html>
You can’t perform that action at this time.
