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
|
<html>
<head>
<title>Camstream: CamStream API documentation</title>
<link rel="stylesheet" href="../../tech.css" type="text/css">
</head>
<body>
<!-- Generated by Doxygen 1.3.7 -->
<div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a></div>
<h1>ftpput.h</h1><a href="ftpput_8h.html">Go to the documentation of this file.</a><pre class="fragment"><div>00001 <span class="preprocessor">#ifndef FTPPUT_HPP</span>
00002 <span class="preprocessor"></span><span class="preprocessor">#define FTPPUT_HPP</span>
00003 <span class="preprocessor"></span>
00004 <span class="preprocessor">#ifdef HAVE_CONFIG_H</span>
00005 <span class="preprocessor"></span><span class="preprocessor">#include "<a class="code" href="config_8h.html">config.h</a>"</span>
00006 <span class="preprocessor">#endif</span>
00007 <span class="preprocessor"></span>
00008 <span class="preprocessor">#include <qapplication.h></span>
00009 <span class="preprocessor">#include <qlist.h></span>
00010 <span class="preprocessor">#include <qvariant.h></span>
00011
00012 <span class="preprocessor">#include "<a class="code" href="_f_t_p_client_8h.html">lib/FTPClient.h</a>"</span>
00013
<a name="l00014"></a><a class="code" href="class_c_f_t_p_put.html">00014</a> <span class="keyword">class </span><a class="code" href="class_c_f_t_p_put.html">CFTPPut</a>: <span class="keyword">public</span> QApplication
00015 {
00016 Q_OBJECT
00017 <span class="keyword">private</span>:
00018 <span class="keyword">struct </span>CommandStruct
00019 {
00020 <span class="keywordtype">int</span> Command;
00021 QString Param[4];
00022 };
00023
00024 <a class="code" href="class_c_f_t_p_client.html">CFTPClient</a> *pClient;
00025 <span class="keywordtype">bool</span> Done;
00026
00027 QList<struct CommandStruct> CommandList;
00028 <span class="keywordtype">int</span> m_CurrentCommand;
00029
00030 QString User, Pass, Server, Path;
00031
00032 <span class="keywordtype">void</span> Usage();
00033 <span class="keywordtype">bool</span> ParseUPSP(<span class="keywordtype">char</span> *s);
00034
00035 <span class="keywordtype">void</span> TriggerNext();
00036
00037 <span class="keyword">private</span> slots:
00038 <span class="keywordtype">void</span> ProcessNextCommand();
00039 <span class="keywordtype">void</span> Action(<span class="keywordtype">int</span> cmd, <span class="keywordtype">int</span> status, <span class="keywordtype">int</span> result, <span class="keyword">const</span> QString &resp_string);
00040 <span class="keywordtype">void</span> Progress(<span class="keywordtype">int</span>);
00041
00042 <span class="keyword">public</span>:
00043 <a class="code" href="class_c_f_t_p_put.html">CFTPPut</a>(<span class="keywordtype">int</span> argc, <span class="keywordtype">char</span> **argv);
00044 <a class="code" href="class_c_f_t_p_put.html#a1">~CFTPPut</a>();
00045
00046 <span class="keyword">public</span> slots:
00047 <span class="keywordtype">void</span> <a class="code" href="class_c_f_t_p_put.html#i0">Run</a>();
00048 };
00049
00050 <span class="preprocessor">#endif</span>
</div></pre><hr size="1"><address style="align: right;"><small>Generated on Wed Dec 13 23:38:46 2006 for CamStream by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 ></a> 1.3.7 </small></address>
</body>
</html>
|