Leaked source code of windows server 2003
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.
 
 
 
 
 
 

42 lines
848 B

#ifndef _CONTENT_H_
#define _CONTENT_H_
/*
* C O N T E N T . H
*
* DAV Content-Type mappings
*
* Copyright 1986-1997 Microsoft Corporation, All Rights Reserved
*/
class IContentTypeMap : public CMTRefCounted
{
// NOT IMPLEMENTED
//
IContentTypeMap(const IContentTypeMap&);
IContentTypeMap& operator=(IContentTypeMap&);
protected:
// CREATORS
// Only create this object through it's descendents!
//
IContentTypeMap()
{
m_cRef = 1; //$HACK Until we have 1-based refcounting
};
public:
// ACCESSORS
//
virtual LPCWSTR PwszContentType( LPCWSTR pwszURI ) const = 0;
virtual BOOL FIsInherited() const = 0;
};
BOOL FInitRegMimeMap();
VOID DeinitRegMimeMap();
IContentTypeMap *
NewContentTypeMap( LPWSTR pwszContentTypeMappings,
BOOL fMappingsInherited );
#endif // _CONTENT_H_