<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>VideoOptions.h</h1><a href="videooptions_h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <font class="preprocessor">#ifndef VIDEOOPTIONS_HPP</font> 00002 <font class="preprocessor"></font><font class="preprocessor">#define VIDEOOPTIONS_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 <qcolor.h></font> 00009 <font class="preprocessor">#include <qdom.h></font> 00010 <font class="preprocessor">#include <qdict.h></font> 00011 <font class="preprocessor">#include <qfont.h></font> 00012 00013 <font class="comment">/* </font> 00014 <font class="comment"> Note: 'S' stands for 'Structure': this really isn't a class, merely</font> 00015 <font class="comment"> a struct-with-functions.</font> 00016 <font class="comment">*/</font> 00017 00018 <font class="keyword">struct </font><a class="code" href="struct_svideooptions.html">SVideoOptions</a> 00019 { 00020 <font class="keyword">private</font>: 00021 QDomElement Me; 00022 00023 QDomText *pValues; 00024 QDict<QDomText> Opts; 00025 00026 <font class="keywordtype">void</font> Populate(QDomDocument &doc); 00027 00028 <font class="keyword">public</font>: 00029 <a class="code" href="struct_svideooptions.html#a0">SVideoOptions</a>(QDomDocument &doc); 00030 <a class="code" href="struct_svideooptions.html#a0">SVideoOptions</a>(<font class="keyword">const</font> <a class="code" href="struct_svideooptions.html">SVideoOptions</a> &); 00031 <a class="code" href="struct_svideooptions.html#a2">~SVideoOptions</a>(); 00032 00033 <font class="keywordtype">void</font> <a class="code" href="struct_svideooptions.html#a3">SetXML</a>(<font class="keyword">const</font> QDomElement &el); 00034 QDomNode <a class="code" href="struct_svideooptions.html#a4">GetXML</a>(); 00035 00036 <font class="comment">// attributes</font> 00037 QString <a class="code" href="struct_svideooptions.html#a5">GetDeviceName</a>() <font class="keyword">const</font>; 00038 <font class="keywordtype">void</font> <a class="code" href="struct_svideooptions.html#a6">SetDeviceName</a>(<font class="keyword">const</font> QString &name); 00039 QString <a class="code" href="struct_svideooptions.html#a7">GetNodeName</a>() <font class="keyword">const</font>; 00040 <font class="keywordtype">void</font> <a class="code" href="struct_svideooptions.html#a8">SetNodeName</a>(<font class="keyword">const</font> QString &node); 00041 00042 <font class="comment">// values</font> 00043 QString <a class="code" href="struct_svideooptions.html#a9">GetBaseName</a>() <font class="keyword">const</font>; 00044 <font class="keywordtype">void</font> <a class="code" href="struct_svideooptions.html#a10">SetBaseName</a>(<font class="keyword">const</font> QString &basename); 00045 00046 QColor <a class="code" href="struct_svideooptions.html#a11">GetTextColor</a>() <font class="keyword">const</font>; 00047 <font class="keywordtype">void</font> <a class="code" href="struct_svideooptions.html#a12">SetTextColor</a>(<font class="keyword">const</font> QColor &color); 00048 <font class="keywordtype">void</font> <a class="code" href="struct_svideooptions.html#a12">SetTextColor</a>(<font class="keyword">const</font> QString &color_name); 00049 00050 QFont <a class="code" href="struct_svideooptions.html#a14">GetTextFont</a>() <font class="keyword">const</font>; 00051 <font class="keywordtype">void</font> <a class="code" href="struct_svideooptions.html#a15">SetTextFont</a>(<font class="keyword">const</font> QFont &font); 00052 <font class="keywordtype">void</font> <a class="code" href="struct_svideooptions.html#a15">SetTextFont</a>(<font class="keyword">const</font> QString &font_name); 00053 00054 <font class="keywordtype">bool</font> <a class="code" href="struct_svideooptions.html#a17">GetTimeInImage</a>() <font class="keyword">const</font>; 00055 <font class="keywordtype">void</font> <a class="code" href="struct_svideooptions.html#a18">SetTimeInImage</a>(<font class="keywordtype">bool</font>); 00056 00057 QString <a class="code" href="struct_svideooptions.html#a19">GetFileFormat</a>() <font class="keyword">const</font>; 00058 <font class="keywordtype">void</font> <a class="code" href="struct_svideooptions.html#a20">SetFileFormat</a>(<font class="keyword">const</font> QString &format); 00059 00060 <font class="keywordtype">int</font> <a class="code" href="struct_svideooptions.html#a21">GetSaveOption</a>() <font class="keyword">const</font>; 00061 <font class="keywordtype">void</font> <a class="code" href="struct_svideooptions.html#a22">SetSaveOption</a>(<font class="keywordtype">int</font>); 00062 00063 <font class="keywordtype">int</font> <a class="code" href="struct_svideooptions.html#a23">GetSequence</a>() <font class="keyword">const</font>; 00064 <font class="keywordtype">void</font> <a class="code" href="struct_svideooptions.html#a24">SetSequence</a>(<font class="keywordtype">int</font>); 00065 00066 <font class="keywordtype">int</font> <a class="code" href="struct_svideooptions.html#a25">GetMaxSequence</a>() <font class="keyword">const</font>; 00067 <font class="keywordtype">void</font> <a class="code" href="struct_svideooptions.html#a26">SetMaxSequence</a>(<font class="keywordtype">int</font>); 00068 00069 <font class="keywordtype">bool</font> <a class="code" href="struct_svideooptions.html#a27">GetSaveToDisk</a>() <font class="keyword">const</font>; 00070 <font class="keywordtype">void</font> <a class="code" href="struct_svideooptions.html#a28">SetSaveToDisk</a>(<font class="keywordtype">bool</font>); 00071 00072 <font class="keywordtype">bool</font> <a class="code" href="struct_svideooptions.html#a29">GetFTPToServer</a>() <font class="keyword">const</font>; 00073 <font class="keywordtype">void</font> <a class="code" href="struct_svideooptions.html#a30">SetFTPToServer</a>(<font class="keywordtype">bool</font>); 00074 00075 QString <a class="code" href="struct_svideooptions.html#a31">GetFTPServer</a>() <font class="keyword">const</font>; 00076 <font class="keywordtype">void</font> <a class="code" href="struct_svideooptions.html#a32">SetFTPServer</a>(<font class="keyword">const</font> QString &server); 00077 00078 QString <a class="code" href="struct_svideooptions.html#a33">GetFTPPath</a>() <font class="keyword">const</font>; 00079 <font class="keywordtype">void</font> <a class="code" href="struct_svideooptions.html#a34">SetFTPPath</a>(<font class="keyword">const</font> QString &path); 00080 00081 QString <a class="code" href="struct_svideooptions.html#a35">GetFTPUser</a>() <font class="keyword">const</font>; 00082 <font class="keywordtype">void</font> <a class="code" href="struct_svideooptions.html#a36">SetFTPUser</a>(<font class="keyword">const</font> QString &user); 00083 00084 QString <a class="code" href="struct_svideooptions.html#a37">GetFTPPass</a>() <font class="keyword">const</font>; 00085 <font class="keywordtype">void</font> <a class="code" href="struct_svideooptions.html#a38">SetFTPPass</a>(<font class="keyword">const</font> QString &pass); 00086 00087 <font class="keywordtype">bool</font> <a class="code" href="struct_svideooptions.html#a39">GetFTPPassive</a>() <font class="keyword">const</font>; 00088 <font class="keywordtype">void</font> <a class="code" href="struct_svideooptions.html#a40">SetFTPPassive</a>(<font class="keywordtype">bool</font> passive); 00089 00090 <font class="keywordtype">bool</font> <a class="code" href="struct_svideooptions.html#a41">GetFTPUnique</a>() <font class="keyword">const</font>; 00091 <font class="keywordtype">void</font> <a class="code" href="struct_svideooptions.html#a42">SetFTPUnique</a>(<font class="keywordtype">bool</font> unique); 00092 }; 00093 00094 <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>