Skip to content

pylon/XmlFileProvider.h#

Namespaces#

Name
Pylon
Contains definitions of pylon types.

Classes#

Name
struct Pylon::IXmlFileProvider

Source code#

//-----------------------------------------------------------------------------
//  Basler pylon SDK
//  Copyright (c) 2006-2022 Basler AG
//  http://www.baslerweb.com
//  Author:  AH
//-----------------------------------------------------------------------------
#ifndef __PYLONXMLFILEPROVIDER_H__
#define __PYLONXMLFILEPROVIDER_H__

#if _MSC_VER > 1000
#pragma once
#endif

#include <pylon/Platform.h>

#ifdef _MSC_VER
#   pragma pack(push, PYLON_PACKING)
#endif /* _MSC_VER */

#include <pylon/stdinclude.h>


namespace Pylon
{
    class CDeviceInfo;

    interface PUBLIC_INTERFACE IXmlFileProvider
    {
        virtual bool CanProvideXmlFile( const CDeviceInfo& ) = 0;
        virtual void ProvideXmlFile(
            const CDeviceInfo& di,
            String_t& RecommendedFileName,
            String_t& XmlString
            ) = 0;
    };

}


#ifdef _MSC_VER
#   pragma pack(pop)
#endif /* _MSC_VER */

#endif /* __PYLONXMLFILEPROVIDER_H__ */

Updated on 5 July 2022 at 15:30:01