#if !defined(AFX_LTISAPI_H__1E73BC54_3D35_11D2_8019_00105A07EA32__INCLUDED_) #define AFX_LTISAPI_H__1E73BC54_3D35_11D2_8019_00105A07EA32__INCLUDED_ // LTISAPI.H - Header file for your Internet Server // LEADTOOLS ISAPI Extension #include "resource.h" class CLTISAPIExtension : public CHttpServer { public: CLTISAPIExtension(); ~CLTISAPIExtension(); // Overrides // ClassWizard generated virtual function overrides // NOTE - the ClassWizard will add and remove member functions here. // DO NOT EDIT what you see in these blocks of generated code ! //{{AFX_VIRTUAL(CLTISAPIExtension) public: virtual BOOL GetExtensionVersion(HSE_VERSION_INFO* pVer); //}}AFX_VIRTUAL // TODO: Add handlers for your commands here. // For example: void Default(CHttpServerContext* pCtxt); void MyText(CHttpServerContext* pCtxt, LPTSTR pszMyText); CString GetTodaysImage(void); void OutputJPEG(CHttpServerContext* pCtxt, CString& szFileName, CString& szMyText); DECLARE_PARSE_MAP() //{{AFX_MSG(CLTISAPIExtension) //}}AFX_MSG }; //Class used to write the binary data to the stream //NOTE: in VC 5.0 and later, you can use the CHttpServerContext operator << // for CByteArray instead class CBinaryHtmlStream : public CHtmlStream { public: // we have a special overload of << to allow for a single byte CBinaryHtmlStream& operator<<(BYTE b) { Write(&b, 1); return *this; } }; //{{AFX_INSERT_LOCATION}} // Microsoft Developer Studio will insert additional declarations immediately before the previous line. #endif // !defined(AFX_LTISAPI_H__1E73BC54_3D35_11D2_8019_00105A07EA32__INCLUDED)