720de2b00da0d73efff3a055ff9e7221b063a574
[urpo] / www / apidoc / html / urpoconnection_8h_source.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml">
3 <head>
4 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5 <title>Urpo: src/urpoconnection.h Source File</title>
6 <link href="tabs.css" rel="stylesheet" type="text/css"/>
7 <link href="doxygen.css" rel="stylesheet" type="text/css"/>
8 </head>
9 <body>
10 <!-- Generated by Doxygen 1.6.3 -->
11 <div class="navigation" id="top">
12   <div class="tabs">
13     <ul>
14       <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
15       <li><a href="annotated.html"><span>Classes</span></a></li>
16       <li class="current"><a href="files.html"><span>Files</span></a></li>
17     </ul>
18   </div>
19   <div class="tabs">
20     <ul>
21       <li><a href="files.html"><span>File&nbsp;List</span></a></li>
22     </ul>
23   </div>
24 <h1>src/urpoconnection.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/**************************************************************************</span>
25 <a name="l00002"></a>00002 <span class="comment"></span>
26 <a name="l00003"></a>00003 <span class="comment">    URPO</span>
27 <a name="l00004"></a>00004 <span class="comment"></span>
28 <a name="l00005"></a>00005 <span class="comment">    Unix Remote Printing Operation</span>
29 <a name="l00006"></a>00006 <span class="comment">    Copyright (c) Arto Hyvättinen 2010</span>
30 <a name="l00007"></a>00007 <span class="comment"></span>
31 <a name="l00008"></a>00008 <span class="comment">    This file is part of URPO.</span>
32 <a name="l00009"></a>00009 <span class="comment"></span>
33 <a name="l00010"></a>00010 <span class="comment">    URPO is free software: you can redistribute it and/or modify</span>
34 <a name="l00011"></a>00011 <span class="comment">    it under the terms of the GNU General Public License as published by</span>
35 <a name="l00012"></a>00012 <span class="comment">    the Free Software Foundation, either version 3 of the License, or</span>
36 <a name="l00013"></a>00013 <span class="comment">    (at your option) any later version.</span>
37 <a name="l00014"></a>00014 <span class="comment"></span>
38 <a name="l00015"></a>00015 <span class="comment">    URPO is distributed in the hope that it will be useful,</span>
39 <a name="l00016"></a>00016 <span class="comment">    but WITHOUT ANY WARRANTY; without even the implied warranty of</span>
40 <a name="l00017"></a>00017 <span class="comment">    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the</span>
41 <a name="l00018"></a>00018 <span class="comment">    GNU General Public License for more details.</span>
42 <a name="l00019"></a>00019 <span class="comment"></span>
43 <a name="l00020"></a>00020 <span class="comment"></span>
44 <a name="l00021"></a>00021 <span class="comment">**************************************************************************/</span>
45 <a name="l00022"></a>00022 
46 <a name="l00023"></a>00023 <span class="preprocessor">#ifndef URPOCONNECTION_H</span>
47 <a name="l00024"></a>00024 <span class="preprocessor"></span><span class="preprocessor">#define URPOCONNECTION_H</span>
48 <a name="l00025"></a>00025 <span class="preprocessor"></span>
49 <a name="l00026"></a>00026 
50 <a name="l00027"></a>00027 <span class="preprocessor">#include &lt;QString&gt;</span>
51 <a name="l00028"></a>00028 <span class="keyword">class </span>QObject;
52 <a name="l00029"></a>00029 
53 <a name="l00039"></a><a class="code" href="class_urpo_connection.html">00039</a> <span class="keyword">class </span><a class="code" href="class_urpo_connection.html" title="Information about ssh connection (abstract).">UrpoConnection</a>
54 <a name="l00040"></a>00040 {
55 <a name="l00041"></a>00041 <span class="keyword">protected</span>:
56 <a name="l00042"></a>00042     <a class="code" href="class_urpo_connection.html" title="Information about ssh connection (abstract).">UrpoConnection</a>();
57 <a name="l00043"></a>00043 <span class="keyword">public</span>:
58 <a name="l00044"></a>00044     <span class="keyword">virtual</span> ~<a class="code" href="class_urpo_connection.html" title="Information about ssh connection (abstract).">UrpoConnection</a>();
59 <a name="l00045"></a>00045 
60 <a name="l00049"></a>00049     <span class="keyword">virtual</span> QString <a class="code" href="class_urpo_connection.html#acfaef63e321ad056ef6da06772967c3b" title="Host name or ip address.">getHost</a>() <span class="keyword">const</span> = 0;
61 <a name="l00050"></a>00050 
62 <a name="l00054"></a>00054     <span class="keyword">virtual</span> QString <a class="code" href="class_urpo_connection.html#aba99d8ff49fffbca8346d54adf244c84" title="Userid in server.">getUserid</a>() <span class="keyword">const</span> = 0;
63 <a name="l00055"></a>00055 
64 <a name="l00061"></a>00061     <span class="keyword">virtual</span> QString <a class="code" href="class_urpo_connection.html#ade5d637438a69724385e268fe32d989c" title="Identity file.">getIdentity</a>() <span class="keyword">const</span> = 0;
65 <a name="l00062"></a>00062 
66 <a name="l00075"></a>00075     <span class="keywordtype">void</span> <a class="code" href="class_urpo_connection.html#a00838175ff1a662c9c140b3f45a0d2c4" title="Default time out in connection.">setDebugMonitor</a>(QObject* monitor);
67 <a name="l00076"></a>00076 
68 <a name="l00081"></a>00081     QObject* <a class="code" href="class_urpo_connection.html#abd0b75726873690496758671d4ac2675" title="Get pointer to Debug monitor.">getDebugMonitor</a>() <span class="keyword">const</span>;
69 <a name="l00082"></a>00082 
70 <a name="l00088"></a>00088     QString <a class="code" href="class_urpo_connection.html#a27a49d8cc8af0a22879f25ed9fe45b68" title="user@host -string">getHostString</a>();
71 <a name="l00089"></a>00089 
72 <a name="l00095"></a>00095     QString <a class="code" href="class_urpo_connection.html#a2612ae2ee7c49d582c9f8dc21ab7c406" title="Key option needed for ssh.">getKeyOption</a>();
73 <a name="l00096"></a>00096 
74 <a name="l00097"></a>00097 <span class="keyword">private</span>:
75 <a name="l00099"></a>00099     QObject* debugMonitor_;
76 <a name="l00100"></a>00100 };
77 <a name="l00101"></a>00101 
78 <a name="l00102"></a>00102 <span class="preprocessor">#endif // URPOCONNECTION_H</span>
79 </pre></div></div>
80 <hr class="footer"/><address style="text-align: right;"><small>Generated on Mon Sep 27 18:46:05 2010 for Urpo by&nbsp;
81 <a href="http://www.doxygen.org/index.html">
82 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
83 </body>
84 </html>