<html> <head> <title>Camstream: CamStream API documentation</title> <link rel="stylesheet" href="../../tech.css" type="text/css"> </head> <body> <!-- Generated by Doxygen 1.2.6 --> <center> <a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center> <hr><h1>ftpput.h</h1><a href="ftpput_h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <font class="preprocessor">#ifndef FTPPUT_HPP</font> 00002 <font class="preprocessor"></font><font class="preprocessor">#define FTPPUT_HPP</font> 00003 <font class="preprocessor"></font> 00004 <font class="preprocessor">#ifdef HAVE_CONFIG_H</font> 00005 <font class="preprocessor"></font><font class="preprocessor">#incude <config.h></font> 00006 <font class="preprocessor"></font><font class="preprocessor">#endif</font> 00007 <font class="preprocessor"></font> 00008 <font class="preprocessor">#include <qapplication.h></font> 00009 <font class="preprocessor">#include <qlist.h></font> 00010 <font class="preprocessor">#include <qvariant.h></font> 00011 00012 <font class="preprocessor">#include "lib/FTPClient.h"</font> 00013 <a name="l00014"></a><a class="code" href="class_cftpput.html">00014</a> <font class="keyword">class </font><a class="code" href="class_cftpput.html">CFTPPut</a>: <font class="keyword">public</font> <a class="code" href="class_qapplication.html">QApplication</a> 00015 { 00016 Q_OBJECT 00017 <font class="keyword">private</font>: 00018 <font class="keyword">struct </font>CommandStruct 00019 { 00020 <font class="keywordtype">int</font> Command; 00021 QString Param[4]; 00022 }; 00023 00024 CFTPClient *pClient; 00025 <font class="keywordtype">bool</font> Done; 00026 00027 QList<struct CommandStruct> CommandList; 00028 <font class="keywordtype">int</font> m_CurrentCommand; 00029 00030 QString User, Pass, Server, Path; 00031 00032 <font class="keywordtype">void</font> Usage(); 00033 <font class="keywordtype">bool</font> ParseUPSP(<font class="keywordtype">char</font> *s); 00034 00035 <font class="keywordtype">void</font> TriggerNext(); 00036 00037 <font class="keyword">private</font> slots: 00038 <font class="keywordtype">void</font> ProcessNextCommand(); 00039 <font class="keywordtype">void</font> Action(<font class="keywordtype">int</font>, <font class="keywordtype">int</font>); 00040 <font class="keywordtype">void</font> Progress(<font class="keywordtype">int</font>); 00041 00042 <font class="keyword">public</font>: 00043 <a class="code" href="class_cftpput.html#a0">CFTPPut</a>(<font class="keywordtype">int</font> argc, <font class="keywordtype">char</font> **argv); 00044 <a class="code" href="class_cftpput.html#a1">~CFTPPut</a>(); 00045 00046 <font class="keyword">public</font> slots: 00047 <font class="keywordtype">void</font> <a class="code" href="class_cftpput.html#g0">Run</a>(); 00048 }; 00049 00050 <font class="preprocessor">#endif</font> </font></pre></div><hr><address><small>Generated at Sat May 18 02:56:55 2002 for Camstream by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.gif" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.2.6 written by <a href="mailto:dimitri@stack.nl">Dimitri van Heesch</a>, © 1997-2001</small></address> </body> </html>