#pragma once


#include "nlite_string.h"
namespace nlite{

	//クラス先行宣言
	class CApplicationInfo;
	class CListenerList;
	struct Property;
	struct GeneralProperty;
	struct ListenerData;

	


	//アプリケーションプロパティ
	extern Property nliteProperty;						
	const static UINT_PTR COMMENTVIEW_HEADERITEMSIZE = 5;
	enum MESSAGE{
		UM_COMMENTVIEW_SETCTRL = WM_USER + 1,
		UM_CLICK_CHATNO,
		UM_CLICK_USERNAME,
		UM_UPDATEUI,
		UM_UNLOCK_LVNOBUFFER
	};

	

	///
	///設定ファイルのxml読み取り用クラス
	///
	class CXmlParser:public CExpatImpl<CXmlParser>{

	public:
		///
		///コンストラクタ
		///
		CXmlParser(){
			this->Create();
			return;
		}


		void OnPostCreate (){

			EnableStartElementHandler ();
			EnableEndElementHandler ();
			EnableCharacterDataHandler ();
		}

		virtual void OnStartElement (const XML_Char *pszName, const XML_Char **papszAttrs){}

		virtual void OnEndElement (const XML_Char *pszName){}

		virtual void OnCharacterData (const XML_Char *pszData, int nLength){}
	};

	

}