root/branches/libfreebob-motu/src/iavdevice.h

Revision 185, 1.3 kB (checked in by wagi, 18 years ago)

CVS-SVN migration developer public sync patch

Line 
1 /* iavdevice.h
2  * Copyright (C) 2006 by Daniel Wagner
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 #ifndef IAVDEVICE_H
22 #define IAVDEVICE_H
23
24 #include "libfreebobavc/avc_definitions.h"
25 #include "libfreebob/xmlparser.h"
26
27 class ConfigRom;
28 class Ieee1394Service;
29
30 class IAvDevice {
31 public:
32     virtual ~IAvDevice() {}
33
34     virtual ConfigRom& getConfigRom() const = 0;
35     virtual bool discover() = 0;
36     virtual bool setSamplingFrequency( ESamplingFrequency samplingFrequency ) = 0;
37     virtual bool addXmlDescription( xmlNodePtr deviceNode ) = 0;
38     virtual void showDevice() const = 0;
39 };
40
41 #endif
Note: See TracBrowser for help on using the browser.