[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[vidalia-svn] r2510: Add a simple typedef for a list of Stream objects. (in vidalia/trunk: . src/torcontrol)
Author: edmanm
Date: 2008-04-12 18:02:24 -0400 (Sat, 12 Apr 2008)
New Revision: 2510
Modified:
vidalia/trunk/
vidalia/trunk/src/torcontrol/stream.h
Log:
r347@lysithea: edmanm | 2008-04-12 15:55:22 -0400
Add a simple typedef for a list of Stream objects.
Property changes on: vidalia/trunk
___________________________________________________________________
svk:merge ticket from /local/vidalia/trunk [r347] on 90112fd6-a33b-4cea-8d39-48ff1d78625c
Modified: vidalia/trunk/src/torcontrol/stream.h
===================================================================
--- vidalia/trunk/src/torcontrol/stream.h 2008-04-12 22:02:23 UTC (rev 2509)
+++ vidalia/trunk/src/torcontrol/stream.h 2008-04-12 22:02:24 UTC (rev 2510)
@@ -20,7 +20,9 @@
#include <QCoreApplication>
#include <QString>
#include <QObject>
+#include <QList>
+
class Stream
{
Q_DECLARE_TR_FUNCTIONS(Stream)
@@ -79,5 +81,8 @@
quint16 _port; /**< Stream target port. */
};
+/** A collection of Stream objects. */
+typedef QList<Stream> StreamList;
+
#endif