Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

VideoOptions.h

Go to the documentation of this file.
00001 #ifndef VIDEOOPTIONS_HPP 00002 #define VIDEOOPTIONS_HPP 00003 00004 #ifdef HAVE_CONFIG_H 00005 #include <config.h> 00006 #endif 00007 00008 #include "OptionsXML.h" 00009 00010 struct CVideoOptions: public COptionsXML 00011 { 00012 private: 00013 QString m_Name, m_Node; 00014 00015 protected: 00016 void DeclareVariables(); 00017 00018 public: 00019 enum MiddlePartOption 00020 { 00021 Overwrite, 00022 Timestamp, 00023 Sequence, 00024 }; 00025 00026 CVideoOptions(); 00027 00028 virtual void SetXML(const QDomNode &); 00029 virtual void GetXML(QDomNode &) const; 00030 00031 QString GetDeviceName() const; 00032 void SetDeviceName(const QString &name); 00033 QString GetNodeName() const; 00034 void SetNodeName(const QString &node); 00035 QString GetAudioDeviceName() const; 00036 void SetAudioDeviceName(const QString &name); 00037 QString GetAudioNode() const; 00038 void SetAudioNode(const QString &number); 00039 00040 QString GetBaseName() const; 00041 void SetBaseName(const QString &basename); 00042 MiddlePartOption GetMiddlePart() const; 00043 void SetMiddlePart(MiddlePartOption option); 00044 QString GetFileFormat() const; 00045 void SetFileFormat(const QString &format); 00046 00047 QColor GetTextColor() const; 00048 void SetTextColor(const QColor &color); 00049 void SetTextColor(const QString &color_name); 00050 QFont GetTextFont() const; 00051 void SetTextFont(const QFont &font); 00052 bool GetTimeInImage() const; 00053 void SetTimeInImage(bool value); 00056 int GetSequence() const; 00057 void SetSequence(int value); 00058 int GetMaxSequence() const; 00059 void SetMaxSequence(int max); 00060 bool GetSaveToDisk() const; 00061 void SetSaveToDisk(bool value); 00062 int GetSnapInterval() const; 00063 void SetSnapInterval(int value); 00064 bool GetFTPToServer() const; 00065 void SetFTPToServer(bool value); 00066 QString GetFTPServer() const; 00067 void SetFTPServer(const QString &server); 00068 int GetFTPPort() const; 00069 void SetFTPPort(int port_number); 00070 QString GetFTPPath() const; 00071 void SetFTPPath(const QString &path); 00072 QString GetFTPUser() const; 00073 void SetFTPUser(const QString &user); 00074 QString GetFTPPass() const; 00075 void SetFTPPass(const QString &pass); 00076 bool GetFTPPassive() const; 00077 void SetFTPPassive(bool passive); 00078 bool GetFTPUnique() const; 00079 void SetFTPUnique(bool unique); 00080 bool GetRunCommand() const; 00081 void SetRunCommand(bool); 00082 QString GetCommand() const; 00083 void SetCommand(const QString &command); 00084 QString GetUserMessage() const; 00085 void SetUserMessage(const QString &message); 00086 }; 00087 00088 #endif

Generated on Wed Dec 13 23:38:46 2006 for CamStream by doxygen 1.3.7