You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
1.0 KiB
50 lines
1.0 KiB
///////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Copyright (c) Microsoft Corporation
|
|
//
|
|
// SYNOPSIS
|
|
//
|
|
// Declares the class CSdoClient
|
|
//
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
#ifndef SDOCLIENT_H
|
|
#define SDOCLIENT_H
|
|
#pragma once
|
|
|
|
#include "sdo.h"
|
|
#include "sdofactory.h"
|
|
|
|
|
|
class CSdoClient : public CSdo
|
|
{
|
|
|
|
public:
|
|
|
|
DECLARE_SDO_FACTORY(CSdoClient);
|
|
|
|
BEGIN_COM_MAP(CSdoClient)
|
|
COM_INTERFACE_ENTRY_IID(__uuidof(ISdo), ISdo)
|
|
COM_INTERFACE_ENTRY_IID(__uuidof(IDispatch), IDispatch)
|
|
END_COM_MAP()
|
|
|
|
CSdoClient() throw ();
|
|
virtual ~CSdoClient() throw ();
|
|
|
|
virtual HRESULT ValidateProperty(
|
|
PSDOPROPERTY pProperty,
|
|
VARIANT* pValue
|
|
) throw ();
|
|
|
|
private:
|
|
// Not implemented.
|
|
CSdoClient(const CSdoClient& rhs);
|
|
CSdoClient& operator = (CSdoClient& rhs);
|
|
};
|
|
|
|
|
|
inline CSdoClient::CSdoClient() throw ()
|
|
{
|
|
}
|
|
|
|
#endif // SDOCLIENT_H
|