root/trunk/freebob/src/avpluginfoblock.h

Revision 38, 1.5 kB (checked in by pieterpalmers, 19 years ago)

- Added classes to parse the infoblocks new to the 1.1 version of the AV/C Music Subunit spec
- Implemented some prototype parsing in these classes

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1 /* avpluginfoblock.h
2  * Copyright (C) 2004 by Pieter Palmers
3  *
4  * This file is part of FreeBob.
5  *
6  * FreeBob is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  * FreeBob is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with FreeBob; if not, write to the Free Software
17  * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
18  * MA 02111-1307 USA.
19  */
20  
21 #include <string.h>
22 #include <errno.h>
23 #include <libavc1394/avc1394.h>
24 #include <libavc1394/avc1394_vcr.h>
25 #include <vector>
26 using std::vector;
27
28 #include "debugmodule.h"
29
30 #include "avdevice.h"
31 #include "avdescriptor.h"
32 #include "avinfoblock.h"
33 #include "avaudioinfoblock.h"
34 #include "avmidiinfoblock.h"
35 #include "avaudiosyncinfoblock.h"
36 #include "avnameinfoblock.h"
37 #include "avsourcepluginfoblock.h"
38
39 #ifndef AVPLUGINFOBLOCK_H
40 #define AVPLUGINFOBLOCK_H
41
42 class AvClusterInfoBlock;
43
44 class AvPlugInfoBlock : public AvInfoBlock {
45 public:
46         AvPlugInfoBlock(AvDescriptor *parent, int address); // read an infoblock from a parent starting from a specific position
47         virtual ~AvPlugInfoBlock();
48
49        
50 protected:
51         vector<AvClusterInfoBlock *> cClusterInfoBlocks;
52 private:       
53        
54 };
55
56 #endif
Note: See TracBrowser for help on using the browser.