00001 #ifndef PV_2WAY_TEST_EXTENSION_H_INCLUDED
00002 #define PV_2WAY_TEST_EXTENSION_H_INCLUDED
00003
00004 #ifndef OSCL_BASE_H_INCLUDED
00005 #include "oscl_base.h"
00006 #endif
00007 #ifndef OSCL_STRING_H_INCLUDED
00008 #include "oscl_string.h"
00009 #endif
00010 #ifndef OSCL_REFCOUNTER_MEMFRAG_H_INCLUDED
00011 #include "oscl_refcounter_memfrag.h"
00012 #endif
00013 #ifndef PV_UUID_H_INCLUDED
00014 #include "pv_uuid.h"
00015 #endif
00016 #ifndef PV_INTERFACE_H_INCLUDED
00017 #include "pv_interface.h"
00018 #endif
00019
00020
00021 template <class T> class OsclSharedPtr;
00022
00023 #define PV2WayTestEncExtensionUUID PVUuid(0x19b53654, 0x2dd4,0x4469,0xa9,0xdb,0x86,0x28,0xa7,0x69,0x92,0xe3)
00024
00026 class PV2WayTestExtensionInterface : public PVInterface
00027 {
00028 public:
00030 virtual void addRef() = 0;
00031
00033 virtual void removeRef() = 0;
00034
00043 virtual bool queryInterface(const PVUuid& uuid, PVInterface*& iface) = 0;
00044
00045 virtual bool NegotiatedFormatsMatch(
00046 Oscl_Vector<FormatCapabilityInfo, OsclMemAllocator>& iInAudFormatCapability,
00047 Oscl_Vector<FormatCapabilityInfo, OsclMemAllocator>& iOutAudFormatCapability,
00048 Oscl_Vector<FormatCapabilityInfo, OsclMemAllocator>& iInVidFormatCapability,
00049 Oscl_Vector<FormatCapabilityInfo, OsclMemAllocator>& iOutVidFormatCapability) = 0;
00050
00051
00052 };
00053 #endif
00054
00055
00056
00057
00058