gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] /srv/bzr/gnash/rtmp r9709: add doxygen style comments.


From: rob
Subject: [Gnash-commit] /srv/bzr/gnash/rtmp r9709: add doxygen style comments.
Date: Thu, 06 Nov 2008 15:41:56 -0700
User-agent: Bazaar (1.5)

------------------------------------------------------------
revno: 9709
committer: address@hidden
branch nick: rtmp
timestamp: Thu 2008-11-06 15:41:56 -0700
message:
  add doxygen style comments.
modified:
  libnet/diskstream.cpp
  libnet/diskstream.h
=== modified file 'libnet/diskstream.cpp'
--- a/libnet/diskstream.cpp     2008-11-06 19:59:34 +0000
+++ b/libnet/diskstream.cpp     2008-11-06 22:41:56 +0000
@@ -46,9 +46,9 @@
 // gnash::LogFile& dbglogfile = gnash::LogFile::getDefaultInstance();
 // }
 
-/// \namespace cygnal
-///    This namespace is for all the Cygnal specific classes.
-namespace cygnal {
+/// \namespace gnash
+///    This is the main namespace for Gnash and it's libraries.
+namespace gnash {
 
 /// \def _SC_PAGESIZE
 ///    This isn't set on all systems, but is used to get the page

=== modified file 'libnet/diskstream.h'
--- a/libnet/diskstream.h       2008-11-06 19:59:34 +0000
+++ b/libnet/diskstream.h       2008-11-06 22:41:56 +0000
@@ -29,9 +29,9 @@
 #include "cque.h"
 #include "statistics.h"
 
-/// \namespace cygnal
-///    This namespace is for all the Cygnal specific classes.
-namespace cygnal {
+/// \namespace gnash
+///    This is the main namespace for Gnash and it's libraries.
+namespace gnash {
 
 /// \class DiskStream
 ///    This class handles the loading of files into memory. Instead
@@ -174,6 +174,11 @@
     ///
     /// @return A real pointer to the base address.
     boost::uint8_t *get() { return _dataptr; };
+
+    /// \brief Get the size of the file.
+    ///
+    /// @return A value that is the size of the file in bytes.
+    size_t getFileSize() { return _filesize; };
     
 private:
     /// \var DiskStream::_state


reply via email to

[Prev in Thread] Current Thread [Next in Thread]