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

Revision 241, 1.3 kB (checked in by pieterpalmers, 16 years ago)

* configure.ac: Version bump to 1.0.0

* Changed all FreeBob? to FreeBoB
* Removed all .cvsignore
* Added Pieter to AUTHORS
* Updated NEWS and README (release canditate date added)

by Daniel Wagner

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     virtual bool setId(unsigned int id) = 0;
40 };
41
42 #endif
Note: See TracBrowser for help on using the browser.