DNFileComments.h

Go to the documentation of this file.
00001 #pragma once
00002 #pragma unmanaged
00003 #include <libOOOgg/dllstuff.h>
00004 #include "libVorbisComment/FileComments.h"
00005 
00006 #pragma managed
00007 #include "DNStreamCommentInfo.h"
00008 using namespace System;
00009 using namespace illiminable::libiWrapper;
00010 namespace illiminable {
00011         namespace Ogg {
00012                 namespace libVorbisCommentDotNET {
00013 
00014 
00015 //class LIBVORBISCOMMENT_API FileComments
00016 //      :       public IOggCallback
00017 //{
00018 //public:
00019 //      FileComments(void);
00020 //      ~FileComments(void);
00021 //
00022 //      
00023 //
00024 //      bool loadFile(string inFileName);
00025 //      string fileName();
00026 //
00027 //      bool writeOutAll(string inFileName);
00028 //      bool writeOutStream(unsigned long inIndex);
00029 //
00030 //      bool addStreamComment(StreamCommentInfo* inStreamComment);
00031 //      StreamCommentInfo* getStreamComment(unsigned long inIndex);
00032 //
00033 //      unsigned long streamCount();
00034 //
00035 //      //IOggCallback implementation
00036 //      virtual bool acceptOggPage(OggPage* inOggPage);
00037 //protected:
00038 //      vector<StreamCommentInfo*> mStreams;
00039 //      string mFileName;
00040 //      unsigned long mMinorStreamCount;
00041 //      __int64 mBytePos;
00042 //};
00043 
00044 
00045 
00046 
00047 public __gc class DNFileComments
00048 {
00049 public:
00050         DNFileComments(void);
00051         ~DNFileComments(void);
00052 
00053 
00054         bool loadFile(String* inFileName);
00055         String* fileName();
00056 
00057         bool writeOutAll(String* inFileName);
00058         bool writeOutStream(Int64 inIndex);
00059 
00060         //bool addStreamComment(DNStreamCommentInfo* inStreamComment);
00061         DNStreamCommentInfo* getStreamComment(Int64 inIndex);
00062 
00063         Int64 streamCount();
00064 
00065 protected:
00066         ::FileComments* mNativeClass;
00067 };
00068 
00069                 }}}

Generated on Tue Feb 15 14:54:21 2005 for oggdsf by  doxygen 1.3.9