1
0
mirror of https://github.com/Halofreak1990/XFXFramework synced 2024-12-26 13:49:34 +01:00
Halofreak1990 c4a46bae5d Almost fixed the List template (moved all code into the header as per the template implementation requirements)
Added Exceptions to the System.Xml library
Added missing DisplayModeCollection class
Added Stack class (will be tested soon, and removed again if it doesn't work)

* This revision's libXFX doesn't build. This is due to the List template not handling pointers to abstract classes the way I'd like it to do. Need to look into.
2011-03-07 19:14:57 +00:00

51 lines
1.2 KiB
C++

#ifndef _SYSTEM_XML_INTERFACES_
#define _SYSTEM_XML_INTERFACES_
#include <System/Collections/Generic/Interfaces.h>
#include <System/Types.h>
#include <System/Xml/Enums.h>
using namespace System::Collections::Generic;
namespace System
{
namespace Xml
{
class XmlNode;
/// <summary>
/// Enables a class to return an System::Xml::XmlNode from the current context or position.
/// </summary>
interface IHasXmlNode
{
public:
virtual XmlNode GetNode()=0;
};
/// <summary>
/// Provides an interface to enable a class to return line and position information.
/// </summary>
interface IXmlLineInfo
{
public:
virtual bool HasLineInfo()=0;
virtual int LineNumber();
virtual int LinePosition();
};
/// <summary>
/// Provides read-only access to a set of prefix and namespace mappings.
/// </summary>
interface IXmlNamespaceResolver
{
public:
virtual IDictionary<char*, char*>* GetNamespacesInScope(XmlNamespaceScope_t scope)=0;
virtual char* LookupNamespace(char* prefix)=0;
virtual char* LookupPrefix(char* namespaceName)=0;
};
}
}
#endif //_SYSTEM_XML_INTERFACES_